publiclab / webjack

a JavaScript library that uses an audio software modem to communicate with an Arduino via a headphone jack
https://webjack.io
GNU General Public License v3.0
136 stars 26 forks source link

Page webjack.io/examples/Only one time work record and always not play #186

Open selevo opened 3 years ago

selevo commented 3 years ago

I tested pages https://webjack.io/examples/

in 4 brousers it not play sound in all and only once start record (start FFT) If page reload, then not start FFT But if click url https://webjack.io/examples/ then FFT started but send \play text always doesn't work

i tested https://webaudiodemos.appspot.com/AudioRecorder/index.html https://webaudiodemos.appspot.com/oscilloscope/index.html it play and record good but one time (after reload page it not work, only if reclick url for this pages )

this problem rosolved ,see google https://www.google.com/search?q=web+audio+one+time

https://stackoverflow.com/questions/32161832/web-audio-api-oscillator-node-error-cannot-call-start-more-than-once

Final solution: http://jsfiddle.net/xbqbz


i test page https://publiclab.github.io/webjack-firmata/example/ works right after normal page load and after page refresh