Sound is not playing on Safari (solution)
markuso opened this issue · 1 comments
markuso commented
On desktop and mobile Safari (Mac OSX and iOS), the sounds never play and after debugging it was complaining about line 22 and 34 not having the correct parameter passed to them.
I was able to solve it by changing osc.start()
and osc.stop()
to their proper form osc.start(0)
and osc.stop(0)
– it looks like on Chrome they automatically assume 0
value, but not on Safari.
nickells commented
Hey, I came here to say the same thing. Had the same solution too. Nice job!