Re: Sound problems (Moto KRZR K1)
Ben Hutchison <[email protected]>
| Newsgroups | gmane.comp.java.sun.kvm |
|---|---|
| Message-ID | <[email protected]> |
Hi Michael, In general, sound is a buggy part of J2ME, in my expereince. What you describe sounds rather typical. We have had problems with MIDI sounds not playing or crashing the handset on several phones from Motorola, Nokia and Samsung. Trying to play too many sounds in quick succession definitely leads to trouble. I suggest you ensure there's some pause after the last sound has finished before you try to play another. We abandoned keypress-triggered MIDI sound effects because of audio problems, and went with background music instead, which starts much less often. Even that doesnt work on some phones. -Ben Michael Flad wrote: >Hi all, > >how did you all implement sound on the Moto K1? > >All my non threaded MMAPI implementations seems to crash >my app quite fast. My current project plays sounds for >some keypressed events and it only takes 5-10 fast >keypresses. >But note that my player doesn't start or stop more than >one sound per frame - so it's not creating multiple >MMAPI players per frame. > >I tried my threaded implementation too - doesn't crash >anymore but after a few played sounds I can't start >another anymore - doesn't matter if I use the same player >or a new one with another soundfile. > >At the moment I only use Midi files. > >I appreciate any idea - I do not have any other of the >new Moto handsets but I guess that a group of the newer >ones might have the same problem? > >Thanks, >Michael > >=========================================================================== >To unsubscribe, send email to [email protected] and include in the body >of the message "signoff KVM-INTEREST". For general help, send email to >[email protected] and include in the body of the message "help". > > > > -- Ben Hutchison Lead Developer Playscape Games http://www.playscapegames.com =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff KVM-INTEREST". For general help, send email to [email protected] and include in the body of the message "help".