Package com.softsynth.jmsl.score.util
Class RawJScoreFileImporter
java.lang.Object
com.softsynth.jmsl.score.util.RawJScoreFileImporter
- All Implemented Interfaces:
RawJScoreFileListener
public class RawJScoreFileImporter extends java.lang.Object implements RawJScoreFileListener
-
Constructor Summary
Constructors Constructor Description RawJScoreFileImporter()
-
Method Summary
Modifier and Type Method Description java.util.Vector
getMeasures()
Score
getScore(int w, int h)
void
handleClef(int measureNumber, int staffNumber, java.lang.String clef)
void
handleInterval(int measure, int track, double dur, int pitch, double vel, boolean tiedOut, boolean beamedOut, int noteStyle)
void
handleMaxVel(double maxVel)
void
handleMeasure(int measureNumber, int numerator, int denominator)
void
handleNote(int measure, int track, double dur, int pitch, double vel, boolean tiedOut, boolean beamedOut, int noteStyle)
void
handleNumStaffs(int numStaffs)
void
handleTempo(int measure, int bpm)
void
handleTicksPerQuarter(double ticksPerQtr)
static void
main(java.lang.String[] args)
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
RawJScoreFileImporter
public RawJScoreFileImporter()
-
-
Method Details
-
getMeasures
public java.util.Vector getMeasures() -
handleMeasure
public void handleMeasure(int measureNumber, int numerator, int denominator)- Specified by:
handleMeasure
in interfaceRawJScoreFileListener
-
handleNote
public void handleNote(int measure, int track, double dur, int pitch, double vel, boolean tiedOut, boolean beamedOut, int noteStyle)- Specified by:
handleNote
in interfaceRawJScoreFileListener
-
handleInterval
public void handleInterval(int measure, int track, double dur, int pitch, double vel, boolean tiedOut, boolean beamedOut, int noteStyle)- Specified by:
handleInterval
in interfaceRawJScoreFileListener
-
handleTempo
public void handleTempo(int measure, int bpm)- Specified by:
handleTempo
in interfaceRawJScoreFileListener
-
handleTicksPerQuarter
public void handleTicksPerQuarter(double ticksPerQtr)- Specified by:
handleTicksPerQuarter
in interfaceRawJScoreFileListener
-
handleMaxVel
public void handleMaxVel(double maxVel)- Specified by:
handleMaxVel
in interfaceRawJScoreFileListener
-
handleClef
public void handleClef(int measureNumber, int staffNumber, java.lang.String clef)- Specified by:
handleClef
in interfaceRawJScoreFileListener
-
handleNumStaffs
public void handleNumStaffs(int numStaffs)- Specified by:
handleNumStaffs
in interfaceRawJScoreFileListener
-
getScore
-
main
public static void main(java.lang.String[] args)
-