mirror of
https://github.com/seigler/dash-visualizer
synced 2025-07-27 01:36:10 +00:00
fix: background volume
This commit is contained in:
parent
67f2caa7ea
commit
fb6b431338
2 changed files with 1 additions and 1 deletions
2
app.js
2
app.js
|
@ -34,7 +34,7 @@
|
||||||
audioContext = new AudioContext();
|
audioContext = new AudioContext();
|
||||||
audioGainNode = audioContext.createGain();
|
audioGainNode = audioContext.createGain();
|
||||||
audioGainNode.connect(audioContext.destination);
|
audioGainNode.connect(audioContext.destination);
|
||||||
audioGainNode.gain.value = 0.3;
|
audioGainNode.gain.value = 0.6;
|
||||||
}
|
}
|
||||||
catch(e) {
|
catch(e) {
|
||||||
console.error('Unable to use Web Audio API');
|
console.error('Unable to use Web Audio API');
|
||||||
|
|
BIN
assets/creek.mp3
BIN
assets/creek.mp3
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue