publiclab / webjack

a JavaScript library that uses an audio software modem to communicate with an Arduino via a headphone jack

Home Page:https://webjack.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

selevo opened this issue · comments

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