Change sound timings

This commit is contained in:
Idrees Hassan
2026-01-04 17:39:38 -05:00
parent dd4184f642
commit 0cc06a8856
7 changed files with 12 additions and 12 deletions

BIN
dist/extension.zip vendored

Binary file not shown.

View File

@@ -871,9 +871,9 @@
this.audioContext = new AudioContext();
}
const TIMES = [0, 0.06, 0.10, 0.16];
const TIMES = [0, 0.06, 0.10, 0.15];
const FREQUENCIES = [2200,
3500 + Math.random() * 700,
3500 + Math.random() * 600,
2100 + Math.random() * 200,
1600 + Math.random() * 400];
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];

View File

@@ -876,9 +876,9 @@ module.exports = class PocketBird extends Plugin {
this.audioContext = new AudioContext();
}
const TIMES = [0, 0.06, 0.10, 0.16];
const TIMES = [0, 0.06, 0.10, 0.15];
const FREQUENCIES = [2200,
3500 + Math.random() * 700,
3500 + Math.random() * 600,
2100 + Math.random() * 200,
1600 + Math.random() * 400];
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];

View File

@@ -885,9 +885,9 @@
this.audioContext = new AudioContext();
}
const TIMES = [0, 0.06, 0.10, 0.16];
const TIMES = [0, 0.06, 0.10, 0.15];
const FREQUENCIES = [2200,
3500 + Math.random() * 700,
3500 + Math.random() * 600,
2100 + Math.random() * 200,
1600 + Math.random() * 400];
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];

View File

@@ -871,9 +871,9 @@
this.audioContext = new AudioContext();
}
const TIMES = [0, 0.06, 0.10, 0.16];
const TIMES = [0, 0.06, 0.10, 0.15];
const FREQUENCIES = [2200,
3500 + Math.random() * 700,
3500 + Math.random() * 600,
2100 + Math.random() * 200,
1600 + Math.random() * 400];
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];

4
dist/web/birb.js vendored
View File

@@ -871,9 +871,9 @@
this.audioContext = new AudioContext();
}
const TIMES = [0, 0.06, 0.10, 0.16];
const TIMES = [0, 0.06, 0.10, 0.15];
const FREQUENCIES = [2200,
3500 + Math.random() * 700,
3500 + Math.random() * 600,
2100 + Math.random() * 200,
1600 + Math.random() * 400];
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];

View File

@@ -12,9 +12,9 @@ export class Birdsong {
this.audioContext = new AudioContext();
}
const TIMES = [0, 0.06, 0.10, 0.16];
const TIMES = [0, 0.06, 0.10, 0.15];
const FREQUENCIES = [2200,
3500 + Math.random() * 700,
3500 + Math.random() * 600,
2100 + Math.random() * 200,
1600 + Math.random() * 400];
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];