Help with conversion

Help with conversion SearchSearch
Author Message
Suvinay
New member
Username: Suvinay

Post Number: 29
Registered: 07-2004
Posted on Wednesday, October 20, 2004 - 11:28 am:   

Hi,
I know this doesn't relate directly to NowSMS product but could someone help me out
I have midi file which I am attaching herewith. Its arnd 8 secs in length.
audio/midimidi file
4796[1].mid (0.5 k)


Its imelody representation is:

BEGIN:IMELODY
VERSION:1.2
FORMAT:CLASS1.0
NAME:Rang Rasiya Re
COMPOSER:Unknown
BEAT:112
STYLE:S0
VOLUME:V15
MELODY:a4*5#c4#c3#c3#c3#c4e4d3#c3*4b3*5#c3*4a3b3*5#c2*4b4a4#g4#f4r3#f3#f3#g3a3a3V-b4V-*5#c4V-*4a4b4V-*5#c3V9*4b3V-a3V-#g3V5#f2V2#g4a4V-b3
END:IMELODY

If I convert this to EMS format I get
800C7E00424547494E3A494D454C4F44590D0A56455253494F4E3A312E320D0A464F524D41543A434C415353312E300D0A424541543A3131320D0A4D454C4F44593A2A32613423633423633323633323633323633465346433236333623323633361336233236332623461342367342366340D0A454E443A494D454C4F44590D0A

It plays fine on ericsson handsets but problem is that it does not contain the full song as in the original mid.
Why is this?
I used RTCREATOR 2.2 (ringtone creator) at www.ringtonecreator.info to do the conversion

Can anyone help?
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3586
Registered: 10-2002
Posted on Wednesday, October 20, 2004 - 05:41 pm:   

Hi Suvinay,

I suspect the tool is truncating it.

Most likely in the conversion from iMelody to EMS.

In fact, I just saved your iMelody file as a text file (.imy extension), and did a multimedia WAP Push of it and the MIDI file to my phone. (I'm not sure how many phones support iMelody files sent via WAP Push, but it works well on SonyEricsson phones.)

The MIDI and iMelody files both have the full song.

But the issue is that the iMelody file, even when you shorten it (SonyEricsson phones will allow you to only specify the MELODY header in an EMS) ... is longer than 140 bytes. So to fit into a single EMS, the melody needs to be truncated, and that is what you are seeing.

Unfortunately, EMS is far more difficult to segment into multiple messages when compared with Nokia Smart Messaging. (And once you get past the technical barrier, not all EMS clients support it.)

To send a long EMS, you need to use UPI (user prompt indicator) functionality. There is an example of this at the following thread ... although that example is using a picture instead of a melody:

http://support.nowsms.com/discus/messages/485/5259.html

I did a ringtone example in the following thread:

http://support.nowsms.com/discus/messages/1/2292.html