You Are Here:

Community: Developer Discussion Boards

#1 Old How can I use MIDI file for Nokia UI API? - 2004-06-01, 20:50

Join Date: Dec 2003
Posts: 6
brighteyes
Offline
Registered User
Hi, I'd like to play sound on Nokia 3100 with Nokia UI API.

As I read on this board, I may need *.ott file to play, because, if I want to play sound with the API, I need byte array data.

like this:
----------------------------------------------------------------------------
DataInputStream dis = new DataInputStream(data.getClass().
getResourceAsStream("/harryporter.ott"));
int bytesRead = dis.read(data);
soundData = new byte[bytesRead];
----------------------------------------------------------------------------

Nevertheless, I couldn't find any OTT file at anywhere, and I don't know how to convert MIDI file to OTT file.

Is anybody who know how to use MIDI file for the API or how to make OTT file with any tool?

Please contact me.

P.S : If somebody know the company which provide game sound for Nokia phone, please contact me.
Reply With Quote

#2 Old 2004-06-09, 01:13

Join Date: Jun 2004
Posts: 5
broodley
Offline
Registered User
The Nokia Developers Suite for J2ME will convert a midi file to an OTT or to just to byte data. It just does a really crappy job at it. I've got a midi file where it plays back the wrong notes on the phone, and I read elsewhere that the OTT conversion strips out most of the data including note duration and some other elements.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d134434X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ