Class RhythmModels
Pre-trained rhythm models for common styles.
public static class RhythmModels
- Inheritance
-
RhythmModels
- Inherited Members
Methods
GetStyleModel(RhythmStyle)
Get a pre-trained model for a style.
public static RhythmPredictor GetStyleModel(RhythmStyle style)
Parameters
styleRhythmStyle
Returns
Exceptions
- ArgumentOutOfRangeException
styleis not a defined RhythmStyle value.
GetStyleModel(string)
Get a pre-trained model for a style.
public static RhythmPredictor GetStyleModel(string style)
Parameters
stylestring
Returns
Exceptions
- ArgumentNullException
styleis null.- ArgumentException
styleis not one of the styles listed above.