Hi Ben,
thanks for your reply.
I've been in J2ME sound hell for years so I know what you're
talking
about and we already use multiple implementations like
SamsungAPI
VSCL
Nokia
MMAPI
MMAPI running in it's own thread
And within these versions there are differences like loading
one
or multiple files, prefetch or not, manual loop or use MMAPI
looping,
fixed volume/VolumeControl etc.
In the past I always got a reasonable working version after
some
time of tweaking and testing but this new Moto is driving
me
crazy - delays of almost half a second do help a little but
it's
not a real solution (i.e. the problem might only appear
after
playing for a few minutes).
What I usually do is - I try some Gameloft games on the
handset
and if there's a way to play sounds fast, they find it and
use
it - and they did it
Seems like there's just something about MMAPI I missed /
didn't
require in the past ...
Any other idea?
Michael
> -----Ursprüngliche Nachricht-----
> Von: A mailing list for KVM discussion
> [mailto:KVM-INTEREST JAVA.SUN.COM] Im Auftrag
von Ben Hutchison
> Gesendet: Montag, 3. September 2007 13:49
> An: KVM-INTEREST JAVA.SUN.COM
> Betreff: Re: Sound problems (Moto KRZR K1)
>
> 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 listserv java.sun.com and
> include in
> >the body of the message "signoff
KVM-INTEREST". For general
> help, send
> >email to listserv java.sun.com and include in
the body of
> the message
> >"help".
> >
> >
> >
> >
>
>
> --
> Ben Hutchison
>
> Lead Developer
> Playscape Games
> http://www.playscapegam
es.com
>
>
============================================================
==
> =============
> To unsubscribe, send email to listserv java.sun.com and
> include in the body of the message "signoff
KVM-INTEREST".
> For general help, send email to listserv java.sun.com and
> include in the body of the message "help".
>
============================================================
===============
To unsubscribe, send email to listserv java.sun.com and include in
the body
of the message "signoff KVM-INTEREST". For
general help, send email to
listserv java.sun.com and include in the body of the message
"help".
|