What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Release] Melody Messenger

[Release] Melody Messenger
Author: Message:
phalanxii
Full Member
***


Posts: 146
Reputation: 5
32 / Male / Flag
Joined: Aug 2006
Status: Away
O.P. [Release] Melody Messenger
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! :D

.plsc File Attachment: Melody Messenger.plsc (2.41 KB)
This file has been downloaded 179 time(s).
08-18-2006 02:59 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Release] Melody Messenger - by phalanxii on 08-18-2006 at 02:59 PM
RE: [Release] Melody Messenger - by RaceProUK on 08-18-2006 at 04:02 PM
RE: [Release] Melody Messenger - by phalanxii on 08-19-2006 at 12:45 AM
RE: [Release] Melody Messenger - by Jordi87 on 08-19-2006 at 09:24 AM
RE: [Release] Melody Messenger - by phalanxii on 08-19-2006 at 10:02 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On