Module hw06
Package provided.abcMusic.parser
package provided.abcMusic.parser
Package for parsing for ABC music files into Token objects and then into IPhrase structures.
- Author:
- Stephen Wong, Scott Rixner
-
Class SummaryClassDescriptionParses an abc file into IPhrase music structures
Usage:
ABCParser parser = new ABCParser("/data/aMusicFile.abc");
IPhrase phrase = parser.parse();
Cases handled:
- single notes with and without accidentals and naturals with regards to measures
- chords
- dotted notes
- grace notes
- repeats, including first and second repeats.
- triplets
- tuplets
- all headers
- quoted text
- D.C.