Package com.softsynth.jmsl.score.max
Class NewJMSLScore
java.lang.Object
com.cycling74.max.MaxObject
com.softsynth.jmsl.score.max.NewJMSLScore
public class NewJMSLScore
extends com.cycling74.max.MaxObject
This class creates a new Score under Max control. Each call to makeScore adds another score to
ScoreFrame.
See NewJMSLScore.pat in Max folder in JMSL distribution
MOD ND 20060414, addScore() to ScoreFrame AFTER ScoreFrame setVisible(true), otherwise Max hangs under OS X 10.4.4
See NewJMSLScore.pat in Max folder in JMSL distribution
MOD ND 20060414, addScore() to ScoreFrame AFTER ScoreFrame setVisible(true), otherwise Max hangs under OS X 10.4.4
- Author:
- Langdon Crawford, langdon@langsound.com, mods by Nick Didkovsky 2006-03-03
-
Field Summary
Fields inherited from class com.cycling74.max.MaxObject
EMPTY_STRING_ARRAY, NO_INLETS, NO_OUTLETS
-
Constructor Summary
Constructors Constructor Description NewJMSLScore()
-
Method Summary
Methods inherited from class com.cycling74.max.MaxObject
error, gc, getAttr, getAttrAtomArray, getAttrBool, getAttrBoolArray, getAttrByte, getAttrByteArray, getAttrChar, getAttrCharArray, getAttrDouble, getAttrDoubleArray, getAttrFloat, getAttrFloatArray, getAttributeInfo, getAttrInt, getAttrIntArray, getAttrLongArray, getAttrShort, getAttrShortArray, getAttrString, getAttrStringArray, getCodeSourcePath, getContext, getErrorStream, getInfoIdx, getInletAssist, getInletType, getLongAttr, getMaxBox, getName, getNumInlets, getNumOutlets, getOutletAssist, getOutletType, getParentPatcher, getPostStream, ouch, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outlet, outletBang, outletBangHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, outletHigh, post, postCodePath, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setName, showException, showException, toString, viewsource, zap
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
numStaves
public int numStaves -
width
public int width -
height
public int height
-
-
Constructor Details
-
NewJMSLScore
public NewJMSLScore()
-
-
Method Details
-
makeScore
public void makeScore() -
showScore
public void showScore() -
hideScore
public void hideScore() -
playScore
public void playScore() -
stopScore
public void stopScore() -
addNote
public void addNote(int staffIndex, double dur, double pitch, double amp, double hold) -
deleteScore
public void deleteScore()
-