I've got an app in development where you press a button to play a sound using System beep.
Instead of recording the output, I was thinking of recording the timing of when the buttons were pressed, so when the user presses a 'Play' button, the buttons are pressed in the same timing the user has pressed them, so it acts like the iPhone has recorded the sounds, but it's just playing them in sequence. I'd like this to occur once the user has pressed a Record button.
Example:
- User presses record
- Timing starts
- > records timing of each button pressed and when
- Timing stops after a button has been pressed
- PLay button plays back the sequence of events
Can anybody give any ideas on coding, documents to read etc.
Thanks a lot!