Methods
(static) analyzePerformance(performance, pData, trackName, staffIndex, measureBounds, isDurationExercise) → {Array.<AnalyzedPerformancePackage>}
Analyzes a performance against the expected performance
Parameters:
Name | Type | Description |
---|---|---|
performance |
PerformacePackage | The recorded performance |
pData |
ParsedOutputPackage | The performance data for all parts |
trackName |
number | The name of the track to analyze |
staffIndex |
number | The index of the staff to analyze |
measureBounds |
Array.<int> | If specified then the start and end of the measure bounds on the staff, if null then no bounds |
isDurationExercise |
boolean | if the performance was a duration exercise |
- Source:
Returns:
An array of analyzed performance objects with information about each measure analyzed
- Type
- Array.<AnalyzedPerformancePackage>