mirror of
https://github.com/NohamR/Pocket-Bird.git
synced 2026-07-10 10:23:05 +00:00
Reduce volume of chirp
This commit is contained in:
1 parent
e1759bc235
commit
e13a67e967
9 files changed
+15
-15
No files matched your search
+1
-1
@@ -17,7 +17,7 @@ export class Birdsong {
|
||||
3500 + Math.random() * 600,
|
||||
2100 + Math.random() * 200,
|
||||
1600 + Math.random() * 400];
|
||||
const VOLUMES = [0.0001, 0.3, 0.3, 0.0001];
|
||||
const VOLUMES = [0.0001, 0.2, 0.2, 0.0001];
|
||||
|
||||
const oscillator = this.audioContext.createOscillator();
|
||||
oscillator.type = "sine";
|
||||
|
||||
Reference in new issue
Block a user