jMusic is a programming library written for musicians. It is simple enough for newbie programmers but sophisticated enough to enable composers to accomplish real work, whatever form that may take. jMusic is designed to be used as a compositional medium, therefore it is primarily designed for musicians - not computer programmers. However, many people find jMusic useful for music software development, in particular for digital instrument making.
- Download jython + jMusic bundle
- Open (unzip) archive onto your desktop. You should now have a folder called jythonMusic.
- Open a terminal window
- Windows: Open an MSDOS shell via cmd command (Start / Run / cmd) shell.
- Mac OS X: Open a shell via the Terminal application.
- Within the shell, change directory (cd) to the jythonMusic directory (folder).
- At the command prompt, issue the command jython bing.py. After a lot of messages (ignore them), this should play a single note. It will also create a single file called bing.mid in the jythonMusic folder.
jMusic is installed.
jMusic has the following class hierarchy:
- A Note is defined in terms of pitch and duration.
- A Phrase contains zero or more Notes.
- A Part contains zero or more Phrases.
- A Score contains zero or more Parts