Jump to content

Ring Tone Text Transfer Language

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by GregorB (talk | contribs) at 00:36, 18 February 2007 (Category:Musical notation). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

RTTTL stands for Ring Tone Text Transfer Language. It was developed by Nokia to be used to transfer cellphone ringtones.

The RTTTL format is a string divided into three sections: name, default value, and data.

The name section consists of a string describing the name of the ringtone. This can be no longer than 10 characters, and cannot contain a ":" character.

The default value section is a set of values separated by commas, where each value contains a key and a value separated by an = character, which describes certain defaults which should be adhered to during the execution of the ringtone. Possible names are

The data section consists of a set of character strings separated by commas, where each string contains a duration, pitch, octave and optional dotting (which increases the duration of the note by one half).

Durations

Standard musical durations are denoted by the following notations:

Dotted rhythmic patterns can be formed by appending a period (".") character to the end of a duration/beat/octave element.

Pitch

  • P - Rest or pause
  • A - A
  • A# - A# / Bb
  • B - B / Cb
  • C - C
  • C# - C# / Db
  • D - D
  • D# - D# / Eb
  • E - E / Fb
  • F - F / E#
  • F# - F# / Gb
  • G - G
  • G# - G# / Ab

Octave

The RTTTL format allows octaves starting from the A below middle C and going up four octaves. This corresponds with the inability of cellphones to reproduce certain tones audibly. These octaves are numbered from lowest pitch to highest pitch from 5 to 8.

The octave should be left out of the notation in the case of a rest or pause in the pattern.

Example

An example of the RTTTL format would be

fifth:d=4,o=5,b=63:8P,8G5,8G5,8G5,2D#5