Hi everyone,
i've added sound support to my application, took me quiet a while to make it actually play midi files.
it works perfect on the 6230 emulator, but on a real 6230 only the first sound is being heard.
i've also tried using deallocate after the sound, and prefetch and close etc etc, nothing seems to help.
i use the following code:
try {
Player p;
InputStream is = getClass().getResourceAsStream("/mymidi.mid");
p = Manager.createPlayer(is,"audio/midi");
p.start();
} catch (IOException e) {
...
} catch (MediaException me) {
...
}
Thanks in advance!
NirM.

Reply With Quote

