Hi, this project is really awesome! And it may be the best DSP and sound wave library written in JS!
When I try to transmit data over sound just like what the doc says, I notice that the handshake process requires the receiver to listen to silence for a while. I guess we may make the handshake process simpler, just like the TCP or HTTP handshake:
Server side:
while(true){
1. Always listen for a special sync freq or sound wave,
2. If it receives, do something, for example, sent the HTML file
}
1. Send the special sync freq
2. Wait for the server data.
I notice that there is an audio chat example, will that help to implement handshake?
I'm really new to DSP and don't know whether this request is suitable. We will really appreciate that if you give us some suggestion.
Thank you.