
[Release] Melody Messenger - Printable Version
-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Release] Melody Messenger (/showthread.php?tid=65078)
[Release] Melody Messenger by phalanxii on 08-18-2006 at 02:59 PM
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!
RE: [Release] Melody Messenger by RaceProUK on 08-18-2006 at 04:02 PM
Is it not possible to fire off a separate thread to play the tune?
RE: [Release] Melody Messenger by phalanxii on 08-19-2006 at 12:45 AM
quote: Originally posted by RaceProUK
Is it not possible to fire off a separate thread to play the tune?
Probably, but I don't know how to do this.
RE: [Release] Melody Messenger by Jordi87 on 08-19-2006 at 09:24 AM
It's funny. I was working on the same thing for my script (The Beeper) . I will try to keep compatibility with your script's tunes .
Greetings,
Jordi
RE: [Release] Melody Messenger by phalanxii on 08-19-2006 at 10:02 AM
quote: Originally posted by Jordi87
It's funny. I was working on the same thing for my script (The Beeper) . I will try to keep compatibility with your script's tunes .
Greetings,
Jordi
Hmmm... if you want, you can integrate Melody Messenger into your Beeper and give people custom beeps! I probably won't be working on this anymore, so I don't mind what happens with it.
|