Extension:Myriad

Myriad Music plug-in lets you view, play, print, zoom, transpose tunes created with Harmony Assistant and Melody Assistant.

I've created this extension to add musical scores on my wiki.

I know there are some people working on Lilypond for Wikipedia. But Myriad music plug-in works differently.

Consider it works like Macromedia Flash : you have a file, need an external program, need a special tag to embed.
 * 1) You create your score with Harmony Assistant. Extension is .myr, .mus or .mu3. You can also use directly a MusicXML file with the plug-in.
 * 2) Upload myr... or xml it like an image.
 * 3) Myriad extension writes the object / embed to display the score.

Tag : filename.myr|options http://site/file.myr http://site/musicxmltune.xml The filename.myr is an uploaded one, or a link to an external file, on another website.

Contribution : Iubito 20:54, 21 May 2005 (UTC)

What is Harmony Assistant ?
Harmony Assistant is a commercial software for computer-assisted music composition and editing, with powerful harmonizing capabilities.

For me, its most unbeatable feature is the quality of the sound, instead of MIDI, Harmony Assistant uses a digital sound bank.

The one packaged in the downloadable plug-in is very tiny and lowest quality : about 600 KB. The biggest and best one, is sold on CD-Rom and called "Gold". A medium quality 6MB sound bank is downloadable at http://www.myriad-online.com/en/resources/extbase.htm

Harmony Assistant imports MusicXML. Melody Assistant is a shareware, with less features.

Requisits
Requires : Platforms : Browsers : mostly all
 * Myriad Music plug-in installed on users' computers.
 * Windows 95 to XP
 * Mac OS8 to OSX
 * seems to work on Linux through Wine (tested by some users)
 * IE 4+
 * Netscape 4+
 * Mozilla
 * Opera
 * K-Meleon
 * ICab
 * Safari
 * Camino

Install instructions

 * 1) Include it at the end of your LocalSettings.php : include("extensions/myriad.php");
 * 2) add .myr, .mus and .mu3 in the extension list : $wgFileExtensions = array('png','gif',...,'myr','mus','mu3');
 * 3) Using MusicXML files with .xml extension works, but allowing them in upload may cause some security problem.

If you want to translate the 2 messages in your language, go to http://yoursite/wiki/index.php?title=MediaWiki:myriadbeforeplugin and ...?title=MediaWiki:myriadafterplugin. You can also change the default values for height and width in MediaWiki namespace or in the myriad.php file.

Sample
For a complete list of parameters between tags, see the Myriad Music Plug-In Web Designer manual examples : file.myr|width=210|height=300|autoplay=on

http://www.anothersite.com/accordion.myr Produces : This screen capture show a score in the plug-in, with one of the sentences I've translated in French in the Mediawiki namespace.

For a simple melody, or a 2-3 staves scores (piano, organ) you can zoom. The best parameter, for a 800x600 screen is : file.myr|width=550|height=400|zoomvalue=220 which produces :


 * Trgnala Rumjana.myr
 * Shalom Aleichem.myr

PHP code (copy from here!)
Copy/paste into your editor, save it to extentions/myriad.php, and then upload it to your site.