2 ; Ringing Tones text transfer language (RTTTL)
\r
4 ; Version 1.0 / 29-July-1998
\r
5 ; - First version by John Mostelo
\r
7 ; http://members.tripod.com/~ringtones/note_syntax.txt
\r
10 <ringing-tones-text-transfer-language> :=
\r
11 <name> <sep> [<defaults>] <sep> <note-command>+
\r
13 <name> := <char>+ ; maximum name length 10 characters
\r
18 <def-note-duration> |
\r
22 <def-note-duration> := "d=" <duration>
\r
24 <def-note-scale> := "o=" <scale>
\r
26 <def-beats> := "b=" <beats-per-minute>
\r
28 <beats-per-minute> := 25,28,...,900 ; decimal value
\r
30 ; If not specified, defaults are
\r
34 ; 63 = beats-per-minute
\r
38 [<duration>] <note> [<scale>] [<special-duration>] <delimiter>
\r
42 "1" | ; Full 1/1 note
\r
65 "5" | ; Note A is 440Hz
\r
66 "6" | ; Note A is 880Hz
\r
67 "7" | ; Note A is 1.76 kHz
\r
68 "8" ; Note A is 3.52 kHz
\r
70 <special-duration> :=
\r
75 ; End of specification
\r