Music Macro Language

Posted by Vessarr on Sat 11 Oct 2014 10:16 PM — 8 posts, 28,541 views.

#0
I tryed searching for it and havent found any discusions on any forums about useing MML for a mud to send music data to a players client on a need to have basis. This would stop players from having to download wav files in order to have sound on a mud and they wouldent have to update ever as all the music and would be on the fly depending on what the mud sends them.

Im not sure how hard it would be to do this but it doesent seem like it would be impossable for mushclient to have a pluggin or the like to play MML data sent to it by a mud.
Australia Forum Administrator #1
I am not familiar with this, do you have a link to a description?
#2
Indeed iv got a couple!
I kinda just stumbled apon it by accident today and asked myself why no one had even talked about implimenting it for a mud so im not suprized you havent heard of it.


http://en.wikipedia.org/wiki/Music_Macro_Language
of corse provides basic examples and a history.


https://github.com/legospacy/lua-mml
A lua mml interperter that has a couple basic songs to look at. It seems to use an outside player SoX to actuly play each mml note.

It doesnt seem like it would be any more complicated then color coding to add into a mud.
#3
So apparantly 8-bit mush does offer support for this under the name ANSI music so I missed it in my searching. Seem like its only on there web client unfortionitly.
Australia Forum Administrator #4
From Wikipedia:

Quote:

Modern MML originally appeared in Microsoft BASIC and was common in the early 1970s and 1980s on 8-bit and 16-bit era Japanese personal computers.


This isn't exactly modern stuff, and you are the first person to ask about it. It isn't supported right now, although you could probably write a plugin to do it.
#5
I actuly ended up doing just that though its not mml really but its the same concept. It still needs work and testing and whatnot but early results have been good.
USA Global Moderator #6
You should definitely post your plugin (and server component?) to the forum. :)
#7
I plan on it as soon as iv got it finished and tested out. Im also planning on includding a pluggin updater so a server with its own pluggins can allow players to update them without having to go off mud.