Less annoying sounds
This commit is contained in:
1 parent
cb93c61774
commit
e023b2ed7c
1 file changed
+1
-1
@@ -6,7 +6,7 @@ gain.connect(audio.destination);
|
|||||||
|
|
||||||
export function createOsc() {
|
export function createOsc() {
|
||||||
const osc = audio.createOscillator();
|
const osc = audio.createOscillator();
|
||||||
osc.type = 'square';
|
osc.type = 'triangle';
|
||||||
osc.connect(gain);
|
osc.connect(gain);
|
||||||
return osc;
|
return osc;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user