mirror of
https://github.com/NohamR/Pocket-Bird.git
synced 2026-07-10 10:23:05 +00:00
Change sound timings
This commit is contained in:
1 parent
dd4184f642
commit
0cc06a8856
7 files changed
+12
-12
No files matched your search
Vendored
BIN
Binary file not shown.
Vendored
+2
-2
@@ -871,9 +871,9 @@
|
|||||||
this.audioContext = new AudioContext();
|
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,
|
const FREQUENCIES = [2200,
|
||||||
3500 + Math.random() * 700,
|
3500 + Math.random() * 600,
|
||||||
2100 + Math.random() * 200,
|
2100 + Math.random() * 200,
|
||||||
1600 + Math.random() * 400];
|
1600 + Math.random() * 400];
|
||||||
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];
|
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];
|
||||||
|
|||||||
Vendored
+2
-2
@@ -876,9 +876,9 @@ module.exports = class PocketBird extends Plugin {
|
|||||||
this.audioContext = new AudioContext();
|
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,
|
const FREQUENCIES = [2200,
|
||||||
3500 + Math.random() * 700,
|
3500 + Math.random() * 600,
|
||||||
2100 + Math.random() * 200,
|
2100 + Math.random() * 200,
|
||||||
1600 + Math.random() * 400];
|
1600 + Math.random() * 400];
|
||||||
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];
|
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];
|
||||||
|
|||||||
Vendored
+2
-2
@@ -885,9 +885,9 @@
|
|||||||
this.audioContext = new AudioContext();
|
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,
|
const FREQUENCIES = [2200,
|
||||||
3500 + Math.random() * 700,
|
3500 + Math.random() * 600,
|
||||||
2100 + Math.random() * 200,
|
2100 + Math.random() * 200,
|
||||||
1600 + Math.random() * 400];
|
1600 + Math.random() * 400];
|
||||||
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];
|
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];
|
||||||
|
|||||||
Vendored
+2
-2
@@ -871,9 +871,9 @@
|
|||||||
this.audioContext = new AudioContext();
|
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,
|
const FREQUENCIES = [2200,
|
||||||
3500 + Math.random() * 700,
|
3500 + Math.random() * 600,
|
||||||
2100 + Math.random() * 200,
|
2100 + Math.random() * 200,
|
||||||
1600 + Math.random() * 400];
|
1600 + Math.random() * 400];
|
||||||
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];
|
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];
|
||||||
|
|||||||
Vendored
+2
-2
@@ -871,9 +871,9 @@
|
|||||||
this.audioContext = new AudioContext();
|
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,
|
const FREQUENCIES = [2200,
|
||||||
3500 + Math.random() * 700,
|
3500 + Math.random() * 600,
|
||||||
2100 + Math.random() * 200,
|
2100 + Math.random() * 200,
|
||||||
1600 + Math.random() * 400];
|
1600 + Math.random() * 400];
|
||||||
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];
|
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];
|
||||||
|
|||||||
+2
-2
@@ -12,9 +12,9 @@ export class Birdsong {
|
|||||||
this.audioContext = new AudioContext();
|
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,
|
const FREQUENCIES = [2200,
|
||||||
3500 + Math.random() * 700,
|
3500 + Math.random() * 600,
|
||||||
2100 + Math.random() * 200,
|
2100 + Math.random() * 200,
|
||||||
1600 + Math.random() * 400];
|
1600 + Math.random() * 400];
|
||||||
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];
|
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];
|
||||||
|
|||||||
Reference in new issue
Block a user