Ring Tone Text Transfer Language

Ring Tone Text Transfer Language (RTTTL), also known as Nokring, was made by Nokia to allow ringtones to be moved to their cellphones.
Specifications.
This is an RTTTL ringtone. This one is named Haunted House:
codice_1
RTTTL has three parts, which are all separated by one colon each. All of them must be there.
RTTTL is defined in a similar way to Music Macro Language, which many early microcomputers have in their BASIC implementations.
Durations.
These standard musical durations can be used:
Adding a period (".") character to the end of a note increases the length of the note by half, which can be used to make dotted rhythm patterns.
Pitch.
These pitches can be used:
Octaves.
RTTTL has 4 octaves, starting from the A below middle C and going up four octaves, because cellphones could not play some tones audibly at the time it was made. These octaves are numbered from lowest pitch to highest pitch from 4 to 7.
The octave should be left out of the note to prevent rests or pauses in the pattern.