Playing different sounds for diff keys
Hi,
I am working on an app where I need to play different sound effects for different key strokes. So, I need some ideas how to implement this.
1. do i have to create different sound files for every key stroke ?
2. can i create one file with markers (like m4a, etc) ? but how i can play this file on iphone ? AVAudioPlayer lets me start playing at position, but it doesnt' let me stop after certain duration.
how is it implemented in games where they have to play so many sound effects ? one sound file for each effect ?
thx
|