diff --git a/dist/extension.zip b/dist/extension.zip index 34c527e..5dd0d46 100644 Binary files a/dist/extension.zip and b/dist/extension.zip differ diff --git a/dist/extension/birb.js b/dist/extension/birb.js index 2286db9..e2d47af 100644 --- a/dist/extension/birb.js +++ b/dist/extension/birb.js @@ -871,11 +871,12 @@ this.audioContext = new AudioContext(); } - const TIMES = [0, 0.06, 0.16]; + const TIMES = [0, 0.06, 0.10, 0.16]; const FREQUENCIES = [2200, 3500 + Math.random() * 700, + 2100 + Math.random() * 200, 1600 + Math.random() * 400]; - const VOLUMES = [0.0001, 0.3, 0.0001]; + const VOLUMES = [0.0001, 0.3, 0.3, 0.0001]; const oscillator = this.audioContext.createOscillator(); oscillator.type = "sine"; diff --git a/dist/obsidian/main.js b/dist/obsidian/main.js index 981ab11..8707cc3 100644 --- a/dist/obsidian/main.js +++ b/dist/obsidian/main.js @@ -876,11 +876,12 @@ module.exports = class PocketBird extends Plugin { this.audioContext = new AudioContext(); } - const TIMES = [0, 0.06, 0.16]; + const TIMES = [0, 0.06, 0.10, 0.16]; const FREQUENCIES = [2200, 3500 + Math.random() * 700, + 2100 + Math.random() * 200, 1600 + Math.random() * 400]; - const VOLUMES = [0.0001, 0.3, 0.0001]; + const VOLUMES = [0.0001, 0.3, 0.3, 0.0001]; const oscillator = this.audioContext.createOscillator(); oscillator.type = "sine"; diff --git a/dist/userscript/birb.user.js b/dist/userscript/birb.user.js index e4bf5d7..4eed930 100644 --- a/dist/userscript/birb.user.js +++ b/dist/userscript/birb.user.js @@ -885,11 +885,12 @@ this.audioContext = new AudioContext(); } - const TIMES = [0, 0.06, 0.16]; + const TIMES = [0, 0.06, 0.10, 0.16]; const FREQUENCIES = [2200, 3500 + Math.random() * 700, + 2100 + Math.random() * 200, 1600 + Math.random() * 400]; - const VOLUMES = [0.0001, 0.3, 0.0001]; + const VOLUMES = [0.0001, 0.3, 0.3, 0.0001]; const oscillator = this.audioContext.createOscillator(); oscillator.type = "sine"; diff --git a/dist/web/birb.embed.js b/dist/web/birb.embed.js index f068ab6..302a793 100644 --- a/dist/web/birb.embed.js +++ b/dist/web/birb.embed.js @@ -871,11 +871,12 @@ this.audioContext = new AudioContext(); } - const TIMES = [0, 0.06, 0.16]; + const TIMES = [0, 0.06, 0.10, 0.16]; const FREQUENCIES = [2200, 3500 + Math.random() * 700, + 2100 + Math.random() * 200, 1600 + Math.random() * 400]; - const VOLUMES = [0.0001, 0.3, 0.0001]; + const VOLUMES = [0.0001, 0.3, 0.3, 0.0001]; const oscillator = this.audioContext.createOscillator(); oscillator.type = "sine"; diff --git a/dist/web/birb.js b/dist/web/birb.js index f068ab6..302a793 100644 --- a/dist/web/birb.js +++ b/dist/web/birb.js @@ -871,11 +871,12 @@ this.audioContext = new AudioContext(); } - const TIMES = [0, 0.06, 0.16]; + const TIMES = [0, 0.06, 0.10, 0.16]; const FREQUENCIES = [2200, 3500 + Math.random() * 700, + 2100 + Math.random() * 200, 1600 + Math.random() * 400]; - const VOLUMES = [0.0001, 0.3, 0.0001]; + const VOLUMES = [0.0001, 0.3, 0.3, 0.0001]; const oscillator = this.audioContext.createOscillator(); oscillator.type = "sine"; diff --git a/src/sound.js b/src/sound.js index 834043b..9a21670 100644 --- a/src/sound.js +++ b/src/sound.js @@ -12,11 +12,12 @@ export class Birdsong { this.audioContext = new AudioContext(); } - const TIMES = [0, 0.06, 0.16]; + const TIMES = [0, 0.06, 0.10, 0.16]; const FREQUENCIES = [2200, 3500 + Math.random() * 700, + 2100 + Math.random() * 200, 1600 + Math.random() * 400]; - const VOLUMES = [0.0001, 0.3, 0.0001]; + const VOLUMES = [0.0001, 0.3, 0.3, 0.0001]; const oscillator = this.audioContext.createOscillator(); oscillator.type = "sine";