+ 1
Why is there no sound after playing 10 keys?
https://code.sololearn.com/WOSO2PsirtSL/?ref=app can someone please enlighten me why after playing of 10 piano keys there is no more sound?
2 Respostas
+ 1
i cant reproduce your problem. but the main thing that i notice is its incosistent sometimes the audio play, sometimes it doesnt.
it seems recreating the audio context for each call is the main problem. i tried to make the context global and only initialize it once, and it fixed.
+ 1
thank you! that did the trick :)