I'm almost done with a new game for the Nokia 7650, but I've been having trouble throughout development with my sound loading code. I've posted here a couple of times about it, but nobody decided to answer. I'm trying to load some OTT files I created with Nokia PC Composer, but I get NO sound at all in the Series 60 emulator... Could anyone share some code and/or advice please? This project is due within the next couple of days, so I'd appreciate any help I can get.
Here is small example how you can load files and create tones to be played from Java MIDP any tools capable of creating .ott files.
.ott is binary conversion of rtttl which is text description of sound file.
Here is one example for you where .ott file is loaded and played:
also playing note are introduced,
notice that .ott file is placed into classes folder in this case.
could be also other folder when making package, but the paths need to be right.
private final static String PATH = "/some_name.ott";
list = new List("Sound in MIDP", List.IMPLICIT);
list.append("Play Ott File", null);
list.append("Play Binary Array", null);