Melody Messenger
This script will allow you to play small tunes in Windows Live Messenger using your computer's internal beeper.
WARNING: WHEN YOUR COMPUTER BEEPS, IT TEMPORARILY FREEZES YOUR COMPUTER. I WILL NOT BE HELD RESPONSIBLE IF YOU COMPOSE A REALLY LONG TUNE AND HAVE TO SIT IT OUT. USE AT YOUR OWN RISK!
If you can't be bothered sitting it out, you can use "Control + Alt + Delete" to completely shutdown the Messenger process.
Melody Messenger relies on some form of musical knowledge. It works using scientific notation (where A4 = 440.0Hz and C4 = middle C) and standard straight rhythm, tuned with equal temperament. The tempo is currently set at 120 crotchet beats per minute (2 every second).
Usage:
Outside, your tune should be enclosed by two
tags:
code:
[beep] ... [/beep]
Inside your
tags, your notes should be separated by
vertical bars:
code:
[beep] ... | ... | ... [/beep]
Inside your
vertical bars, your
note pitch and
note length should be separated by
commas:
code:
[beep]e4,4|g4,4|c5,2[/beep]
To make things clearer:
- Note pitch is defined by the letter name (A, B, C, D, E, F or G) and the octave (integer > 0). A hash ("#") and a lower-case B ("b") can be used directly after the letter name for a sharp and flat respectively.
- Note length is defined by standard rhythmic divisions with crotchet beats: breve (0.5), semibreve (1), minim (2), crotchet (4), quaver (8), triplet (3), etc.
Here is an example melody of "Mary had a Little Lamb" (~8 seconds):
code:
[beep]e4,8|d4,8|c4,8|d4,8|e4,8|e4,8|e4,4|d4,8|d4,8|d4,4|e4,8|g4,8|g4,4|
e4,8|d4,8|c4,8|d4,8|e4,8|e4,8|e4,4|d4,8|d4,8|e4,8|d4,8|c4,4|c5,4[/beep]
You will need to copy both lines and paste them as one continuous line.
Your melodies can be typed in a conversation (they will not be sent to the other user(s) for now) or in the sandbox (Plus! > Preferences > Melody Messenger > Sandbox).
This script is not particularly useful, but is more of a fun script. Feel free to use my code in your own script to make some music!