This describes how to set up your computer (PC, Mac, Linux) to work with jMusic.
- Follow the jMusic simple installation instructions.
- Open BlueJ, go to Preferences --> Libraries --> Add, and add jmusic.jar to the list of libraries known to BlueJ. (If you are using a different IDE, make the jmusic.jar library available for compilation and execution.)
- Test your installation by compiling and executing these programs:
- Read and understand the above examples.
(Optional: Read a more advanced example showing how to utilize the C major scale.)
- For reference, see the following jMusic documentation:
- jMusic tutorial (there are several pages -- click next).
- See class APIs Score, Part, Phrase, Note, Write (also you may see Rest, Mod, Play, View, Read).
- MIDI uses note pitches from 0-127
- jMusic includes both British and American names for note rhythm values.
- For example, whole note = semibreve; half note = minim; quarter note = crochet; eighth note = quaver
- (If you are new to music notation, see quick intro on note rhythm values.)
- jMusic has several Scales.
- jMusic provides the following MIDI Instruments.