Method | Description | |
---|---|---|
GetDuration ( int index ) : int | ||
GetNumDurations ( ) : int | ||
GetNumPitches ( ) : int | ||
GetPitch ( int index ) : int | ||
NoteRangeRestrictor ( int lowPitch, int highPitch, int shortLength, int longLength, |
Specify all restrictions that should be placed on the range of generated notes.
|
public NoteRangeRestrictor ( int lowPitch, int highPitch, int shortLength, int longLength, |
||
lowPitch | int | The lowest pitch that can be generated. |
highPitch | int | The highest pitch that can be generated. |
shortLength | int | The shortest duration that can be generated. |
longLength | int | The longest duration that can be generated. |
scaleToUse | The scale to use to generate notes. | |
return | System |