|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softsynth.jmsl.score.transcribe.BeatDivisionScheme
public class BeatDivisionScheme
This class specifies a unique division of a beat (triplet, quintuplet, etc). Its properties are the number of divisions (5 for quintuplet), its time span (1 for 8th note triplet, 2 for quarter note triplet, etc), and the minimum number of member required to qualify (for example, if this number is two for a triplet, then it's ok for only 2/3 members of the triplet to be located in a beat).
Constructor Summary | |
---|---|
BeatDivisionScheme()
|
Method Summary | |
---|---|
boolean |
getConformToBeat()
Can this beat division scheme fill a beat independently of time signature or beats left? For example, tuplets do not conform to beats. |
int |
getMinRequired()
|
double |
getMinTimeSpan()
|
int |
getNumberOfDivisions()
|
double |
getTimeSpan()
|
static void |
main(java.lang.String[] args)
|
void |
setConformToBeat(boolean b)
Can this beat division scheme fill a beat independently of what beat it start on in the measure? For example, tuplets do not conform to beats. |
void |
setMinRequired(int minRequired)
Set the minimum number of distinct events to qualify this division as valid. |
void |
setMinTimeSpan(double t)
Set the total duration required by this scheme (0.25 for 16th note, 1 for 16th note quintuplet, 1 for 8th note triplets, etc) |
void |
setNumberOfDivisions(int numberOfDivisions)
|
void |
setTimeSpan(double t)
Set the total duration spanned by this scheme (1 for 16th note quintuplet, 1 for 8th note triplets, etc) |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BeatDivisionScheme()
Method Detail |
---|
public void setNumberOfDivisions(int numberOfDivisions)
public int getNumberOfDivisions()
public void setConformToBeat(boolean b)
public boolean getConformToBeat()
public void setTimeSpan(double t)
public double getTimeSpan()
public void setMinTimeSpan(double t)
public double getMinTimeSpan()
public void setMinRequired(int minRequired)
public int getMinRequired()
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |