OBEX Formats
206
eMelody Object
.
6.2 eMelody Format
Description:
This is a definition of the eMelody object. This object is used when a user-defined
melody is exchanged
Syntax:
<emelody-object>
“BEGIN:EMELODY”<CR><LF>
“NAME:”<name><CR><LF>
“COMPOSER:” <composer><CR><LF>
“VERSION:” <version><CR><LF>
“MELODY:”<melody><CR><LF>
“END:EMELODY”
File extension:
emy
Example filename
mymelody.emy
Parameters:
<version>:
“1.0”
<name>:
Alphanumeric string
<composer>:
Alphanumeric string
<melody>:
{<pause>|<tone>}
<pause>:
“p”
<tone>:
{[<octave_prefix>]<basic_tone>}
<basic_short_tone>:
“c”|”d”|”e”|”f”|”g”|”a”|”b”
<ess_short_tone>:
“(b)d”|”(b)e”|”(b)g”|”(b)a”|”(b)b”
<iss_short_tone>:
“#d”|”#e”|”#g”|”#a”|”#b”
<basic_long_tone>:
“C”|”D”|”E”|”F”|”G”|”A”|”B”
<ess_long_tone>:
“(b)D”|”(b)E”|”(b)G”|”(b)A”|”(bB”
<iss_long_tone>:
“#D”|”#E”|”#G”|”#A”|”#B”
<basic_tone>:
<basic_short_tone>|<ess_short_tone>|<iss_short_tone>|<basic_long_tone>
|<ess_long_tone>|<iss_long_tone>
<octave_high_prefix>:
“+”
Maximum number of
tones:
40
Maximum numbers of
characters in melody:
120
Example:
BEGIN:EMELODY
VERSION:1.0
NAME:Test melody 1
COMPOSER:John Smith
MELODY:
+f+a+fa(b)bdcC+GA+d+#c+dfg+daea+d+#c+e+f+e+fa(b)bdC+EA+
d+#c+dfgba+d+#C
END:EMELODY