new Score()
Scores with multiple parts
- Source:
Extends
Methods
-
<static> Score#estimateStaffLength() → {number}
-
Overrides the default music21.stream.Stream#estimateStaffLength
- Source:
Returns:
- Type
- number
-
<static> Score#evenPartMeasureSpacing() → {music21.stream.Score}
-
Fixes the part measure spacing for all parts.
- Source:
Returns:
this
- Type
- music21.stream.Score
-
<static> Score#findNoteForClick(canvas, e) → {Array}
-
Parameters:
Name Type Description canvasDOMObject eEvent - Source:
Returns:
[diatonicNoteNum, m21Element]
- Type
- Array
-
<static> Score#getMaxMeasureWidths() → {Array.<number>}
-
call after setSubstreamRenderOptions
gets the maximum measure width for each measure
by getting the maximum for each measure of
Part.getMeasureWidths();Does this work? I found a bug in this and fixed it that should have
broken it!- Source:
Returns:
- Type
- Array.<number>
-
<static> Score#numSystems() → {Int}
-
How many systems are there? Calls numSystems() on the first part.
- Source:
Returns:
- Type
- Int
-
<static> Score#playStream(params) → {music21.stream.Score}
-
Overrides the default music21.stream.Stream#playStream
Works crappily -- just starts n midi players.
Render scrollable score works better...
Parameters:
Name Type Description paramsobject - passed to each part
- Source:
Returns:
this
- Type
- music21.stream.Score
-
<static> Score#setSubstreamRenderOptions() → {music21.stream.Score}
-
overrides music21.stream.Stream#setSubstreamRenderOptions
figures out the
.leftand.topattributes for all contained parts- Source:
Returns:
this
- Type
- music21.stream.Score
-
<static> Score#stopPlayStream() → {music21.stream.Score}
-
Overrides the default music21.stream.Stream#stopPlayScore()
- Source:
Returns:
this
- Type
- music21.stream.Score