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 interface RawJScoreFileListener
    • handleNote

      public void handleNote​(int measure, int track, double dur, int pitch, double vel, boolean tiedOut, boolean beamedOut, int noteStyle)
      Specified by:
      handleNote in interface RawJScoreFileListener
    • handleInterval

      public void handleInterval​(int measure, int track, double dur, int pitch, double vel, boolean tiedOut, boolean beamedOut, int noteStyle)
      Specified by:
      handleInterval in interface RawJScoreFileListener
    • handleTempo

      public void handleTempo​(int measure, int bpm)
      Specified by:
      handleTempo in interface RawJScoreFileListener
    • handleTicksPerQuarter

      public void handleTicksPerQuarter​(double ticksPerQtr)
      Specified by:
      handleTicksPerQuarter in interface RawJScoreFileListener
    • handleMaxVel

      public void handleMaxVel​(double maxVel)
      Specified by:
      handleMaxVel in interface RawJScoreFileListener
    • handleClef

      public void handleClef​(int measureNumber, int staffNumber, java.lang.String clef)
      Specified by:
      handleClef in interface RawJScoreFileListener
    • handleNumStaffs

      public void handleNumStaffs​(int numStaffs)
      Specified by:
      handleNumStaffs in interface RawJScoreFileListener
    • getScore

      public Score getScore​(int w, int h)
    • main

      public static void main​(java.lang.String[] args)