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
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: [Release] Melody Messenger
Is it not possible to fire off a separate thread to play the tune?
[Image: spartaafk.png]
08-18-2006 04:02 PM
Profile PM Web Find Quote Report
phalanxii
Full Member
***


Posts: 146
Reputation: 5
32 / Male / Flag
Joined: Aug 2006
Status: Away
O.P. RE: [Release] Melody Messenger
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. *-)
08-19-2006 12:45 AM
Profile PM Find Quote Report
Jordi87
Junior Member
**


Posts: 15
Joined: Aug 2006
RE: [Release] Melody Messenger
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
08-19-2006 09:24 AM
Profile E-Mail PM Find Quote Report
phalanxii
Full Member
***


Posts: 146
Reputation: 5
32 / Male / Flag
Joined: Aug 2006
Status: Away
O.P. RE: [Release] Melody Messenger
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! :D I probably won't be working on this anymore, so I don't mind what happens with it.
08-19-2006 10:02 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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