I'm not working on anything like this at the moment but I've had lots of ideas dealing with synchronizing backtracks to live performances, or to plain recordings to cues for an arduino program. I'm just trying to get an idea of how it could be done. Just using timing could result in lag after a while i was thinking that cues could be placed in an audio file and as it is played, those cues are communicated to the arduino.
Obviously the idea of putting in cues and reading it with the arduino is more complicated than just that. Particularly because it would not be a very good idea to have the arduino handing the actual playing of the track. So how could this be accomplished?
For it to be on the audio track you will need the cue to be either sub sonic or just ultra sonic while still being within the range of the recorder. You can always put a sharp notch filter in the audio line to take out any unwanted signal.
The other way to do it is through the use of a click track or some other type of ancillary data track embedded in the recording. This sort of thing is often used to synchronise DMX lighting to a performance.
Of course! I could just use the other stereo channel. Is there already an established way to communicate to the arduino through audio? Or is high/low possible in an analog recording?
Thanks
Normally it is tones, then you use a tone detector chip to see when you have one.