[android-developers] Re: Sound engine performance

2009-10-05 Thread niko20
Honestly, the only way to get 100% accuracy is to mix the sounds internally yourself. This is what Electrum Drum machine does. It then feeds the sound to the AudioTrack class. However, due to the CPU needed, it limits how many sounds you can mix at once of course. -niko On Oct 5, 1:32 pm, Robert

[android-developers] Re: Sound engine performance

2009-10-05 Thread Robert Green
Set a sound trigger schedule in milliseconds. There are many ways to model it. Use whatever you're most comfortable with. The key elements are "what sound to trigger" and "when to trigger it." I wouldn't use absolute time. I'd make it relative to something so that you can pause and resume and