Notices


Reply
Thread Tools
Posts: 306 | Thanked: 603 times | Joined on Jan 2012 @ Belgium
#391
Does anybody know of a working API to play and mix multiple sounds?

QSound does not work, and Phonon audio playback with MediaObject and AudioOutput does not allow me to play multiple samples concurrently. Rather than mixing two sounds, the latter stops the former's playback. On MeeGo this API does not seem to work at all.

FWIW I added minimal audio playback in my latest build (wav and mp3 seem to be supported on my device).

http://davy.preuveneers.be/phoneme/public/maemo/deb/

There is now a test midlet called PlayWav.jar in /opt/phoneme which seems to work on the N900. Perhaps your game is now able to make some noise too.

Davy
 

The Following User Says Thank You to DavyP For This Useful Post:
santiago's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#392
Originally Posted by DavyP View Post
Does anybody know of a working API to play and mix multiple sounds?

QSound does not work, and Phonon audio playback with MediaObject and AudioOutput does not allow me to play multiple samples concurrently. Rather than mixing two sounds, the latter stops the former's playback. On MeeGo this API does not seem to work at all.

FWIW I added minimal audio playback in my latest build (wav and mp3 seem to be supported on my device).

http://davy.preuveneers.be/phoneme/public/maemo/deb/

There is now a test midlet called PlayWav.jar in /opt/phoneme which seems to work on the N900. Perhaps your game is now able to make some noise too.

Davy
in N900 it works now i'll try midi files with some javame games

midi files don't work
kar files don't work

mp3 worked
ogg worked
wav worked

but some apps still crashed

is it normal that Run Midlet doesnt open Jad file? It searches for a jar but it doesnt download it.. Normally it has to download the jarfile.

One question.. The error.txt and the output.txt file, can help you to fix some things? Or is just to understand that CVM cannot run the midlet and then the error is in the log but just to know the for the moment is impossible to open some java classes?

Last edited by santiago; 2012-03-08 at 02:04.
 
Posts: 306 | Thanked: 603 times | Joined on Jan 2012 @ Belgium
#393
Originally Posted by santiago View Post
in N900 it works now i'll try midi files with some javame games

midi files don't work
kar files don't work

mp3 worked
ogg worked
wav worked

but some apps still crashed

is it normal that Run Midlet doesnt open Jad file? It searches for a jar but it doesnt download it.. Normally it has to download the jarfile.

One question.. The error.txt and the output.txt file, can help you to fix some things? Or is just to understand that CVM cannot run the midlet and then the error is in the log but just to know the for the moment is impossible to open some java classes?
Yes, I am aware several audio types don't work. If Phonon cannot
handle them, neither can I.

The "Run MIDlet" is a fairly simple app. It assumes the jar file
is already downloaded and located at the same place, with
a file name similar to the jad file except for the file extension which
should be jar. I agree it should look at the descriptor and if it has
a http url download the jar if necessary.

The game might crash because some APIs are currently not yet
avaliable, or there might be a bug in my code. I do somethimes
get segfaults when I close a midlet, but there might be other
problems too. Feel free to post the output of the log files.

Davy
 
HtheB's Avatar
Moderator | Posts: 3,718 | Thanked: 7,420 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#394
Too bad it doesn't run eBuddy
It just stays on the "starting eBuddy" screen.

Is there anything that we can do to bypass this problem?
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#395
I have installed latest PhoneME package without any previous installation.

Launch Opera Mini from the applications menu without being connected to Internet and a message of error (no connection) is shown during the installation of Opera Mini. After that, if a connect to Internet and launch Opera Mini, it gets stopped in the installing process with no signs of progress.

Then I activated log traces in the configuration utility and it finally worked though it took some time to start the application.
 
Posts: 306 | Thanked: 603 times | Joined on Jan 2012 @ Belgium
#396
Originally Posted by HtheB View Post
Too bad it doesn't run eBuddy
It just stays on the "starting eBuddy" screen.

Is there anything that we can do to bypass this problem?
I mentioned this before, but eBuddy needs support for JSR 234
as it at relies on the following missing class:

javax.microedition.amms.control.ImageFormatControl

Davy
 

The Following User Says Thank You to DavyP For This Useful Post:
Posts: 306 | Thanked: 603 times | Joined on Jan 2012 @ Belgium
#397
Originally Posted by ivgalvez View Post
I have installed latest PhoneME package without any previous installation.

Launch Opera Mini from the applications menu without being connected to Internet and a message of error (no connection) is shown during the installation of Opera Mini. After that, if a connect to Internet and launch Opera Mini, it gets stopped in the installing process with no signs of progress.

Then I activated log traces in the configuration utility and it finally worked though it took some time to start the application.
During installation, Opera Mini actually downloads some data
before completing this installation. If this fails or if the connection
is unstable, you might experience some issues.

Davy
 

The Following User Says Thank You to DavyP For This Useful Post:
Posts: 268 | Thanked: 75 times | Joined on Jan 2011
#398
Originally Posted by DavyP View Post
Does anybody know of a working API to play and mix multiple sounds?

QSound does not work, and Phonon audio playback with MediaObject and AudioOutput does not allow me to play multiple samples concurrently. Rather than mixing two sounds, the latter stops the former's playback. On MeeGo this API does not seem to work at all.

FWIW I added minimal audio playback in my latest build (wav and mp3 seem to be supported on my device).

http://davy.preuveneers.be/phoneme/public/maemo/deb/

There is now a test midlet called PlayWav.jar in /opt/phoneme which seems to work on the N900. Perhaps your game is now able to make some noise too.

Davy
Now my game doesn't even start anymore
 
Posts: 32 | Thanked: 11 times | Joined on Oct 2011
#399
Not sure if anyone has noticed:

http://m.google.com/maps/download/bi...maps_m2_ts.jar
works well with phoneme

you can show e.g. google's traffic layer, for which I did not know a convenient way on the n9 before.
one also needs http://www.google.com/url?sa=D&q=htt...GL1-Ix4FPajHnw
I guess, and match the filename in the .jad
 

The Following 2 Users Say Thank You to christianko For This Useful Post:
Posts: 306 | Thanked: 603 times | Joined on Jan 2012 @ Belgium
#400
Originally Posted by Brian_7 View Post
Now my game doesn't even start anymore
Yes, I can confirm. I get a segfault too while trying to play a midi file.

Davy
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:58.