Hi
I need to play sounds with a big precision (#10 ms) with managing delay and frequency in real time.
I use Nokia UI API like
public void run() {
sound.init(440, 500);
sound.play(1);
sound.setSoundListener(this);
}
public synchronized void soundStateChanged(Sound _sound, int _event) {
if (_sound.getState() == Sound.SOUND_STOPPED && (monCanvas.actif == true) ) {
sound.init(440, 500);
sound.play(1);
}
}
I don't have a good precision. Sounds are not playing all 500 ms but too slowly.
How can i play sounds with the good precision ?
Thank you
Christophe

Reply With Quote

