Android Game Sounds

Posted: July 3, 2009 in Android, Java, Mobile
Tags: , , , ,

Remember in 2007 Sonivox donated some game sound technology to OHA and Android? Some examples of JetCreator and JetCreator to create the MIDI sequences for game music are in the Git repo, the sub-folder is:


You need Python Version 2.5.4 and wxPython Version installed or versions higher than that. To run the samples copy that sub-folder to your Home/opt directory and cd to JetCreator directory to run I do not know any Linux tools that create the JET asset archives files other than The JetCreator manual is here. You wil not be able to play back soudn sin JetCreator in Liux but have to use the emulator. The code to use the JetPlaer class looks like this from the media instructions:

<pre>JetPlayer myJet = JetPlayer.getJetPlayer();
byte segmentId = 0;

// queue segment 5, repeat once, use General MIDI, transpose by -1 octave
myJet.queueJetSegment(5, -1, 1, -1, 0, segmentId++);
// queue segment 2
myJet.queueJetSegment(2, -1, 0, 0, 0, segmentId++);;</pre>

The JetBoy example is in the reop sub-folder of:


You can access JET files form two locations. Ones, as a raw resource in your APK file so in other words it would be in your assets project sub-folder. Second, as a JET file in on the SDCard. You will want to look at the jetBoy sample code as there is  some beginning code to adjust animation ot speed of the JET MIDI music playing per FPS.Iam referrrign you to the reop rather than the SDK as ther obviously will be changes as they ready Android SDK 2.0.

Obviously, we than can apply this to non-game such as playing sounds in the HomeScreen application.

Reblog this post [with Zemanta]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s