- JMusic
jMusic is an open source music programming library written in the Java programming language. Written by Andrew Sorensen and Andrew Brown, jMusic was released publicly in November 1998.
It is designed to assist composers and music software developers by providing support for music data structures, modifications, and input/output to various file formats. It can display notes as sheet music (see
music notation ).jMusic has a
data structure that is based on amusical score metaphor, and consists of a hierarchy of notes, phrases, parts and score. jMusic also has a sound synthesis architecture and "instruments" can be created from a chain of "audio objects" (similar to unit generators in other languages). A jMusic score can be rendered with jMusic instruments to an audio file.Code Sample
Note n = new Note(C4, CROTCHET); // Middle C (quarter note) Note n2 = new Note(D4, CROTCHET); Phrase p = new Phrase(); p.addNote(n); // Add C p.addNote(n2); // Add D
External links
* [http://jmusic.ci.qut.edu.au jMusic home page]
* [http://sourceforge.net/projects/jmusic/ jMusic at SourceForge]
* [http://jmusic.ci.qut.edu.au/jmtutorial/t1.html jMusic tutorials and lessons]
Wikimedia Foundation. 2010.