Table of Contents

Class RhythmModels

Namespace
Celeritas.Core.Analysis
Assembly
Celeritas.dll

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

style RhythmStyle

Returns

RhythmPredictor

Exceptions

ArgumentOutOfRangeException

style is not a defined RhythmStyle value.

GetStyleModel(string)

Get a pre-trained model for a style.

public static RhythmPredictor GetStyleModel(string style)

Parameters

style string

Returns

RhythmPredictor

Exceptions

ArgumentNullException

style is null.

ArgumentException

style is not one of the styles listed above.