The crate music21-rs
Full report →
The Rust library: what is ported, how well it is tested, and how fast it is with no Python in the way.
music21-rsThe Rust library: what is ported, how well it is tested, and how fast it is with no Python in the way.
music21_rsThe Python package: what of music21 it answers, how it fares installed over music21, and what the binding costs.
6873 passing, all green
| Suite | Tests | Result | Passed | Failed | Command |
|---|---|---|---|---|---|
| Workspace | passed | 1185 | 0 | cargo test --workspace --all-targets |
|
| Workspace doctests | passed | 177 | 0 | cargo test --workspace --doc |
|
| Python parity and music21's doctests | passed | 157 | 0 | cargo test --manifest-path python-parity/Cargo.toml -- --test-threads=1 |
|
Python wheelmusic21_rs-0.10.0-cp313-cp313-manylinux_2_34_x86_64.whl |
passed | — | — | maturin build --release --manifest-path python/Cargo.toml |
|
| Python wheel tests | passed | 199 | 0 | python -m pytest python/tests |
|
music21's own test suiteRun twice, once on music21 and once on the crate, and diffed: music21's own suite fails a number of its own tests in any environment, so what counts is that the two sets match.0 of these fail on music21 itself; 0 fail only under music21_rs |
passed | 5155 | 0 | cargo run --release -p xtask --features python -- music21-suite |
A suite whose tooling is not installed is skipped, with the reason, rather than failed. One marked for both runs music21's code over the wheel's classes, which answer out of the crate, so a failure there may be either's.
of music21-rs, across every instrumented suite
Coverage is not a run of its own: the suites are run instrumented and the profiles merged. The workspace tests, their rustdoc examples and the parity suite reach it, music21's own suite among them, run against the crate linked into the parity suite; whatever goes through the installed wheel does not. Generated tables and the tooling crates are excluded. Read it file by file →
crate 68.0× median, wheel 32.5× median, across 24 cases
| Case | music21 | crate | wheel | crate × | wheel × | binding |
|---|---|---|---|---|---|---|
| construction | ||||||
Pitch('C#4') | 1.5 µs | 123 ns | 2.0 µs | 12.3× | 0.8× | +1.8 µs |
Note('C#4') | 7.0 µs | 134 ns | 863 ns | 52.2× | 8.1× | +729 ns |
Interval('P5') | 15.0 µs | 74 ns | 462 ns | 202.7× | 32.5× | +388 ns |
Chord('C4 E4 G4') | 28.2 µs | 666 ns | 6.5 µs | 42.4× | 4.3× | +5.9 µs |
| chord analysis | ||||||
Chord.commonName5 chords | 893.1 µs | 9.0 µs | 12.5 µs | 99.1× | 71.2× | +3.5 µs |
Chord.root()5 chords | 194.8 µs | — | 15.9 µs | — | 12.2× | — |
Chord.inversion()5 chords | 291.0 µs | 3.9 µs | 7.8 µs | 74.1× | 37.4× | +3.9 µs |
Chord.forteClass5 chords | 418.7 µs | 6.1 µs | 9.8 µs | 68.4× | 42.7× | +3.7 µs |
Chord.primeForm5 chords | 421.3 µs | 6.8 µs | 10.5 µs | 61.8× | 40.2× | +3.7 µs |
Chord.intervalVector5 chords | 421.1 µs | 7.2 µs | 10.5 µs | 58.2× | 40.2× | +3.2 µs |
Chord.isDominantSeventh()5 chords | 412.9 µs | 4.4 µs | 7.6 µs | 93.7× | 54.0× | +3.2 µs |
Chord.orderedPitchClasses5 chords | 184.2 µs | 4.9 µs | 8.2 µs | 37.7× | 22.6× | +3.3 µs |
Chord: forteClass + primeForm + intervalVectorone chord, three questions | 93.7 µs | 3.0 µs | 3.8 µs | 31.2× | 24.6× | +800 ns |
| pitch | ||||||
Pitch.transpose('M3') | 41.9 µs | 378 ns | 2.6 µs | 110.9× | 15.9× | +2.3 µs |
Pitch.frequency | 1.4 µs | 305 ns | 2.2 µs | 4.7× | 0.7× | +1.9 µs |
Pitch.getEnharmonic() | 33.8 µs | — | 2.4 µs | — | 13.9× | — |
Interval(p1, p2) | 16.6 µs | 295 ns | 3.8 µs | 56.2× | 4.4× | +3.5 µs |
| serial | ||||||
pcToToneRow(...).matrix() | 4.2 ms | 5.4 µs | 5.9 µs | 772.5× | 711.1× | +466 ns |
ToneRow.zeroCenteredTransformation | 408.6 µs | 496 ns | 817 ns | 824.3× | 500.2× | +321 ns |
| figured bass | ||||||
Segment(G2, '7').allCorrectSinglePossibilities() | 4.4 ms | 53.3 µs | 83.9 µs | 82.1× | 52.1× | +30.6 µs |
Segment(G2, '7') to Segment(C3), a dominant seventh resolving | 17.2 ms | 259.4 µs | 340.6 µs | 66.3× | 50.5× | +81.2 µs |
Segment(C3) to Segment(D3, '4,3'), every pair of voicings | 6.2 ms | 90.5 µs | 154.8 µs | 68.0× | 39.8× | +64.3 µs |
| warm object | ||||||
Chord.commonName (cached)music21 memoizes | 120 ns | — | 78 ns | — | 1.5× | — |
Chord.forteClass (cached)music21 memoizes | 2.3 µs | — | 75 ns | — | 29.9× | — |
music21 11.0.0b12, Python 3.13.16 (Linux-6.17.0-1022-azure-x86_64-with-glibc2.39). Every side must agree on the answer before any of them is timed. wheel is what a caller installs, asked through the same Python API as music21; crate is the same operation in Rust with no Python in the way, and binding is what lies between the two. Each case builds a fresh object, except those marked cached.
| Test | music21 | music21-rs | music21-rs-wheel | music21-rs × | music21-rs-wheel × |
|---|---|---|---|---|---|
| furthest ahead | |||||
timeSignatureToMidiEvents (music21.midi.translate) | 404 ms | 3 ms | 3 ms | 135.44× | 137.09× |
findTransformedHistorical (music21.serial.TwelveToneRow) | 92 ms | 1 ms | 1 ms | 77.87× | 78.64× |
isTranspositionallySymmetrical (music21.chord.Chord) | 108 ms | 3 ms | 3 ms | 38.44× | 38.56× |
testFigureFromChordAddOmit (music21.harmony.Test.testFigureFromChordAddOmit) | 100 ms | 3 ms | 3 ms | 33.97× | 32.67× |
fromIntervalVector (music21.chord) | 59 ms | 2 ms | 2 ms | 26.96× | 27.04× |
getZRelation (music21.chord.Chord) | 56 ms | 2 ms | 2 ms | 25.76× | 26.47× |
findHistorical (music21.serial.TwelveToneRow) | 31 ms | 1 ms | 1 ms | 25.25× | 25.46× |
testOctaveRepeatingScaleStepsReachingAnEnharmonicOctave (music21.scale.test_scale_main.Test.testOctaveRepeatingScaleStepsReachingAnEnharmonicOctave) | 68 ms | 3 ms | 3 ms | 24.18× | 24.50× |
fromForteClass (music21.chord) | 39 ms | 2 ms | 2 ms | 21.54× | 21.79× |
simplifyMultipleEnharmonics (music21.pitch) | 38 ms | 2 ms | 2 ms | 18.73× | 19.13× |
testMelodicMinorB (music21.scale.test_scale_main.Test.testMelodicMinorB) | 40 ms | 2 ms | 2 ms | 18.59× | 18.68× |
TranspositionChecker (music21.analysis.transposition) | 38 ms | 2 ms | 2 ms | 15.47× | 15.16× |
| furthest behind | |||||
testARFFNumericClassValues (music21.features.outputFormats.Test.testARFFNumericClassValues) | 17 ms | 1.99 s | 2.00 s | 0.01× | 0.01× |
testIncludeClassLabelAndId (music21.features.outputFormats.Test.testIncludeClassLabelAndId) | 30 ms | 2.00 s | 1.98 s | 0.01× | 0.02× |
testParallelRun (music21.features.base.Test.testParallelRun) | 334 ms | 2.31 s | 2.31 s | 0.14× | 0.14× |
testIncludeFlagsOff (music21.features.base.Test.testIncludeFlagsOff) | 445 ms | 2.39 s | 2.40 s | 0.19× | 0.19× |
test_makeBeams__paddingRight (music21.stream.tests.Test.test_makeBeams__paddingRight) | 2 ms | 10 ms | 10 ms | 0.23× | 0.23× |
SaxophoneFractionFeature (music21.features.jSymbolic) | 4 ms | 13 ms | 13 ms | 0.32× | 0.33× |
setMinorRootParse (music21.romanText.translate.PartTranslator) | 3 ms | 8 ms | 8 ms | 0.34× | 0.34× |
populateFromSortedList (music21.tree.core.AVLTree) | 3 ms | 7 ms | 7 ms | 0.42× | 0.41× |
test_example04_4 (music21.braille.test.Test.test_example04_4) | 6 ms | 14 ms | 14 ms | 0.44× | 0.43× |
testCoreUnit2 (music21.mei.test_base.Test.testCoreUnit2) | 5 ms | 12 ms | 12 ms | 0.44× | 0.43× |
quarterConversion (music21.duration) | 17 ms | 36 ms | 38 ms | 0.47× | 0.44× |
testTextExpressionsD (music21.musicxml.test_xmlToM21.Test.testTextExpressionsD) | 12 ms | 23 ms | 24 ms | 0.51× | 0.49× |
A test counts only where every side ran it, passed it, and took longer than a millisecond, and what the garbage collector took inside a test is taken off before the sides are compared — a full collection lands on whichever test is running, and each test is timed once. music21-rs is the crate linked into the binary that ran the suite — the working tree — and music21-rs-wheel is the wheel a caller installs, so what lies between those two is the packaging rather than the code. All 3927 tests, side by side →
9191 of 11558 examples and 666 of 666 unit tests, across 47 modules, 7 with no harness yet
| Module | Docstrings | Examples | Unit tests |
|---|---|---|---|
music21.stream.baseno harness yet |
0 of 144 |
0 of 2278 |
271 of 271 |
music21.chord |
108 of 108 |
981 of 981 |
31 of 31 |
music21.pitch |
84 of 84 |
934 of 934 |
38 of 38 |
music21.interval |
107 of 107 |
771 of 771 |
14 of 14 |
music21.duration |
53 of 53 |
588 of 588 |
16 of 16 |
music21.roman |
34 of 34 |
560 of 560 |
34 of 34 |
music21.voiceLeading |
61 of 61 |
515 of 515 |
2 of 2 |
music21.meter.base |
34 of 34 |
387 of 387 |
22 of 22 |
music21.meter.core |
39 of 39 |
386 of 386 |
none |
music21.harmony |
26 of 26 |
364 of 364 |
28 of 28 |
music21.expressions |
40 of 40 |
350 of 350 |
12 of 12 |
music21.scale |
62 of 62 |
344 of 344 |
58 of 58 |
music21.note |
33 of 33 |
341 of 341 |
13 of 13 |
music21.key |
18 of 18 |
245 of 245 |
7 of 7 |
music21.figuredBass.possibility |
16 of 16 |
211 of 211 |
none |
music21.tempo |
27 of 27 |
196 of 196 |
17 of 17 |
music21.figuredBass.resolution |
13 of 13 |
172 of 172 |
none |
music21.clef |
29 of 29 |
151 of 151 |
4 of 4 |
music21.instrument |
15 of 15 |
150 of 150 |
12 of 12 |
music21.serial |
22 of 22 |
149 of 149 |
6 of 6 |
music21.figuredBass.notation |
12 of 12 |
129 of 129 |
3 of 3 |
music21.analysis.discrete |
25 of 25 |
122 of 122 |
7 of 7 |
music21.figuredBass.segment |
12 of 12 |
122 of 122 |
none |
music21.beam |
13 of 13 |
112 of 112 |
2 of 2 |
music21.analysis.neoRiemannian |
13 of 13 |
107 of 107 |
6 of 6 |
music21.sieve |
25 of 25 |
107 of 107 |
9 of 9 |
music21.articulations |
27 of 27 |
105 of 105 |
2 of 2 |
music21.figuredBass.checker |
12 of 12 |
102 of 102 |
none |
music21.figuredBass.realizer |
8 of 8 |
80 of 80 |
3 of 3 |
music21.figuredBass.examples |
11 of 11 |
71 of 71 |
none |
music21.chord.tables |
10 of 10 |
65 of 65 |
5 of 5 |
music21.scale.scala |
7 of 7 |
55 of 55 |
5 of 5 |
music21.dynamics |
6 of 6 |
49 of 49 |
6 of 6 |
music21.volume |
9 of 9 |
46 of 46 |
9 of 9 |
music21.analysis.windowedno harness yet |
0 of 3 |
0 of 35 |
5 of 5 |
music21.analysis.transposition |
7 of 7 |
28 of 28 |
7 of 7 |
music21.figuredBass.realizerScale |
4 of 4 |
26 of 26 |
none |
music21.figuredBass.harmony |
4 of 4 |
24 of 24 |
none |
music21.analysis.harmonicFunction |
2 of 2 |
22 of 22 |
4 of 4 |
music21.analysis.floatingKeyno harness yet |
0 of 2 |
0 of 14 |
1 of 1 |
music21.analysis.patelno harness yet |
0 of 2 |
0 of 14 |
none |
music21.analysis.metricalno harness yet |
0 of 2 |
0 of 13 |
none |
music21.tie |
2 of 2 |
13 of 13 |
1 of 1 |
music21.analysis.pitchAnalysisno harness yet |
0 of 1 |
0 of 7 |
none |
music21.analysis.enharmonics |
1 of 1 |
6 of 6 |
4 of 4 |
music21.analysis.segmentByRestsno harness yet |
0 of 2 |
0 of 6 |
2 of 2 |
music21.figuredBass.rules |
1 of 1 |
5 of 5 |
none |
| every module | 1032 of 1188 |
9191 of 11558 |
666 of 666 |
music21's own docstrings and unit tests, run over the wheel's classes answering out of the crate, so a row here is a row for both. A docstring passes only when every one of its examples does. Every docstring is read as music21's own runner reads it, which rewrites an object's address to 0x... before comparing; the unit-test column is music21's own test suite, attributed per module, where a test music21 itself fails counts as not passing.
1635 members:1348 in the crate973 in the wheel
chord/__init__.py
crate 97 of 97Chord analysis and the notation its notes carry. The per-note getters and setters music21 deprecated in v11 are the note's own methods here, reached through notes_mut.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
formatVectorString | ported | format_vector_string | in the wheel |
add | ported | add | in the wheel |
annotateIntervals | ported | annotate_intervals | in the wheel |
areZRelations | ported | are_z_relations | in the wheel |
bass | ported | bass | in the wheel |
canBeDominantV | ported | can_be_dominant_v | in the wheel |
canBeTonic | ported | can_be_tonic | in the wheel |
closedPosition | ported | closed_position | in the wheel |
containsSeventh | ported | contains_seventh | in the wheel |
containsTriad | ported | contains_triad | in the wheel |
geometricNormalForm | ported | geometric_normal_form | in the wheel |
getChordStep | ported | chord_step | in the wheel |
getColor | ported | color | in the wheel |
getNotehead | ported | notehead | in the wheel |
getNoteheadFill | ported | notehead_fill | in the wheel |
getStemDirection | ported | stem_direction | in the wheel |
getTie | ported | tie | in the wheel |
getVolume | ported | volume | in the wheel |
getZRelation | ported | z_relation | in the wheel |
hasAnyEnharmonicSpelledPitches | ported | has_any_enharmonic_spelled_pitches | in the wheel |
hasAnyRepeatedDiatonicNote | ported | has_any_repeated_diatonic_note | in the wheel |
hasRepeatedChordStep | ported | has_repeated_chord_step | in the wheel |
intervalFromChordStep | ported | interval_from_chord_step | in the wheel |
inversion | ported | inversion | in the wheel |
setInversion | ported | set_inversion | in the wheel |
inversionName | ported | inversion_name | in the wheel |
inversionText | ported | inversion_text | in the wheel |
isAugmentedSixth | ported | is_augmented_sixth | in the wheel |
isAugmentedTriad | ported | is_augmented_triad | in the wheel |
isConsonant | ported | is_consonant | in the wheel |
isDiminishedSeventh | ported | is_diminished_seventh | in the wheel |
isSeventhOfType | ported | is_seventh_of_type | in the wheel |
isDiminishedTriad | ported | is_diminished_triad | in the wheel |
isDominantSeventh | ported | is_dominant_seventh | in the wheel |
isFalseDiminishedSeventh | ported | is_false_diminished_seventh | in the wheel |
isFrenchAugmentedSixth | ported | is_french_augmented_sixth | in the wheel |
isGermanAugmentedSixth | ported | is_german_augmented_sixth | in the wheel |
isHalfDiminishedSeventh | ported | is_half_diminished_seventh | in the wheel |
isIncompleteMajorTriad | ported | is_incomplete_major_triad | in the wheel |
isIncompleteMinorTriad | ported | is_incomplete_minor_triad | in the wheel |
isItalianAugmentedSixth | ported | is_italian_augmented_sixth | in the wheel |
isMajorTriad | ported | is_major_triad | in the wheel |
isMinorTriad | ported | is_minor_triad | in the wheel |
isTranspositionallySymmetrical | ported | is_transpositionally_symmetrical | in the wheel |
isSeventh | ported | is_seventh | in the wheel |
isNinth | ported | is_ninth | in the wheel |
isSwissAugmentedSixth | ported | is_swiss_augmented_sixth | in the wheel |
isTriad | ported | is_triad | in the wheel |
removeRedundantPitches | ported | remove_redundant_pitches | in the wheel |
removeRedundantPitchClasses | ported | remove_redundant_pitch_classes | in the wheel |
removeRedundantPitchNames | ported | remove_redundant_pitch_names | in the wheel |
root | ported | root | in the wheel |
semiClosedPosition | ported | semi_closed_position | in the wheel |
semitonesFromChordStep | ported | semitones_from_chord_step | in the wheel |
setColor | ported | set_color | in the wheel |
setNotehead | ported | set_notehead | in the wheel |
setNoteheadFill | ported | set_notehead_fill | in the wheel |
setStemDirection | ported | set_stem_direction | in the wheel |
setTie | ported | set_tie | in the wheel |
setVolume | ported | set_volume | in the wheel |
simplifyEnharmonics | ported | simplify_enharmonics | in the wheel |
isSortedDiatonicAscending | ported | is_sorted_diatonic_ascending | in the wheel |
sortAscending | ported | sort_ascending | in the wheel |
sortChromaticAscending | ported | sort_chromatic_ascending | in the wheel |
sortDiatonicAscending | ported | sort_diatonic_ascending | in the wheel |
sortFrequencyAscending | ported | sort_frequency_ascending | in the wheel |
transpose | ported | transpose | in the wheel |
chordTablesAddress | ported | chord_tables_address_entry | in the wheel |
commonName | ported | common_name | in the wheel |
duration | ported | duration | in the wheel |
fifth | ported | fifth | in the wheel |
forteClass | ported | forte_class | in the wheel |
forteClassNumber | ported | forte_class_number | in the wheel |
forteClassTn | ported | forte_class_tn | in the wheel |
forteClassTnI | ported | forte_class_tni | in the wheel |
fullName | ported | full_name | in the wheel |
hasZRelation | ported | has_z_relation | in the wheel |
intervalVector | ported | interval_class_vector | in the wheel |
intervalVectorString | ported | interval_vector_string | in the wheel |
isPrimeFormInversion | ported | is_prime_form_inversion | in the wheel |
multisetCardinality | ported | multiset_cardinality | in the wheel |
notes | ported | notes | in the wheel |
normalOrder | ported | normal_order | in the wheel |
normalOrderString | ported | normal_order_string | in the wheel |
orderedPitchClasses | ported | pitch_classes | in the wheel |
orderedPitchClassesString | ported | ordered_pitch_classes_string | in the wheel |
pitchClassCardinality | ported | pitch_class_cardinality | in the wheel |
pitchClasses | ported | note_pitch_classes | in the wheel |
pitchNames | ported | pitch_names | in the wheel |
pitchedCommonName | ported | pitched_common_name | in the wheel |
pitches | ported | pitches | in the wheel |
primeForm | ported | prime_form | in the wheel |
primeFormString | ported | prime_form_string | in the wheel |
quality | ported | quality | in the wheel |
scaleDegrees | ported | scale_degrees | in the wheel |
seventh | ported | seventh | in the wheel |
third | ported | third | in the wheel |
pitch.py
crate 43 of 45| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
groups | missing | the group names music21 picks elements out of a stream by (getElementsByGroup); a stream here picks by kind and by position, and nothing in it carries group names | in the wheel |
informClient | missing | observer callback for a containing note; there is none | in the wheel |
accidental | ported | accidental | in the wheel |
microtone | ported | microtone | in the wheel |
isTwelveTone | ported | is_twelve_tone | in the wheel |
getCentShiftFromMidi | ported | cent_shift_from_midi | in the wheel |
alter | ported | alter | in the wheel |
convertQuarterTonesToMicrotones | ported | convert_quarter_tones_to_microtones | in the wheel |
convertMicrotonesToQuarterTones | ported | convert_microtones_to_quarter_tones | in the wheel |
ps | ported | ps | in the wheel |
midi | ported | midi | in the wheel |
name | ported | name | in the wheel |
unicodeName | ported | unicode_name | in the wheel |
nameWithOctave | ported | name_with_octave | in the wheel |
unicodeNameWithOctave | ported | unicode_name_with_octave | in the wheel |
fullName | ported | full_name | in the wheel |
step | ported | step | in the wheel |
pitchClass | ported | pitch_class | in the wheel |
pitchClassString | ported | pitch_class_string | in the wheel |
octave | ported | octave | in the wheel |
octaveIsImplicit | ported | octave_is_implicit | in the wheel |
implicitOctave | ported | implicit_octave | in the wheel |
german | ported | german | in the wheel |
italian | ported | italian | in the wheel |
spanish | ported | spanish | in the wheel |
french | ported | french | in the wheel |
frequency | ported | frequency_hz | in the wheel |
freq440 | ported | frequency_hz | in the wheel |
getHarmonic | ported | harmonic | in the wheel |
harmonicFromFundamental | ported | harmonic_from_fundamental | in the wheel |
harmonicString | ported | harmonic_string | in the wheel |
harmonicAndFundamentalFromPitch | ported | harmonic_and_fundamental_from_pitch | in the wheel |
harmonicAndFundamentalStringFromPitch | ported | harmonic_and_fundamental_string_from_pitch | in the wheel |
isEnharmonic | ported | is_enharmonic | in the wheel |
getHigherEnharmonic | ported | get_higher_enharmonic | in the wheel |
getLowerEnharmonic | ported | get_lower_enharmonic | in the wheel |
simplifyEnharmonic | ported | simplify_enharmonic | in the wheel |
getEnharmonic | ported | get_enharmonic | in the wheel |
getAllCommonEnharmonics | ported | all_common_enharmonics | in the wheel |
diatonicNoteNum | ported | diatonic_note_number | in the wheel |
transpose | ported | transpose | in the wheel |
transposeBelowTarget | ported | transpose_below_target | in the wheel |
transposeAboveTarget | ported | transpose_above_target | in the wheel |
updateAccidentalDisplay | ported | update_accidental_display | in the wheel |
getStringHarmonic | ported | string_harmonic | in the wheel |
pitch.py
crate 12 of 12| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
listNames | ported | list_names | in the wheel |
set | ported | set | in the wheel |
isTwelveTone | ported | is_twelve_tone | in the wheel |
setAttributeIndependently | ported | set_attribute_independently | in the wheel |
inheritDisplay | ported | inherit_display | in the wheel |
name | ported | name | in the wheel |
alter | ported | alter | in the wheel |
modifier | ported | modifier | in the wheel |
displayType | ported | display_type | in the wheel |
displayStatus | ported | display_status | in the wheel |
unicode | ported | unicode | in the wheel |
fullName | ported | full_name | in the wheel |
pitch.py
crate 3 of 3| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
alter | ported | alter | in the wheel |
cents | ported | cents | in the wheel |
harmonicShift | ported | harmonic_shift | in the wheel |
interval.py
crate 29 of 29| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
generic | ported | generic | in the wheel |
name | ported | short_name | in the wheel |
niceName | ported | name | in the wheel |
simpleName | ported | simple_name | in the wheel |
simpleNiceName | ported | simple_nice_name | in the wheel |
semiSimpleName | ported | semi_simple_name | in the wheel |
semiSimpleNiceName | ported | semi_simple_nice_name | in the wheel |
directedName | ported | directed_name | in the wheel |
directedNiceName | ported | directed_nice_name | in the wheel |
directedSimpleName | ported | directed_simple_name | in the wheel |
directedSimpleNiceName | ported | directed_simple_nice_name | in the wheel |
semitones | ported | semitones | in the wheel |
direction | ported | direction | in the wheel |
specifier | ported | specifier | in the wheel |
specificName | ported | specific_name | in the wheel |
isDiatonicStep | ported | is_diatonic_step | in the wheel |
isChromaticStep | ported | is_chromatic_step | in the wheel |
isStep | ported | is_step | in the wheel |
isSkip | ported | is_skip | in the wheel |
isConsonant | ported | is_consonant | in the wheel |
complement | ported | complement | in the wheel |
intervalClass | ported | interval_class | in the wheel |
cents | ported | cents | in the wheel |
transposePitch | ported | transpose_pitch | in the wheel |
reverse | ported | reversed | in the wheel |
pitchStart | ported | pitch_start | in the wheel |
pitchEnd | ported | pitch_end | in the wheel |
noteStart | ported | note_start | in the wheel |
noteEnd | ported | note_end | in the wheel |
interval.py
crate 26 of 26| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
value | ported | value | in the wheel |
directed | ported | directed | in the wheel |
undirected | ported | undirected | in the wheel |
direction | ported | direction | in the wheel |
isSkip | ported | is_skip | in the wheel |
isDiatonicStep | ported | is_diatonic_step | in the wheel |
isStep | ported | is_step | in the wheel |
isUnison | ported | is_unison | in the wheel |
simpleUndirected | ported | simple_undirected | in the wheel |
semiSimpleUndirected | ported | semi_simple_undirected | in the wheel |
undirectedOctaves | ported | undirected_octaves | in the wheel |
octaves | ported | octaves | in the wheel |
simpleDirected | ported | simple_directed | in the wheel |
semiSimpleDirected | ported | semi_simple_directed | in the wheel |
perfectable | ported | is_perfectable | in the wheel |
niceName | ported | nice_name | in the wheel |
simpleNiceName | ported | simple_nice_name | in the wheel |
semiSimpleNiceName | ported | semi_simple_nice_name | in the wheel |
staffDistance | ported | staff_distance | in the wheel |
mod7inversion | ported | mod7_inversion | in the wheel |
mod7 | ported | mod7 | in the wheel |
complement | ported | complement | in the wheel |
reverse | ported | reverse | in the wheel |
transposePitch | ported | transpose_pitch | in the wheel |
transposePitchKeyAware | ported | transpose_pitch_key_aware | in the wheel |
getDiatonic | ported | get_diatonic | in the wheel |
interval.py
crate 25 of 25| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
name | ported | name | in the wheel |
niceName | ported | nice_name | in the wheel |
specificName | ported | specific_name | in the wheel |
simpleName | ported | simple_name | in the wheel |
simpleNiceName | ported | simple_nice_name | in the wheel |
semiSimpleName | ported | semi_simple_name | in the wheel |
semiSimpleNiceName | ported | semi_simple_nice_name | in the wheel |
direction | ported | direction | in the wheel |
directedName | ported | directed_name | in the wheel |
directedNiceName | ported | directed_nice_name | in the wheel |
directedSimpleName | ported | directed_simple_name | in the wheel |
directedSimpleNiceName | ported | directed_simple_nice_name | in the wheel |
directedSemiSimpleName | ported | directed_semi_simple_name | in the wheel |
directedSemiSimpleNiceName | ported | directed_semi_simple_nice_name | in the wheel |
isStep | ported | is_step | in the wheel |
isDiatonicStep | ported | is_diatonic_step | in the wheel |
isSkip | ported | is_skip | in the wheel |
perfectable | ported | is_perfectable | in the wheel |
mod7inversion | ported | mod7_inversion | in the wheel |
mod7 | ported | mod7 | in the wheel |
reverse | ported | reverse | in the wheel |
getChromatic | ported | get_chromatic | in the wheel |
transposePitch | ported | transpose_pitch | in the wheel |
specifierAbbreviation | ported | specifier_abbreviation | in the wheel |
cents | ported | cents | in the wheel |
interval.py
crate 13 of 13| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
cents | ported | cents | in the wheel |
directed | ported | directed | in the wheel |
undirected | ported | undirected | in the wheel |
direction | ported | direction | in the wheel |
mod12 | ported | mod12 | in the wheel |
simpleUndirected | ported | simple_undirected | in the wheel |
simpleDirected | ported | simple_directed | in the wheel |
intervalClass | ported | interval_class | in the wheel |
isChromaticStep | ported | is_chromatic_step | in the wheel |
isStep | ported | is_step | in the wheel |
reverse | ported | reverse | in the wheel |
getDiatonic | ported | get_diatonic | in the wheel |
transposePitch | ported | transpose_pitch | in the wheel |
interval.py
crate 4 of 4| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
niceName | ported | nice_name | in the wheel |
inversion | ported | inversion | in the wheel |
semitonesAbovePerfect | ported | semitones_above_perfect | in the wheel |
semitonesAboveMajor | ported | semitones_above_major | in the wheel |
interval.py
crate 20 of 20Module-level helpers.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
convertStaffDistanceToInterval | ported | staff_distance_to_generic_number | in the wheel |
convertDiatonicNumberToStep | ported | convert_diatonic_number_to_step | in the wheel |
parseSpecifier | ported | parse_specifier | in the wheel |
convertGeneric | ported | convert_generic | in the wheel |
convertSemitoneToSpecifierGenericMicrotone | ported | convert_semitone_to_specifier_generic_microtone | in the wheel |
convertSemitoneToSpecifierGeneric | ported | convert_semitone_to_specifier_generic | in the wheel |
intervalToPythagoreanRatio | ported | pythagorean_ratio | in the wheel |
notesToGeneric | ported | notes_to_generic | in the wheel |
notesToChromatic | ported | notes_to_chromatic | in the wheel |
intervalsToDiatonic | ported | intervals_to_diatonic | in the wheel |
intervalFromGenericAndChromatic | ported | from_generic_and_chromatic | in the wheel |
getWrittenHigherNote | ported | written_higher_pitch | in the wheel |
getAbsoluteHigherNote | ported | absolute_higher_pitch | in the wheel |
getWrittenLowerNote | ported | written_lower_pitch | in the wheel |
getAbsoluteLowerNote | ported | absolute_lower_pitch | in the wheel |
transposePitch | ported | transpose_pitch | in the wheel |
transposeNote | ported | transpose_note | in the wheel |
notesToInterval | ported | between_pitches | in the wheel |
add | ported | sum | in the wheel |
subtract | ported | difference | in the wheel |
key.py
crate 7 of 7| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
asKey | ported | as_key | in the wheel |
alteredPitches | ported | altered_pitches | in the wheel |
accidentalByStep | ported | accidental_by_step | in the wheel |
transpose | ported | transpose | in the wheel |
transposePitchFromC | ported | transpose_pitch_from_c | in the wheel |
getScale | ported | scale | in the wheel |
sharps | ported | sharps | in the wheel |
key.py
crate 6 of 6tonalCertainty belongs to a key that came out of analysis, so it lives on the ranked estimates in analysis.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
relative | ported | relative | in the wheel |
parallel | ported | parallel | in the wheel |
tonicPitchNameWithCase | ported | tonic_pitch_name_with_case | in the wheel |
deriveByDegree | ported | derive_by_degree | in the wheel |
tonalCertainty | ported | tonal_certainty | in the wheel |
transpose | ported | transpose | in the wheel |
scale/__init__.py
crate 23 of 27| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
write | missing | writes a file, and this library does no file IO: a caller saves the Scala text scala_data and file_string give, or a score musicxml::to_musicxml writes | not in the wheel |
show | missing | opens the scale in another program, which is the caller's to do | not in the wheel |
isConcrete | missing | every Scale here has a tonic, so the question has one answer; the wheel answers it for a scale built without one | in the wheel |
abstract | missing | a scale's pattern is its ScaleType or the steps it was given, read with scale_type and custom_steps; there is no abstract scale object beside it, and the wheel hands music21 one built from those | in the wheel |
name | ported | music21_name | in the wheel |
getTonic | ported | tonic | in the wheel |
getDegreeMaxUnique | ported | degree_count | in the wheel |
transpose | ported | transpose | in the wheel |
tune | ported | tune | in the wheel |
romanNumeral | ported | roman_numeral | in the wheel |
getPitches | ported | pitches | in the wheel |
getChord | ported | chord | in the wheel |
pitchFromDegree | ported | pitch_at_degree | in the wheel |
pitchesFromScaleDegrees | ported | pitches_from_scale_degrees | in the wheel |
intervalBetweenDegrees | ported | interval_between_degrees | in the wheel |
getScaleDegreeFromPitch | ported | degree_of | in the wheel |
getScaleDegreeAndAccidentalFromPitch | ported | degree_and_accidental_of | in the wheel |
solfeg | ported | solfeg | in the wheel |
nextPitch | ported | next_pitch_above | in the wheel |
isNext | ported | is_next | in the wheel |
match | ported | match_pitches | in the wheel |
findMissing | ported | find_missing | in the wheel |
deriveRanked | ported | derive_ranked | in the wheel |
derive | ported | derive | in the wheel |
deriveAll | ported | derive_all | in the wheel |
deriveByDegree | ported | derive_by_degree | in the wheel |
getScalaData | ported | scala_data | in the wheel |
scale/__init__.py
crate 22 of 32The ConcreteScale subclasses, as ScaleType variants or runtime constructors.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
AbstractDiatonicScale | missing | the IntervalNetwork layer | not in the wheel |
AbstractOctatonicScale | missing | the IntervalNetwork layer | not in the wheel |
AbstractHarmonicMinorScale | missing | the IntervalNetwork layer | not in the wheel |
AbstractMelodicMinorScale | missing | the IntervalNetwork layer | not in the wheel |
AbstractCyclicalScale | missing | the IntervalNetwork layer | not in the wheel |
AbstractOctaveRepeatingScale | missing | the IntervalNetwork layer | not in the wheel |
Scale | missing | the abstract base | in the wheel |
AbstractScale | missing | a pattern with no tonic is a ScaleType or a list of steps; the wheel's AbstractScale stands on those and builds music21's IntervalNetwork from them | in the wheel |
ConcreteScale | missing | realized by Scale, StepScale and ScalaScale | in the wheel |
DiatonicScale | missing | the diatonic modes are ScaleType variants | in the wheel |
MajorScale | ported | MajorScale | in the wheel |
MinorScale | ported | MinorScale | in the wheel |
DorianScale | ported | DorianScale | in the wheel |
PhrygianScale | ported | PhrygianScale | in the wheel |
LydianScale | ported | LydianScale | in the wheel |
MixolydianScale | ported | MixolydianScale | in the wheel |
HypodorianScale | ported | HypodorianScale | in the wheel |
HypophrygianScale | ported | HypophrygianScale | in the wheel |
HypolydianScale | ported | HypolydianScale | in the wheel |
HypomixolydianScale | ported | HypomixolydianScale | in the wheel |
LocrianScale | ported | LocrianScale | in the wheel |
HypolocrianScale | ported | HypolocrianScale | in the wheel |
HypoaeolianScale | ported | HypoaeolianScale | in the wheel |
HarmonicMinorScale | ported | HarmonicMinorScale | in the wheel |
MelodicMinorScale | ported | MelodicMinorScale | in the wheel |
OctatonicScale | ported | OctatonicScale | in the wheel |
OctaveRepeatingScale | ported | octave_repeating | in the wheel |
CyclicalScale | ported | cyclical | in the wheel |
ChromaticScale | ported | ChromaticScale | in the wheel |
WholeToneScale | ported | WholeToneScale | in the wheel |
SieveScale | ported | sieve | in the wheel |
ScalaScale | ported | ScalaScale | in the wheel |
roman.py
crate 11 of 11| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
adjustMinorVIandVIIByQuality | ported | adjust_minor_vi_and_vii_by_quality | in the wheel |
transpose | ported | transpose | in the wheel |
romanNumeral | ported | roman_numeral | in the wheel |
figure | ported | figure | in the wheel |
figureAndKey | ported | figure_and_key | in the wheel |
key | ported | key | in the wheel |
scaleDegreeWithAlteration | ported | scale_degree_with_alteration | in the wheel |
bassScaleDegreeFromNotation | ported | bass_scale_degree_from_notation | in the wheel |
functionalityScore | ported | functionality_score | in the wheel |
isNeapolitan | ported | is_neapolitan | in the wheel |
isMixture | ported | is_mixture | in the wheel |
meter/base.py
crate 31 of 33The bar, the beats, the beams and the accent partitions, as the four MeterSequences music21 hangs off a meter; the tree is modelled here rather than the numbers being derived from the ratio alone.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
resetValues | missing | rebuilding a meter in place; a new one is built instead | in the wheel |
load | missing | rebuilding a meter in place; a new one is built instead | in the wheel |
ratioString | ported | ratio_string | in the wheel |
ratioEqual | ported | ratio_equal | in the wheel |
numerator | ported | numerator | in the wheel |
denominator | ported | denominator | in the wheel |
barDuration | ported | bar_duration | in the wheel |
beatLengthToQuarterLengthRatio | ported | beat_length_to_quarter_length_ratio | in the wheel |
quarterLengthToBeatLengthRatio | ported | quarter_length_to_beat_length_ratio | in the wheel |
beatCount | ported | beat_count | in the wheel |
beatCountName | ported | beat_count_name | in the wheel |
beatDuration | ported | beat_duration | in the wheel |
beatDivisionCount | ported | beat_division_count | in the wheel |
beatDivisionCountName | ported | beat_division_count_name | in the wheel |
beatDivisionDurations | ported | beat_division_durations | in the wheel |
beatSubDivisionDurations | ported | beat_sub_division_durations | in the wheel |
classification | ported | classification | in the wheel |
summedNumerator | ported | summed_numerator | in the wheel |
getBeams | ported | beams_for | in the wheel |
setDisplay | ported | set_display | in the wheel |
getAccent | ported | accent | in the wheel |
setAccentWeight | ported | set_accent_weight | in the wheel |
averageBeatStrength | ported | average_beat_strength | in the wheel |
getMeasureOffsetOrMeterModulusOffset | ported | offset_in_bar | in the wheel |
getAccentWeight | ported | accent_weight | in the wheel |
getBeat | ported | beat_at_offset | in the wheel |
getBeatOffsets | ported | beat_offsets | in the wheel |
getBeatDuration | ported | beat_duration | in the wheel |
getOffsetFromBeat | ported | offset_from_beat | in the wheel |
getBeatProgress | ported | beat_progress | in the wheel |
getBeatProportion | ported | beat_proportion | in the wheel |
getBeatProportionStr | ported | beat_proportion_string | in the wheel |
getBeatDepth | ported | beat_depth | in the wheel |
tempo.py
crate 10 of 10| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
referent | ported | referent | in the wheel |
numberSounding | ported | number_sounding | in the wheel |
getQuarterBPM | ported | quarter_bpm | in the wheel |
setQuarterBPM | ported | quarter_bpm | in the wheel |
getTextExpression | ported | text_expression | in the wheel |
getEquivalentByReferent | ported | equivalent_by_referent | in the wheel |
getMaintainedNumberWithReferent | ported | maintained_number_with_referent | in the wheel |
secondsPerQuarter | ported | seconds_per_quarter | in the wheel |
durationToSeconds | ported | duration_to_seconds | in the wheel |
secondsToDuration | ported | seconds_to_duration | in the wheel |
tempo.py
crate 8 of 8A change of tempo written as an equation between two metronome marks.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
oldMetronome | ported | old_metronome | in the wheel |
oldReferent | ported | old_referent | in the wheel |
newMetronome | ported | new_metronome | in the wheel |
newReferent | ported | new_referent | in the wheel |
number | ported | number | in the wheel |
updateByContext | ported | update_from | in the wheel |
setEqualityByReferent | ported | set_equality_by_referent | in the wheel |
setOtherByReferent | ported | set_other_by_referent | in the wheel |
instrument.py
crate 2 of 4One of music21's instrument classes, with what an instrument of it starts out as.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
partIdRandomize | missing | makes an id up out of the clock and a random number; the crate keeps the id a score gives (part_id) and makes none up, reading no clock -- the wheel gives a random one as music21 does | in the wheel |
instrumentIdRandomize | missing | makes an id up out of the clock and a random number; the crate keeps the id a score gives (instrument_id) and makes none up, reading no clock -- the wheel gives a random one as music21 does | in the wheel |
bestName | ported | best_name | in the wheel |
autoAssignMidiChannel | ported | auto_assign_midi_channel | in the wheel |
instrument.py
crate 1 of 1A string instrument's open strings, the only member music21 gives its string family.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
stringPitches | ported | string_pitches | in the wheel |
instrument.py
crate 1 of 1How an unpitched percussion instrument is played, and the drum that plays.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
modifier | ported | modifier | in the wheel |
instrument.py
crate 8 of 8Module-level helpers: finding an instrument by name or program, and what instruments do to a stream they stand in.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
unbundleInstruments | ported | unbundle_instruments | in the wheel |
bundleInstruments | ported | bundle_instruments | in the wheel |
ensembleNameBySize | ported | ensemble_name_by_size | in the wheel |
deduplicate | ported | deduplicate | in the wheel |
instrumentFromMidiProgram | ported | from_midi_program | in the wheel |
partitionByInstrument | ported | partition_by_instrument | in the wheel |
fromString | ported | from_name | in the wheel |
getAllNamesForInstrument | ported | all_names | in the wheel |
midi/percussion.py
crate 2 of 2The General MIDI percussion map, both ways: the instrument a key plays, played the way that key says, and the key an instrument is played by. music21's reverseInstrumentMapping is tables::PERCUSSION_KEYS.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
midiPitchToInstrument | ported | for_percussion_key | not in the wheel |
midiInstrumentToPitch | ported | percussion_pitch | not in the wheel |
duration.py
crate 22 of 24A quarter length, the note values it is written as, and the tuplets it is written inside.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
informClient | missing | observer callback for a containing note; there is none | in the wheel |
currentComponents | missing | the working-out is not deferred here, so there is no half-worked-out state to read | in the wheel |
linked | ported | linked | in the wheel |
addDurationTuple | ported | add_duration_tuple | in the wheel |
appendTuplet | ported | append_tuplet | in the wheel |
augmentOrDiminish | ported | augment_or_diminish | in the wheel |
clear | ported | clear | in the wheel |
componentIndexAtQtrPosition | ported | component_index_at_qtr_position | in the wheel |
componentStartTime | ported | component_start_time | in the wheel |
consolidate | ported | consolidate | in the wheel |
getGraceDuration | ported | grace_duration | in the wheel |
sliceComponentAtPosition | ported | slice_component_at_position | in the wheel |
splitDotGroups | ported | split_dot_groups | in the wheel |
components | ported | components | in the wheel |
dotGroups | ported | dot_groups | in the wheel |
dots | ported | dots | in the wheel |
fullName | ported | full_name | in the wheel |
isComplex | ported | is_complex | in the wheel |
ordinal | ported | ordinal | in the wheel |
quarterLengthNoTuplets | ported | quarter_length_no_tuplets | in the wheel |
quarterLength | ported | quarter_length | in the wheel |
tuplets | ported | tuplets | in the wheel |
aggregateTupletMultiplier | ported | aggregate_tuplet_multiplier | in the wheel |
type | ported | duration_type | in the wheel |
serial.py
crate 10 of 10| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
pitchClasses | ported | pitch_classes | in the wheel |
noteNames | ported | note_names | in the wheel |
isTwelveToneRow | ported | is_twelve_tone_row | in the wheel |
makeTwelveToneRow | ported | make_twelve_tone_row | in the wheel |
isSameRow | ported | is_same_row | in the wheel |
getIntervalsAsString | ported | intervals_as_string | in the wheel |
zeroCenteredTransformation | ported | zero_centered_transformation | in the wheel |
originalCenteredTransformation | ported | original_centered_transformation | in the wheel |
findZeroCenteredTransformations | ported | find_zero_centered_transformations | in the wheel |
findOriginalCenteredTransformations | ported | find_original_centered_transformations | in the wheel |
serial.py
crate 7 of 7| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
matrix | ported | matrix | in the wheel |
findHistorical | ported | find_historical | in the wheel |
findTransformedHistorical | ported | find_transformed_historical | in the wheel |
isAllInterval | ported | is_all_interval | in the wheel |
getLinkClassification | ported | link_classification | in the wheel |
isLinkChord | ported | is_link_chord | in the wheel |
areCombinatorial | ported | are_combinatorial | in the wheel |
serial.py
crate 3 of 3Module-level helpers.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getHistoricalRowByName | ported | historical_row_by_name | in the wheel |
pcToToneRow | ported | new | in the wheel |
rowToMatrix | ported | row_to_matrix | in the wheel |
voiceLeading.py
crate 30 of 30| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
key | ported | key | in the wheel |
v1n1 | ported | v1n1 | in the wheel |
v1n2 | ported | v1n2 | in the wheel |
v2n1 | ported | v2n1 | in the wheel |
v2n2 | ported | v2n2 | in the wheel |
motionType | ported | motion_type | in the wheel |
noMotion | ported | no_motion | in the wheel |
obliqueMotion | ported | oblique_motion | in the wheel |
similarMotion | ported | similar_motion | in the wheel |
parallelMotion | ported | parallel_motion | in the wheel |
contraryMotion | ported | contrary_motion | in the wheel |
outwardContraryMotion | ported | outward_contrary_motion | in the wheel |
inwardContraryMotion | ported | inward_contrary_motion | in the wheel |
antiParallelMotion | ported | anti_parallel_motion | in the wheel |
parallelInterval | ported | parallel_interval | in the wheel |
parallelFifth | ported | parallel_fifth | in the wheel |
parallelOctave | ported | parallel_octave | in the wheel |
parallelUnison | ported | parallel_unison | in the wheel |
parallelUnisonOrOctave | ported | parallel_unison_or_octave | in the wheel |
hiddenInterval | ported | hidden_interval | in the wheel |
hiddenFifth | ported | hidden_fifth | in the wheel |
hiddenOctave | ported | hidden_octave | in the wheel |
voiceOverlap | ported | voice_overlap | in the wheel |
voiceCrossing | ported | voice_crossing | in the wheel |
isProperResolution | ported | is_proper_resolution | in the wheel |
leapNotSetWithStep | ported | leap_not_set_with_step | in the wheel |
modalOpening | ported | modal_opening | in the wheel |
opensIncorrectly | ported | opens_incorrectly | in the wheel |
clausulaVera | ported | clausula_vera | in the wheel |
closesIncorrectly | ported | closes_incorrectly | in the wheel |
sieve.py
crate 4 of 9The sieve as written and its compressed reading: parse, membership, the segment formats and the interval widths of one period.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
expand | missing | which reading answers is not state on the sieve here; compressed hands back the other one and the sieve as written stays as it was | in the wheel |
setZ | missing | the range is an argument of each question here, not state on the sieve | in the wheel |
setZRange | missing | the range is an argument of each question here, not state on the sieve | in the wheel |
setSegmentFormat | missing | the segment format is an argument of each question here, not state on the sieve | in the wheel |
represent | missing | the sieve is written by Display, which is not a function the map can name | in the wheel |
compress | ported | compressed | in the wheel |
segment | ported | segment | in the wheel |
period | ported | period | in the wheel |
collect | ported | collect | in the wheel |
beam.py
crate 12 of 12All the beams over one note, and the rules for a run of them.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
naiveBeams | ported | naive_beams | in the wheel |
removeSandwichedUnbeamables | ported | remove_sandwiched_unbeamables | in the wheel |
mergeConnectingPartialBeams | ported | merge_connecting_partial_beams | in the wheel |
sanitizePartialBeams | ported | sanitize_partial_beams | in the wheel |
append | ported | append | in the wheel |
fill | ported | fill | in the wheel |
getByNumber | ported | by_number | in the wheel |
getNumbers | ported | numbers | in the wheel |
getTypeByNumber | ported | by_number | in the wheel |
getTypes | ported | types | in the wheel |
setAll | ported | set_all | in the wheel |
setByNumber | ported | set_by_number | in the wheel |
volume.py
crate 7 of 9How loud a note sounds, as a velocity and as a scalar.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
cachedRealized | missing | the crate caches nothing -- a value that answers the same question twice is doing arithmetic. The wheel caches as music21 does | in the wheel |
cachedRealizedStr | missing | the crate caches nothing -- a value that answers the same question twice is doing arithmetic. The wheel caches as music21 does | in the wheel |
getDynamicContext | ported | dynamic_context | in the wheel |
mergeAttributes | ported | merge_attributes | in the wheel |
getRealizedStr | ported | realized_str | in the wheel |
getRealized | ported | realized | in the wheel |
realized | ported | realized | in the wheel |
velocity | ported | velocity | in the wheel |
velocityScalar | ported | velocity_scalar | in the wheel |
volume.py
crate 1 of 1| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
realizeVolume | ported | realize_volume | in the wheel |
figuredBass/notation.py
crate 1 of 1One number of that column, with the accidental written against it.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
isPureExtender | ported | is_pure_extender | in the wheel |
figuredBass/notation.py
crate 2 of 2The mark as written beside the accidental it means: figured bass has marks no accidental name covers, a + that raises and a / that lowers.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
modifyPitchName | ported | modify_pitch_name | in the wheel |
modifyPitch | ported | modify | in the wheel |
figuredBass/notation.py
crate 1 of 1| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
convertToPitch | ported | convert_to_pitch | in the wheel |
sieve.py
crate 6 of 6The number helpers music21 keeps beside the sieve: primes, and spacings across the unit interval.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
eratosthenes | ported | eratosthenes | in the wheel |
rabinMiller | ported | rabin_miller | in the wheel |
discreteBinaryPad | ported | discrete_binary_pad | in the wheel |
unitNormRange | ported | unit_norm_range | in the wheel |
unitNormEqual | ported | unit_norm_equal | in the wheel |
unitNormStep | ported | unit_norm_step | in the wheel |
note.py
crate 8 of 8What every written note and chord has: a length, what is sung to it, and the marks over it. The crate has no type of its own for it -- the GeneralNote to NotRest to Note chain was mirrored here once as wrapper structs and taken out again -- so its members are matched against the types that carry them.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
tie | ported | tie | in the wheel |
lyric | ported | lyric | in the wheel |
addLyric | ported | add_lyric | in the wheel |
insertLyric | ported | insert_lyric | in the wheel |
fullName | ported | full_name | in the wheel |
pitches | ported | pitches | in the wheel |
augmentOrDiminish | ported | augment_or_diminish | in the wheel |
getGrace | ported | grace_note | in the wheel |
note.py
crate 8 of 8A note or chord as distinct from a rest: what it is written as, which way its stem goes, and how loud it sounds.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
stemDirection | ported | stem_direction | in the wheel |
notehead | ported | notehead | in the wheel |
noteheadFill | ported | notehead_fill | in the wheel |
noteheadParenthesis | ported | notehead_parenthesis | in the wheel |
hasVolumeInformation | ported | has_volume_information | in the wheel |
volume | ported | volume | in the wheel |
storedInstrument | ported | stored_instrument | in the wheel |
getInstrument | ported | instrument | in the wheel |
note.py
crate 7 of 7A syllable sung to a note.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
isComposite | ported | is_composite | in the wheel |
text | ported | text | in the wheel |
syllabic | ported | syllabic | in the wheel |
identifier | ported | identifier | in the wheel |
rawText | ported | raw_text | in the wheel |
number | ported | number | in the wheel |
setTextAndSyllabic | ported | set_text_and_syllabic | in the wheel |
note.py
crate 1 of 1A silence of a written length.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
fullName | ported | full_name | in the wheel |
chord/__init__.py
crate 7 of 7What a chord is before it is asked anything: the notes it holds, and adding to and taking from them.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
add | ported | add | in the wheel |
remove | ported | remove | in the wheel |
notes | ported | notes | in the wheel |
tie | ported | tie | in the wheel |
volume | ported | volume | in the wheel |
hasComponentVolumes | ported | has_component_volumes | in the wheel |
setVolumes | ported | set_volumes | in the wheel |
duration.py
crate 10 of 10The bracket that says a length is written as one thing and sounds as another.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
augmentOrDiminish | ported | augment_or_diminish | in the wheel |
setDurationType | ported | set_duration_type | in the wheel |
setRatio | ported | set_ratio | in the wheel |
totalTupletLength | ported | total_tuplet_length | in the wheel |
tupletMultiplier | ported | multiplier | in the wheel |
durationActual | ported | duration_actual | in the wheel |
durationNormal | ported | duration_normal | in the wheel |
fullName | ported | full_name | in the wheel |
tupletActual | ported | tuplet_actual | in the wheel |
tupletNormal | ported | tuplet_normal | in the wheel |
note.py
crate 7 of 8A pitch and an optional duration.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
pitchChanged | missing | observer callback; there is none | in the wheel |
name | ported | pitch_name | in the wheel |
nameWithOctave | ported | pitch_name_with_octave | in the wheel |
step | ported | step | in the wheel |
octave | ported | octave | in the wheel |
pitches | ported | pitches | in the wheel |
transpose | ported | transpose | in the wheel |
fullName | ported | full_name | in the wheel |
harmony.py
crate 3 of 3| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
findFigure | ported | find_figure | in the wheel |
inversionIsValid | ported | inversion_is_valid | in the wheel |
transpose | ported | transpose | in the wheel |
pitch.py
crate 4 of 4Module-level helpers.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
isValidAccidentalName | ported | is_valid_name | in the wheel |
standardizeAccidentalName | ported | standardize_name | in the wheel |
convertPitchClassToStr | ported | convert_pitch_class_to_str | in the wheel |
simplifyMultipleEnharmonics | ported | simplify_multiple_enharmonics | in the wheel |
key.py
crate 3 of 3Module-level helpers.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
convertKeyStringToMusic21KeyString | ported | convert_key_string_to_music21_key_string | in the wheel |
sharpsToPitch | ported | sharps_to_pitch | in the wheel |
pitchToSharps | ported | pitch_to_sharps | in the wheel |
duration.py
crate 12 of 12Module-level helpers.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
nextLargerType | ported | next_larger | in the wheel |
nextSmallerType | ported | next_smaller | in the wheel |
quarterLengthToClosestType | ported | quarter_length_to_closest_type | in the wheel |
convertQuarterLengthToType | ported | from_quarter_length | in the wheel |
dottedMatch | ported | type_and_dots | in the wheel |
quarterLengthToNonPowerOf2Tuplet | ported | quarter_length_to_non_power_of_2_tuplet | in the wheel |
quarterLengthToTuplet | ported | quarter_length_to_tuplet | in the wheel |
quarterConversion | ported | quarter_conversion | in the wheel |
convertTypeToQuarterLength | ported | quarter_length | in the wheel |
convertTypeToNumber | ported | type_number | in the wheel |
durationTupleFromQuarterLength | ported | type_and_dots | in the wheel |
durationTupleFromTypeDots | ported | from_type_with_dots | in the wheel |
tempo.py
crate 2 of 2Module-level helpers.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
convertTempoByReferent | ported | convert_tempo_by_referent | in the wheel |
interpolateElements | ported | interpolate_elements | in the wheel |
roman.py
crate 8 of 8Module-level helpers.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
expandShortHand | ported | expand_shorthand | in the wheel |
correctSuffixForChordQuality | ported | correct_suffix_for_chord_quality | in the wheel |
figureTuples | ported | figure_tuples | in the wheel |
figureTupleSolo | ported | from_pitch_and_reference | in the wheel |
identifyAsTonicOrDominant | ported | identify_as_tonic_or_dominant | in the wheel |
romanInversionName | ported | roman_inversion_name | in the wheel |
correctRNAlterationForMinor | ported | correct_rn_alteration_for_minor | in the wheel |
romanNumeralFromChord | ported | roman_numeral_from_chord | in the wheel |
chord/__init__.py
crate 2 of 2Module-level helpers.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
fromForteClass | ported | from_forte_class | in the wheel |
fromIntervalVector | ported | from_interval_vector | in the wheel |
chord/tables.py
crate 9 of 9The Forte tables of set classes, read without a chord in hand. The data is generated from music21's own and checked by xtask verify-tables.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
forteIndexToInversionsAvailable | ported | inversions_available | in the wheel |
addressToTransposedNormalForm | ported | normal_form | in the wheel |
addressToPrimeForm | ported | prime_form | in the wheel |
addressToIntervalVector | ported | interval_class_vector | in the wheel |
intervalVectorToAddress | ported | set_classes_with_interval_vector | in the wheel |
addressToZAddress | ported | z_related_class | in the wheel |
addressToCommonNames | ported | common_names | in the wheel |
addressToForteName | ported | forte_name | in the wheel |
seekChordTablesAddress | ported | address_of_pitch_classes | in the wheel |
romanText/tsvConverter.py
crate 3 of 3One row of the lab's tabular analysis, read: the columns both of its standards share, the label music21 builds a numeral from, and the chord that numeral stands for. The one row type here reads a row of either standard, as music21's two subclasses do between them.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
combinedChord | ported | chord | not in the wheel |
tabToM21 | ported | element | not in the wheel |
populateFromRow | ported | from_row | not in the wheel |
romanText/tsvConverter.py
crate 4 of 4What the lab's second standard renamed: the measure and the onset it writes as mn and mn_onset, and the keys it writes without the underscore.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
beat | ported | beat | not in the wheel |
measure | ported | measure | not in the wheel |
local_key | ported | local_key | not in the wheel |
global_key | ported | global_key | not in the wheel |
romanText/tsvConverter.py
crate 2 of 3A table read: the rows, and the score of numerals they make.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
prepStream | missing | a step inside the reader: from_tsv prepares the measures from the table's own numbers and meters itself and hands back the whole score | not in the wheel |
tsvToChords | ported | tsv_to_chords | not in the wheel |
toM21Stream | ported | from_tsv | not in the wheel |
romanText/tsvConverter.py
crate 1 of 2A score written back as a table, column for column.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
write | missing | writes a file, which the library does not do: to_tsv hands back the text | not in the wheel |
m21ToTsv | ported | to_tsv | not in the wheel |
romanText/tsvConverter.py
crate 7 of 7Module-level helpers: the swaps between the two notations, a local key read as a degree or as a key of its own, and the form, the figured bass and the added tones a label writes.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getForm | ported | form_of | not in the wheel |
handleAddedTones | ported | handle_added_tones | not in the wheel |
localKeyAsRn | ported | local_key_as_roman | not in the wheel |
isMinor | ported | is_minor | not in the wheel |
characterSwaps | ported | character_swaps | not in the wheel |
getLocalKey | ported | local_key | not in the wheel |
getSecondaryKey | ported | secondary_key | not in the wheel |
romanText/clercqTemperley.py
crate 7 of 8A de Clercq-Temperley analysis of the rock corpus as its text says it: the title, the comments, the rules, and the key and the meter the song opens in.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
toScore | missing | music21's own deprecated name for toPart, which it will take out | not in the wheel |
parse | ported | parse | not in the wheel |
title | ported | title | not in the wheel |
comments | ported | comments | not in the wheel |
rules | ported | rules | not in the wheel |
homeTimeSig | ported | home_time_signature | not in the wheel |
homeKey | ported | home_key | not in the wheel |
toPart | ported | to_part | not in the wheel |
romanText/clercqTemperley.py
crate 7 of 12One rule of a song, a line of its text: its name, the section it stands for, its chords, its comment, and the measures it expands to.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
parent | missing | music21 keeps a weak reference from a rule back to the song holding it, and reads the rule's key, meter and other rules through it; a song here expands its own rules (CtSong::to_part), so nothing needs the way back | not in the wheel |
expandExpansionContent | missing | a step inside the expansion, which the crate drives from the song rather than from the rule keeping the state | not in the wheel |
expandSimpleContent | missing | a step inside the expansion, as expandExpansionContent | not in the wheel |
addOptionalTieAndLyrics | missing | a step inside the expansion, which ties the chord before as it writes the one after | not in the wheel |
insertKsTs | missing | a step inside the expansion: the crate writes the key and the meter into a measure as it builds it | not in the wheel |
expand | ported | expand | not in the wheel |
isSame | ported | is_same | not in the wheel |
fixupChordAtom | ported | fixup_chord_atom | not in the wheel |
musicText | ported | music_text | not in the wheel |
comment | ported | comment | not in the wheel |
LHS | ported | left_hand_side | not in the wheel |
sectionName | ported | section_name | not in the wheel |
harmony.py
crate 7 of 10Module-level helpers.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
addNewChordSymbol | missing | mutates music21's global chord-type table; the crate's is a constant, and the wheel's chord symbols read music21's live table wherever music21 is there to edit it | not in the wheel |
changeAbbreviationFor | missing | mutates music21's global chord-type table; the crate's is a constant, and the wheel's chord symbols read music21's live table wherever music21 is there to edit it | not in the wheel |
removeChordSymbols | missing | mutates music21's global chord-type table; the crate's is a constant, and the wheel's chord symbols read music21's live table wherever music21 is there to edit it | not in the wheel |
chordSymbolFigureFromChord | ported | chord_symbol_figure_from_chord | in the wheel |
alterToChordSymbolString | ported | alter_to_chord_symbol_string | in the wheel |
chordSymbolFromChord | ported | chord_symbol_from_chord | in the wheel |
getAbbreviationListGivenChordType | ported | abbreviations_for_kind | in the wheel |
getCurrentAbbreviationFor | ported | current_abbreviation_for_kind | in the wheel |
getNotationStringGivenChordType | ported | notation_for_kind | in the wheel |
realizeChordSymbolDurations | ported | realize_chord_symbol_durations | in the wheel |
meter/base.py
crate 1 of 1Module-level helpers.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
bestTimeSignature | ported | best_time_signature | in the wheel |
scale/scala/__init__.py
crate 7 of 7A Scala scale as its file writes it: a description, a degree a line and the interval it repeats at. ScalaFile is left out because it is file IO, which this library leaves to its caller.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
parse | ported | parse | in the wheel |
getCentsAboveTonic | ported | written_cents | in the wheel |
getAdjacentCents | ported | adjacent_cents | in the wheel |
setAdjacentCents | ported | from_adjacent_cents | in the wheel |
getIntervalSequence | ported | interval_sequence | in the wheel |
setIntervalSequence | ported | from_interval_sequence | in the wheel |
getFileString | ported | file_string | in the wheel |
scale/scala/__init__.py
crate 2 of 3Module-level helpers.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getPaths | missing | where the archive's files sit on disk; the archive here is one bundled table and has no paths | not in the wheel |
parse | ported | find | in the wheel |
search | ported | search | in the wheel |
tie.py
crate 3 of 4Two written notes sounding as one, and how the tie between them is drawn.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
id | missing | the address of the Python object, which is how music21 tells one tie from another; a tie here is a value its note holds, and has no identity apart from it | in the wheel |
placement | ported | placement | in the wheel |
style | ported | style | in the wheel |
type | ported | tie_type | in the wheel |
meter/core.py
crate 10 of 10A span of a bar written as a ratio, which is what a meter's partitions are made of.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
ratioEqual | ported | ratio_equal | in the wheel |
subdivideByCount | ported | subdivide_by_count | in the wheel |
subdivideByList | ported | subdivide_by_list | in the wheel |
subdivideByOther | ported | subdivide_by_other | in the wheel |
subdivide | ported | subdivide | in the wheel |
weight | ported | weight | in the wheel |
numerator | ported | numerator | in the wheel |
denominator | ported | denominator | in the wheel |
duration | ported | quarter_length | in the wheel |
depth | ported | depth | in the wheel |
meter/core.py
crate 23 of 25A span divided into parts, each of them a span in turn, which is the tree every meter question is read off.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
partition | missing | one setter dispatching on the type of what it is handed; the three partitions it dispatches to are each ported | in the wheel |
load | missing | rebuilding a sequence in place; a new one is built instead | in the wheel |
partitionDisplay | ported | partition_display | in the wheel |
getPartitionOptions | ported | partition_options | in the wheel |
partitionByCount | ported | partition_by_count | in the wheel |
partitionByList | ported | partition_by_list | in the wheel |
partitionByOtherMeterSequence | ported | partition_by_other | in the wheel |
subdividePartitionsEqual | ported | subdivide_partitions_equal | in the wheel |
subdivideNestedHierarchy | ported | subdivide_nested_hierarchy | in the wheel |
partitionStr | ported | partition_string | in the wheel |
weight | ported | weight | in the wheel |
flatten | ported | flatten | in the wheel |
flatWeight | ported | flat_weights | in the wheel |
depth | ported | depth | in the wheel |
isUniformPartition | ported | is_uniform_partition | in the wheel |
getLevelList | ported | level_list | in the wheel |
getLevel | ported | level | in the wheel |
getLevelSpan | ported | level_span | in the wheel |
getLevelWeight | ported | level_weight | in the wheel |
setLevelWeight | ported | set_level_weight | in the wheel |
offsetToIndex | ported | offset_to_index | in the wheel |
offsetToAddress | ported | offset_to_address | in the wheel |
offsetToSpan | ported | offset_to_span | in the wheel |
offsetToWeight | ported | offset_to_weight | in the wheel |
offsetToDepth | ported | offset_to_depth | in the wheel |
voiceLeading.py
crate 2 of 2Module-level helpers.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getVerticalityFromObject | ported | verticality_at | in the wheel |
iterateAllVoiceLeadingQuartets | ported | iterate_all_voice_leading_quartets | in the wheel |
dynamics.py
crate 2 of 2A dynamic mark and the loudness it stands for. In a stream it is in force until the next, which is what realize_volume reads.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
value | ported | value | in the wheel |
volumeScalar | ported | volume_scalar | in the wheel |
dynamics.py
crate 1 of 1Module-level helpers.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
dynamicStrFromDecimal | ported | dynamic_str_from_decimal | in the wheel |
clef.py
crate 3 of 3A clef: its sign, the line it sits on, the octaves it transposes and the note on its lowest line.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
octaveChange | ported | octave_change | in the wheel |
name | ported | name | in the wheel |
getStemDirectionForPitches | ported | stem_direction_for_pitches | in the wheel |
clef.py
crate 1 of 1A clef that places pitches, whose lowest line moves with its octave change.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
octaveChange | ported | octave_change | in the wheel |
clef.py
crate 2 of 2Module-level helpers.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
clefFromString | ported | from_string | in the wheel |
bestClef | ported | best_for | in the wheel |
articulations.py
crate 2 of 2A mark on a note saying how it is played: how much louder, how much shorter, and which part of a tied note keeps it.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
name | ported | name | in the wheel |
volumeShift | ported | volume_shift | in the wheel |
expressions.py
crate 4 of 5An ornament and the notes it is played as: its ornamental pitches and its realization over a note in a key.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
fillListOfRealizedNotes | missing | a helper realize fills its lists with; realize is ported | in the wheel |
realize | ported | realize | in the wheel |
resolveOrnamentalPitches | ported | ornamental_pitches | in the wheel |
ornamentalPitches | ported | ornamental_pitches | in the wheel |
updateAccidentalDisplay | ported | update_accidental_display | in the wheel |
expressions.py
crate 9 of 9| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
name | ported | name | in the wheel |
accidental | ported | accidental | in the wheel |
direction | ported | direction | in the wheel |
getSize | ported | size | in the wheel |
resolveOrnamentalPitches | ported | ornamental_pitches | in the wheel |
ornamentalPitch | ported | ornamental_pitches | in the wheel |
ornamentalPitches | ported | ornamental_pitches | in the wheel |
updateAccidentalDisplay | ported | update_accidental_display | in the wheel |
realize | ported | realize | in the wheel |
expressions.py
crate 10 of 10| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
name | ported | name | in the wheel |
direction | ported | direction | in the wheel |
accidental | ported | accidental | in the wheel |
splitClient | ported | split_client | in the wheel |
getSize | ported | size | in the wheel |
resolveOrnamentalPitches | ported | ornamental_pitches | in the wheel |
ornamentalPitch | ported | ornamental_pitches | in the wheel |
ornamentalPitches | ported | ornamental_pitches | in the wheel |
updateAccidentalDisplay | ported | update_accidental_display | in the wheel |
realize | ported | realize | in the wheel |
expressions.py
crate 12 of 12| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
upperAccidental | ported | upper_accidental | in the wheel |
lowerAccidental | ported | lower_accidental | in the wheel |
delay | ported | delay | in the wheel |
isDelayed | ported | is_delayed | in the wheel |
name | ported | name | in the wheel |
getSize | ported | turn_size | in the wheel |
resolveOrnamentalPitches | ported | ornamental_pitches | in the wheel |
upperOrnamentalPitch | ported | ornamental_pitches | in the wheel |
lowerOrnamentalPitch | ported | ornamental_pitches | in the wheel |
ornamentalPitches | ported | ornamental_pitches | in the wheel |
updateAccidentalDisplay | ported | update_accidental_display | in the wheel |
realize | ported | realize | in the wheel |
expressions.py
crate 1 of 1| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
realize | ported | realize | in the wheel |
expressions.py
crate 2 of 2| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
numberOfMarks | ported | number_of_marks | in the wheel |
realize | ported | realize | in the wheel |
figuredBass/possibility.py
crate 15 of 15The rules a voicing of a figured bass is held to, alone and moving to the next.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
voiceCrossing | ported | voice_crossing | in the wheel |
isIncomplete | ported | is_incomplete | in the wheel |
upperPartsWithinLimit | ported | upper_parts_within_limit | in the wheel |
pitchesWithinLimit | ported | pitches_within_limit | in the wheel |
limitPartToPitch | ported | limit_part_to_pitch | in the wheel |
parallelFifths | ported | parallel_fifths | in the wheel |
parallelOctaves | ported | parallel_octaves | in the wheel |
hiddenFifths | ported | hidden_fifths | in the wheel |
hiddenOctaves | ported | hidden_octaves | in the wheel |
voiceOverlap | ported | voice_overlap | in the wheel |
partMovementsWithinLimits | ported | part_movements_within_limits | in the wheel |
upperPartsSame | ported | upper_parts_same | in the wheel |
partsSame | ported | parts_same | in the wheel |
couldBeItalianA6Resolution | ported | could_be_italian_a6_resolution | in the wheel |
partPairs | ported | part_pairs | in the wheel |
figuredBass/resolution.py
crate 13 of 14How a dominant seventh, a diminished seventh or an augmented sixth resolves, voiced part for part.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
showResolutions | missing | puts the voicings in a score and opens it in another program; Realization::generate_realization_from_possibility_progression writes voicings as a score, and opening a program is the caller's to do | not in the wheel |
augmentedSixthToDominant | ported | augmented_sixth_to_dominant | in the wheel |
augmentedSixthToMajorTonic | ported | augmented_sixth_to_major_tonic | in the wheel |
augmentedSixthToMinorTonic | ported | augmented_sixth_to_minor_tonic | in the wheel |
dominantSeventhToMajorTonic | ported | dominant_seventh_to_major_tonic | in the wheel |
dominantSeventhToMinorTonic | ported | dominant_seventh_to_minor_tonic | in the wheel |
dominantSeventhToMajorSubmediant | ported | dominant_seventh_to_major_submediant | in the wheel |
dominantSeventhToMinorSubmediant | ported | dominant_seventh_to_minor_submediant | in the wheel |
dominantSeventhToMajorSubdominant | ported | dominant_seventh_to_major_subdominant | in the wheel |
dominantSeventhToMinorSubdominant | ported | dominant_seventh_to_minor_subdominant | in the wheel |
diminishedSeventhToMajorTonic | ported | diminished_seventh_to_major_tonic | in the wheel |
diminishedSeventhToMinorTonic | ported | diminished_seventh_to_minor_tonic | in the wheel |
diminishedSeventhToMajorSubdominant | ported | diminished_seventh_to_major_subdominant | in the wheel |
diminishedSeventhToMinorSubdominant | ported | diminished_seventh_to_minor_subdominant | in the wheel |
figuredBass/realizerScale.py
crate 3 of 3The key a figured bass is counted in, and the notes a bass and its figures stand for.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getPitchNames | ported | pitch_names | in the wheel |
getSamplePitches | ported | sample_pitches | in the wheel |
getPitches | ported | pitches | in the wheel |
figuredBass/segment.py
crate 6 of 9A bass note and its figures, every voicing of them, and the moves to the next.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
singlePossibilityRules | missing | music21's table of its own Python functions for printing; the rules are Rules and the segment runs them | in the wheel |
consecutivePossibilityRules | missing | music21's table of its own Python functions for printing; the rules are Rules and the segment runs them | in the wheel |
specialResolutionRules | missing | music21's table of its own Python functions for printing; the rules are Rules and the segment runs them | in the wheel |
resolveDominantSeventhSegment | ported | resolve_dominant_seventh_segment | in the wheel |
resolveDiminishedSeventhSegment | ported | resolve_diminished_seventh_segment | in the wheel |
resolveAugmentedSixthSegment | ported | resolve_augmented_sixth_segment | in the wheel |
allSinglePossibilities | ported | all_single_possibilities | in the wheel |
allCorrectSinglePossibilities | ported | all_correct_single_possibilities | in the wheel |
allCorrectConsecutivePossibilities | ported | all_correct_consecutive_possibilities | in the wheel |
figuredBass/segment.py
crate 1 of 2Module-level helpers.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
printRules | missing | prints music21's rule tables, which hold its Python functions | not in the wheel |
getPitches | ported | pitches | in the wheel |
figuredBass/realizer.py
crate 5 of 5A bass line and its figures in a key and a meter, written out as a part, and realized into every voicing that keeps the rules -- and keeps any part laid over it.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
addElement | ported | add_element | in the wheel |
generateBassLine | ported | generate_bass_line | in the wheel |
retrieveSegments | ported | segments | in the wheel |
overlayPart | ported | overlay_part | in the wheel |
realize | ported | realize | in the wheel |
figuredBass/realizer.py
crate 7 of 7Every way of voicing a line: counted, listed, chosen from, and written out as a score in keyboard or chorale style. Where music21 chooses at random the caller chooses.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getNumSolutions | ported | num_solutions | in the wheel |
getAllPossibilityProgressions | ported | all_possibility_progressions | in the wheel |
getRandomPossibilityProgression | ported | possibility_progression_by | in the wheel |
generateRealizationFromPossibilityProgression | ported | generate_realization_from_possibility_progression | in the wheel |
generateAllRealizations | ported | generate_all_realizations | in the wheel |
generateRandomRealization | ported | generate_random_realization | in the wheel |
generateRandomRealizations | ported | generate_random_realizations | in the wheel |
analysis/discrete.py
crate 3 of 6Key finding by correlating a duration-weighted pitch-class distribution with one of five key profiles.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
solutionLegend | missing | the colour legend of a keyscape graph; presentation | not in the wheel |
solutionUnitString | missing | the unit a graph's legend is labelled with; presentation | not in the wheel |
solutionToColor | missing | the colour a key is drawn in; presentation | not in the wheel |
process | ported | estimate_key_from_distribution | not in the wheel |
getWeights | ported | major_weights | in the wheel |
getSolution | ported | estimate_key_from_distribution | in the wheel |
analysis/discrete.py
crate 3 of 6| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
solutionLegend | missing | the colour legend of a graph; presentation | not in the wheel |
solutionUnitString | missing | the unit a graph's legend is labelled with; presentation | not in the wheel |
solutionToColor | missing | the colour a span is drawn in; presentation | not in the wheel |
process | ported | pitch_span | not in the wheel |
getPitchSpan | ported | pitch_span | in the wheel |
getSolution | ported | pitch_span | in the wheel |
analysis/discrete.py
crate 3 of 4| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
solutionToColor | missing | the colour a count is drawn in; presentation | in the wheel |
countMelodicIntervals | ported | melodic_interval_counts | in the wheel |
process | ported | melodic_interval_counts | in the wheel |
getSolution | ported | melodic_interval_counts | in the wheel |
analysis/enharmonics.py
crate 5 of 6The best spelling of a run of pitches, scored on augmented and diminished steps, accidentals and their mixture.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getProduct | missing | lists every combination of the spellings at once; best_choice walks them one at a time | in the wheel |
getRepresentations | ported | spelling_options | in the wheel |
bestPitches | ported | best_spelling | in the wheel |
getAlterationScore | ported | alteration_score | in the wheel |
getMixSharpFlatsScore | ported | mixture_score | in the wheel |
getAugDimScore | ported | aug_dim_score | in the wheel |
analysis/neoRiemannian.py
crate 12 of 12L, P and R, their chains, the hexatonic cycle and systems, and the chromatic and disjunct mediants.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
L | ported | apply | in the wheel |
P | ported | apply | in the wheel |
R | ported | apply | in the wheel |
isNeoR | ported | is_neo_r | in the wheel |
isChromaticMediant | ported | is_chromatic_mediant | in the wheel |
LRP_combinations | ported | lrp_combination | in the wheel |
completeHexatonic | ported | complete_hexatonic | in the wheel |
hexatonicSystem | ported | hexatonic_system | in the wheel |
chromaticMediants | ported | chromatic_mediant | in the wheel |
disjunctMediants | ported | disjunct_mediant | in the wheel |
S | ported | slide | in the wheel |
N | ported | nebenverwandt | in the wheel |
analysis/harmonicFunction.py
crate 2 of 2The eighteen harmonic function labels and the Roman numerals they stand for, in either mode.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
functionToRoman | ported | to_roman | in the wheel |
romanToFunction | ported | from_roman | in the wheel |
analysis/transposition.py
crate 6 of 6A set of pitches in all twelve transpositions, and how many of them differ.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getTranspositions | ported | transpositions | in the wheel |
listNormalOrders | ported | normal_orders | in the wheel |
listDistinctNormalOrders | ported | distinct_normal_orders | in the wheel |
numDistinctTranspositions | ported | distinct_count | in the wheel |
getChordsOfDistinctTranspositions | ported | distinct_chords | in the wheel |
getPitchesOfDistinctTranspositions | ported | distinct_pitches | in the wheel |
analysis/patel.py
crate 2 of 2The normalized pairwise variability of a rhythm and the melodic interval variability of a line.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
nPVI | ported | n_pvi | in the wheel |
melodicIntervalVariability | ported | melodic_interval_variability | in the wheel |
analysis/metrical.py
crate 2 of 2The depth of the metrical hierarchy at each note, and Thomassen's melodic accent.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
labelBeatDepth | ported | label_beat_depth | in the wheel |
thomassenMelodicAccent | ported | thomassen_melodic_accent | in the wheel |
analysis/segmentByRests.py
crate 2 of 2A part cut into its runs of notes between rests and clefs, and the intervals inside them.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getSegmentsList | ported | segments_list | in the wheel |
getIntervalList | ported | interval_list | in the wheel |
analysis/pitchAnalysis.py
crate 1 of 1How often each value of a property of a stream's pitches comes.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
pitchAttributeCount | ported | pitch_attribute_count | in the wheel |
analysis/windowed.py
crate 3 of 3A stream cut into quarter-note windows, and an analysis run over windows of each size.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getMinimumWindowStream | ported | new | in the wheel |
analyze | ported | analyze | in the wheel |
process | ported | process | in the wheel |
analysis/floatingKey.py
crate 4 of 4A key for every measure, each measure's reading smoothed by its neighbours'.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
run | ported | run | in the wheel |
getRawKeyByMeasure | ported | raw_key_by_measure | in the wheel |
getInterpretationByMeasure | ported | interpretation_by_measure | in the wheel |
smoothInterpretationByMeasure | ported | smooth_interpretation_by_measure | in the wheel |
analysis/floatingKey.py
crate 1 of 1| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
divide | ported | divide | in the wheel |
humdrum/harmParser.py
crate 1 of 1The harmonic annotations a **harm spine carries, read as the roman numerals they stand for.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
convertHarmToRoman | ported | convert_harm_to_roman | not in the wheel |
humdrum/harmParser.py
crate 1 of 1A **harm token read: the accidental, the degree, the quality, the intervals, the inversion, an alternative reading and a secondary function. music21 reads it with the regular expressions of its HarmDefs, which the crate has none of -- Harm::parse reads the token by hand in the same order, and ROOTS is the table of degrees.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
parse | ported | parse | not in the wheel |
bar.py
crate 2 of 2How a measure is closed. A crate measure keeps one as its own left_barline or right_barline, and a barline standing inside a measure is an element of the stream.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
type | ported | bar_type | in the wheel |
musicXMLBarStyle | ported | musicxml_bar_style | in the wheel |
bar.py
crate 3 of 3A barline that says which way the music goes back. A crate barline carries the direction and the times, so a repeat is a barline that has them.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
direction | ported | repeat_direction | in the wheel |
times | ported | repeat_times | in the wheel |
getTextExpression | ported | repeat_text_expression | in the wheel |
stream/base.py
crate 98 of 131Music on a timeline, and the subclasses music21 nests inside one another: Measure, Part, PartStaff, Score, Voice and Opus are all read here, since the crate has one Stream with a StreamKind where music21 has seven classes. What makes an object a *member* of a music21 stream is deliberately absent -- sites, contexts, derivations, activeSite -- so the members that ask an element where it sits, or ask the stream to hold somebody else's object, are excluded with their reasons. The notation methods live in makenotation, what a bar and a beat last in meter, and the variant methods in variant, which is where music21 keeps them too.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
write | missing | writing a file, which the format modules do | not in the wheel |
show | missing | rendering, which the crate leaves to its caller | not in the wheel |
first | missing | as elementOffset: events answers in order | not in the wheel |
last | missing | as elementOffset: events answers in order | not in the wheel |
clear | missing | empties a stream in place; clone_empty answers an empty one of the same kind | not in the wheel |
mergeAttributes | missing | what clone_empty carries over | not in the wheel |
index | missing | as elementOffset | not in the wheel |
storeAtEnd | missing | elements music21 keeps at the right barline rather than at an offset; a measure's barlines are its own here | not in the wheel |
isAtEnd | missing | needs the sites a crate stream does not keep | not in the wheel |
setDerivationMethod | missing | derivations, which a crate stream does not keep | not in the wheel |
replace | missing | swaps one object for another; events_mut reaches each in place | not in the wheel |
recurseRepr | missing | music21's own text dump of a stream | not in the wheel |
plot | missing | plotting, which the crate leaves to its caller | not in the wheel |
addGroupForElements | missing | the group names music21 picks elements out of a stream by; nothing a crate stream holds carries them | not in the wheel |
getElementsByGroup | missing | as addGroupForElements | not in the wheel |
getElementById | missing | an id on every element, which only a stream and a note carry here | not in the wheel |
transferOffsetToElements | missing | moves a stream's own offset onto what it holds, which needs the sites a crate stream does not keep | not in the wheel |
haveAccidentalsBeenMade | missing | a flag music21 keeps on the stream; nothing here remembers having been asked | not in the wheel |
sort | missing | a crate stream is in offset order as it is built | not in the wheel |
containerInHierarchy | missing | needs the sites a crate stream does not keep | not in the wheel |
makeImmutable | missing | music21's mutability machinery, which a value has no need of | not in the wheel |
makeMutable | missing | as makeImmutable | not in the wheel |
duration | missing | a crate stream has no Duration of its own; highest_time answers when the last thing in it ends | not in the wheel |
beat | missing | where one element sits in its bar; placed answers it for every element at once, and beat_and_measure_from_offset for a point | not in the wheel |
beatStr | missing | as beat | not in the wheel |
beatStrength | missing | as beat | not in the wheel |
attachMelodicIntervals | missing | attaches an interval to each note; melodic_intervals answers them instead, a crate note carrying nothing of its line | not in the wheel |
clef | missing | the clef a stream opens with; the clef in force is read by in_force_before, a crate stream keeping no clef of its own | in the wheel |
remove | missing | takes a named object out; retain_leaves and remove_event take out by place or by test | in the wheel |
setElementOffset | missing | as elementOffset: events_mut reaches each in place | in the wheel |
elementOffset | missing | asks where one object sits; a crate stream owns values rather than objects, so events gives each with its offset | in the wheel |
measure | missing | one measure by its number; measures answers them all, each carrying its own number | in the wheel |
sorted | missing | as sort | in the wheel |
iter | ported | iter | not in the wheel |
splitAtDurations | ported | split_at_durations | not in the wheel |
beatDuration | ported | beat_duration | not in the wheel |
activateVariants | ported | activate_variants | not in the wheel |
showVariantAsOssialikePart | ported | show_variant_as_ossialike_part | not in the wheel |
elements | ported | events | in the wheel |
timeSignature | ported | time_signature_at | in the wheel |
keySignature | ported | key_signature_at | in the wheel |
staffLines | ported | staff_lines | in the wheel |
cloneEmpty | ported | clone_empty | in the wheel |
hasElementOfClass | ported | has_element_of_class | in the wheel |
mergeElements | ported | merge_elements | in the wheel |
pop | ported | remove_event | in the wheel |
removeByClass | ported | remove_by_class | in the wheel |
removeByNotOfClass | ported | remove_by_not_of_class | in the wheel |
insert | ported | insert | in the wheel |
insertIntoNoteOrChord | ported | insert_into_note_or_chord | in the wheel |
append | ported | push | in the wheel |
insertAndShift | ported | insert_and_shift | in the wheel |
splitAtQuarterLength | ported | split_at_quarter_length | in the wheel |
analyze | ported | analyze | in the wheel |
getElementsByClass | ported | elements_of_class | in the wheel |
getElementsNotOfClass | ported | elements_not_of_class | in the wheel |
getElementsByOffset | ported | elements_in_span | in the wheel |
getElementAtOrBefore | ported | element_at_or_before | in the wheel |
getElementBeforeOffset | ported | element_before_offset | in the wheel |
getElementAfterElement | ported | element_after | in the wheel |
measures | ported | measures | in the wheel |
template | ported | template | in the wheel |
measureOffsetMap | ported | measure_offset_map | in the wheel |
finalBarline | ported | final_barline | in the wheel |
voices | ported | voices | in the wheel |
spanners | ported | spanners | in the wheel |
atSoundingPitch | ported | at_sounding_pitch | in the wheel |
toSoundingPitch | ported | to_sounding_pitch | in the wheel |
toWrittenPitch | ported | to_written_pitch | in the wheel |
getTimeSignatures | ported | time_signatures | in the wheel |
getInstruments | ported | instruments | in the wheel |
getInstrument | ported | instrument | in the wheel |
invertDiatonic | ported | invert_diatonic | in the wheel |
shiftElements | ported | shift_elements | in the wheel |
repeatAppend | ported | repeat_append | in the wheel |
repeatInsert | ported | repeat_insert | in the wheel |
extractContext | ported | extract_context | in the wheel |
chordify | ported | chordify | in the wheel |
splitByClass | ported | split_by | in the wheel |
offsetMap | ported | offset_map | in the wheel |
makeMeasures | ported | make_measures | in the wheel |
makeRests | ported | make_rests | in the wheel |
makeTies | ported | make_ties | in the wheel |
makeBeams | ported | make_beams | in the wheel |
makeAccidentals | ported | make_accidentals | in the wheel |
makeNotation | ported | make_notation | in the wheel |
extendDuration | ported | extend_duration | in the wheel |
stripTies | ported | strip_ties | in the wheel |
extendTies | ported | extend_ties | in the wheel |
flatten | ported | flatten | in the wheel |
recurse | ported | recurse | in the wheel |
highestOffset | ported | highest_offset | in the wheel |
highestTime | ported | highest_time | in the wheel |
lowestOffset | ported | lowest_offset | in the wheel |
seconds | ported | seconds | in the wheel |
metronomeMarkBoundaries | ported | metronome_mark_boundaries | in the wheel |
metadata | ported | metadata | in the wheel |
beatAndMeasureFromOffset | ported | beat_and_measure_from_offset | in the wheel |
transpose | ported | transpose | in the wheel |
scaleOffsets | ported | scale_offsets | in the wheel |
scaleDurations | ported | scale_durations | in the wheel |
augmentOrDiminish | ported | augment_or_diminish | in the wheel |
quantize | ported | quantize | in the wheel |
expandRepeats | ported | expand_repeats | in the wheel |
sliceByQuarterLengths | ported | slice_by_quarter_lengths | in the wheel |
sliceByGreatestDivisor | ported | slice_by_greatest_divisor | in the wheel |
sliceAtOffsets | ported | slice_at_offsets | in the wheel |
sliceByBeat | ported | slice_by_beat | in the wheel |
hasMeasures | ported | has_measures | in the wheel |
hasVoices | ported | has_voices | in the wheel |
hasPartLikeStreams | ported | has_part_like_streams | in the wheel |
isTwelveTone | ported | is_twelve_tone | in the wheel |
isWellFormedNotation | ported | is_well_formed_notation | in the wheel |
notesAndRests | ported | notes_and_rests | in the wheel |
notes | ported | notes | in the wheel |
pitches | ported | pitches | in the wheel |
findConsecutiveNotes | ported | find_consecutive_notes | in the wheel |
melodicIntervals | ported | melodic_intervals | in the wheel |
findGaps | ported | find_gaps | in the wheel |
isGapless | ported | is_gapless | in the wheel |
getOverlaps | ported | get_overlaps | in the wheel |
isSequence | ported | is_sequence | in the wheel |
simultaneousAttacks | ported | simultaneous_attacks | in the wheel |
attachIntervalsBetweenStreams | ported | harmonic_intervals | in the wheel |
playingWhenAttacked | ported | playing_when_attacked | in the wheel |
allPlayingWhileSounding | ported | all_playing_while_sounding | in the wheel |
makeVoices | ported | make_voices | in the wheel |
voicesToParts | ported | voices_to_parts | in the wheel |
explode | ported | explode | in the wheel |
flattenUnnecessaryVoices | ported | flatten_unnecessary_voices | in the wheel |
lyrics | ported | lyrics | in the wheel |
stream/base.py
crate 8 of 9A bar of music. A crate stream of kind Measure carries its own barlines and padding, and what a bar and a beat last is read off the metre.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
mergeAttributes | missing | what clone_empty carries over | not in the wheel |
measureNumberWithSuffix | ported | number_with_suffix | in the wheel |
makeNotation | ported | make_notation | in the wheel |
barDurationProportion | ported | bar_duration_proportion | in the wheel |
padAsAnacrusis | ported | pad_as_anacrusis | in the wheel |
barDuration | ported | bar_duration | in the wheel |
bestTimeSignature | ported | best_time_signature | in the wheel |
leftBarline | ported | left_barline | in the wheel |
rightBarline | ported | right_barline | in the wheel |
stream/base.py
crate 3 of 4One player's line. A crate stream of kind Part or PartStaff carries the name and abbreviation music21 keeps as partName and partAbbreviation.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
mergeAttributes | missing | what clone_empty carries over | not in the wheel |
partName | ported | name | in the wheel |
partAbbreviation | ported | abbreviation | in the wheel |
makeAccidentals | ported | make_accidentals | in the wheel |
stream/base.py
crate 8 of 9Every part of a piece together.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
measure | missing | one measure by its number; measures answers them all, each carrying its own number | in the wheel |
parts | ported | parts | in the wheel |
measures | ported | measures | in the wheel |
expandRepeats | ported | expand_repeats | in the wheel |
measureOffsetMap | ported | measure_offset_map | in the wheel |
sliceByGreatestDivisor | ported | slice_by_greatest_divisor | in the wheel |
partsToVoices | ported | parts_to_voices | in the wheel |
implode | ported | implode | in the wheel |
makeNotation | ported | make_notation | in the wheel |
stream/base.py
crate 5 of 7The scores a multi-work file holds, which many an ABC or Essen collection is.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
write | missing | writing a file, which the format modules do | not in the wheel |
show | missing | rendering, which the crate leaves to its caller | not in the wheel |
getNumbers | ported | score_numbers | in the wheel |
getScoreByNumber | ported | score_by_number | in the wheel |
getScoreByTitle | ported | score_by_title | in the wheel |
scores | ported | scores | in the wheel |
mergeScores | ported | merge_scores | in the wheel |
percussion.py
crate 1 of 1Unpitched percussion: a stroke written on a staff with no pitch to it, and a chord of them.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
PercussionChord | ported | PercussionChord | not in the wheel |
percussion.py
crate 2 of 2A chord of strokes, each of which may be pitched or not. Its members are PercussionNotes rather than notes, since a stroke is not a note.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
notes | ported | members | not in the wheel |
pitches | ported | pitches | not in the wheel |
tablature.py
crate 8 of 8Fretted-instrument tablature: which string is stopped at which fret, and the pitches that sounds. The four instruments music21 keeps a class each for are constructors here, a fretboard being the same thing whatever it is strung as.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
FretNote | ported | FretNote | not in the wheel |
FretBoard | ported | FretBoard | not in the wheel |
FirstFret | ported | FirstFret | not in the wheel |
ChordWithFretBoard | ported | ChordWithFretBoard | not in the wheel |
GuitarFretBoard | ported | guitar | not in the wheel |
UkeleleFretBoard | ported | ukulele | not in the wheel |
BassGuitarFretBoard | ported | bass_guitar | not in the wheel |
MandolinFretBoard | ported | mandolin | not in the wheel |
tablature.py
crate 3 of 3| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
fretNotesLowestFirst | ported | fret_notes_lowest_first | not in the wheel |
getFretNoteByString | ported | fret_note_by_string | not in the wheel |
getPitches | ported | pitches | not in the wheel |
tablature.py
crate 0 of 1A chord symbol with a diagram under it.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getFretNotesFromFigure | missing | music21's own is a stub that answers nothing, its docstring a TODO: the fret notes a figure stands for are not worked out there either | not in the wheel |
text.py
crate 4 of 4Words in a score: the lyrics assembled off its notes, and an article moved to the front of a title or back to its end.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
assembleLyrics | ported | assemble_lyrics | not in the wheel |
assembleAllLyrics | ported | assemble_all_lyrics | not in the wheel |
prependArticle | ported | prepend_article | not in the wheel |
postpendArticle | ported | postpend_article | not in the wheel |
text.py
crate 2 of 2Text standing anywhere on the page, which MusicXML writes as a credit.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
content | ported | content | not in the wheel |
page | ported | page | not in the wheel |
text.py
crate 2 of 3Which language a text is most likely in, by the letters that follow each pair of letters.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
readExcerpts | missing | reads the excerpt files off the disk; the crate's excerpts are built in and the library does no file IO | not in the wheel |
mostLikelyLanguage | ported | most_likely_language | not in the wheel |
mostLikelyLanguageNumeric | ported | most_likely_language_numeric | not in the wheel |
text.py
crate 4 of 6| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
measure | missing | the step that counts the letter triples, which building one does | not in the wheel |
likely | missing | which language a trigram is nearest, which most_likely_language answers | not in the wheel |
length | ported | length | not in the wheel |
parseExcerpt | ported | from_text | not in the wheel |
similarity | ported | similarity | not in the wheel |
makeWords | ported | from_words | not in the wheel |
layout.py
crate 5 of 10How a score is laid out: the page and system margins a file states, a staff's size and lines, and the parts bracketed together.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
LayoutBase | missing | the class music21 hangs the four layouts off; layout::Layout is the one of them a stream holds | not in the wheel |
LayoutScore | missing | a score regrouped into pages, systems and staves for a renderer, with the three streams below it; the crate keeps the layout a file states and renders nothing | not in the wheel |
Page | missing | a page of such a score | not in the wheel |
System | missing | a system of such a score | not in the wheel |
Staff | missing | a staff of such a score | not in the wheel |
ScoreLayout | ported | ScoreLayout | not in the wheel |
PageLayout | ported | PageLayout | not in the wheel |
SystemLayout | ported | SystemLayout | not in the wheel |
StaffLayout | ported | StaffLayout | not in the wheel |
StaffGroup | ported | StaffGroup | not in the wheel |
layout.py
crate 0 of 4Reading a score's measures back off its pages and systems, which only a LayoutScore has.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
divideByPages | missing | builds a LayoutScore, which the crate has none of | not in the wheel |
getPageRegionMeasureNumbers | missing | the measures on a page of a LayoutScore | not in the wheel |
getSystemRegionMeasureNumbers | missing | the measures in a system of a LayoutScore | not in the wheel |
getRegionMeasureNumbers | missing | the measures in a region of a LayoutScore | not in the wheel |
layout.py
crate 1 of 1| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
tenthsToMillimeters | ported | tenths_to_millimeters | not in the wheel |
layout.py
crate 2 of 2The parts a brace or a bracket joins, and whether their barlines are drawn through.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
barTogether | ported | bar_together | not in the wheel |
symbol | ported | symbol | not in the wheel |
style.py
crate 1 of 10How something is drawn. The crate models what a reader must read back to write the same document again -- a text's font and where it sits, a line's ticks, a colour -- and the page itself it does not model. Inside music21 the wheel hands back music21's own style objects, whose subclasses carry more than one class here would.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
Enclosure | missing | the shape drawn round a text, kept as the name music21 gives it where something has one (expressions::RehearsalMark::enclosure) rather than as a type of its own | not in the wheel |
TextStylePlacement | missing | a text style that also says which side of the staff it is on, which is display::Drawn here | not in the wheel |
BezierStyle | missing | the curve of a slur | not in the wheel |
LineStyle | missing | the dashes of a line | not in the wheel |
StreamStyle | missing | how a whole stream is drawn | not in the wheel |
BeamStyle | missing | how a beam is drawn | not in the wheel |
StyleMixin | missing | what music21 mixes into every class it draws; nothing here has a style of its own to mix in | not in the wheel |
Style | missing | the base class every style hangs off; the crate keeps the few drawing values it reads and writes beside the thing drawn | in the wheel |
NoteStyle | missing | how a note is drawn beyond its colour and its size | in the wheel |
TextStyle | ported | TextStyle | not in the wheel |
style.py
crate 7 of 8| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
letterSpacing | missing | the space between a text's letters: nothing the crate reads states one, and the writer is held to music21's output byte for byte on every corpus score, so there is nothing to carry across | not in the wheel |
alignVertical | ported | align_vertical | not in the wheel |
alignHorizontal | ported | align_horizontal | not in the wheel |
justify | ported | justify | not in the wheel |
fontStyle | ported | font_style | not in the wheel |
fontWeight | ported | font_weight | not in the wheel |
fontSize | ported | font_size | not in the wheel |
fontFamily | ported | font_family | not in the wheel |
spanner.py
crate 6 of 10Something drawn across several notes: a slur, a hairpin, an octave line, a pedal mark. A spanner here is one value with a kind, naming the leaves it joins by their position in the stream that holds it.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
PendingAssignmentRef | missing | music21's note to itself that a spanner is waiting for its first element, which the readers keep as a queue | not in the wheel |
SpannerAnchor | missing | an element standing in a stream for a spanner to hang off where there is no note to; a spanner here names positions and needs none | not in the wheel |
MultiMeasureRest | missing | several measures of rest drawn as one, which is a notation this crate does not write | not in the wheel |
SpannerBundle | missing | the collection music21 keeps a stream's spanners in; a crate stream holds its own | in the wheel |
Slur | ported | Slur | not in the wheel |
RepeatBracket | ported | Ending | not in the wheel |
Ottava | ported | Ottava | not in the wheel |
Line | ported | Line | not in the wheel |
Glissando | ported | Glissando | not in the wheel |
Spanner | ported | Spanner | in the wheel |
spanner.py
crate 3 of 14The leaves a spanner joins are positions in Stream::leaves, so what it holds is the stream's to hand back.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
purgeOrphans | missing | drops the elements no stream holds any more, which only a spanner keeping objects can have | not in the wheel |
purgeLocations | missing | drops the sites it remembers, and it remembers none | not in the wheel |
getSpannedElementsByClass | missing | the elements of a class among them, which the stream holding them answers | not in the wheel |
getSpannedElementIds | missing | Python object ids | not in the wheel |
insertFirstSpannedElement | missing | puts an element first by object | not in the wheel |
fill | missing | fills in every element between the first and the last, which asks the stream what stands between them | not in the wheel |
addSpannedElements | missing | adds elements by object; Spanner::new takes the positions it joins | in the wheel |
hasSpannedElement | missing | whether an element is among them, which is spanned().contains | in the wheel |
replaceSpannedElement | missing | swaps one element for another by object | in the wheel |
getFirst | missing | the first element itself; spanned gives its position and the stream hands back what stands there | in the wheel |
getLast | missing | the last element itself, likewise | in the wheel |
isFirst | ported | is_first | not in the wheel |
isLast | ported | is_last | not in the wheel |
getSpannedElements | ported | spanned | in the wheel |
spanner.py
crate 6 of 6An octave line, and whether the notes under it are written where they sound.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
type | ported | name | not in the wheel |
shiftMagnitude | ported | magnitude | not in the wheel |
shiftDirection | ported | up | not in the wheel |
interval | ported | interval | not in the wheel |
performTransposition | ported | to_sounding_pitch | not in the wheel |
undoTransposition | ported | to_written_pitch | not in the wheel |
spanner.py
crate 5 of 6A bracket with a tick at each end.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
tick | missing | sets both ends at once; LineEnds carries each | not in the wheel |
endTick | ported | end | not in the wheel |
startTick | ported | start | not in the wheel |
lineType | ported | line_type | not in the wheel |
endHeight | ported | end_height | not in the wheel |
startHeight | ported | start_height | not in the wheel |
spanner.py
crate 2 of 2| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
lineType | ported | line_type | not in the wheel |
slideType | ported | slide_type | not in the wheel |
repeat.py
crate 13 of 16The marks that send the music back -- a segno, a coda, a da capo -- which are the kinds of one RepeatExpression here, and the expansion that plays them out.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
RepeatMark | missing | what music21 mixes into everything that repeats; a barline here says it repeats and an expression says where to go back to | not in the wheel |
RepeatExpressionCommand | missing | the kinds that send the music somewhere rather than marking a place, which is every kind is_marker says no to | not in the wheel |
RepeatFinder | missing | finds the repeated passages of a score so as to write it with repeat signs, which nothing here writes | not in the wheel |
RepeatExpression | ported | RepeatExpression | not in the wheel |
RepeatExpressionMarker | ported | is_marker | not in the wheel |
Coda | ported | Coda | not in the wheel |
Segno | ported | Segno | not in the wheel |
Fine | ported | Fine | not in the wheel |
DaCapo | ported | DaCapo | not in the wheel |
DaCapoAlFine | ported | DaCapoAlFine | not in the wheel |
DaCapoAlCoda | ported | DaCapoAlCoda | not in the wheel |
AlSegno | ported | AlSegno | not in the wheel |
DalSegno | ported | DalSegno | not in the wheel |
DalSegnoAlFine | ported | DalSegnoAlFine | not in the wheel |
DalSegnoAlCoda | ported | DalSegnoAlCoda | not in the wheel |
Expander | ported | expand_repeats | not in the wheel |
repeat.py
crate 0 of 3Writing repeats into a score, which the crate does not do: it plays out the repeats a score already has.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
insertRepeatEnding | missing | writes an ending bracket over some measures | not in the wheel |
insertRepeat | missing | writes repeat barlines round some measures | not in the wheel |
deleteMeasures | missing | takes measures out and renumbers the rest | not in the wheel |
repeat.py
crate 3 of 6| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
applyTextFormatting | missing | the font and the justification a renderer draws the words with; justify says which way they are set | not in the wheel |
setTextExpression | missing | keeps the words as a TextExpression object | not in the wheel |
getTextExpression | missing | the words as a TextExpression for a renderer; text is what they say | not in the wheel |
getText | ported | text | not in the wheel |
setText | ported | set_text | not in the wheel |
isValidText | ported | is_valid_text | not in the wheel |
repeat.py
crate 1 of 7Playing a score's repeats out, which Stream::expand_repeats does in one.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
measureMap | missing | the measures of the expansion listed for a caller to read | not in the wheel |
repeatBarsAreCoherent | missing | a step of the expansion, which answers an error where the repeats make no sense | not in the wheel |
findInnermostRepeatIndices | missing | a step of the expansion | not in the wheel |
processInnermostRepeatBars | missing | a step of the expansion | not in the wheel |
getRepeatExpressionIndex | missing | a step of the expansion | not in the wheel |
isExpandable | missing | whether there is anything to play out, which expanding answers | not in the wheel |
process | ported | expand_repeats | not in the wheel |
variant.py
crate 10 of 10Another reading of a passage kept beside the one in the score: merged in from a second source, refined, gathered into blocks, and activated in place of what it replaces.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
mergeVariants | ported | merge_variants | not in the wheel |
mergeVariantScores | ported | merge_variant_scores | not in the wheel |
mergeVariantMeasureStreams | ported | merge_variant_measure_streams | not in the wheel |
mergeVariantsEqualDuration | ported | merge_variants_equal_duration | not in the wheel |
mergePartAsOssia | ported | merge_part_as_ossia | not in the wheel |
addVariant | ported | add_variant | not in the wheel |
refineVariant | ported | refine_variant | not in the wheel |
getMeasureHashes | ported | measure_hashes | not in the wheel |
makeAllVariantsReplacements | ported | make_all_variants_replacements | not in the wheel |
makeVariantBlocks | ported | make_variant_blocks | not in the wheel |
variant.py
crate 7 of 15| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
purgeOrphans | missing | drops the elements no stream holds any more, which only a variant keeping objects can have | not in the wheel |
purgeLocations | missing | drops the sites it remembers, and it remembers none | not in the wheel |
getElementIds | missing | Python object ids | not in the wheel |
replaceElement | missing | swaps one element for another by object | not in the wheel |
highestOffset | missing | the offset of the stream it holds, which Stream::highest_offset answers of its contents | not in the wheel |
show | missing | rendering, which the crate leaves to its caller | not in the wheel |
containedSite | missing | the stream it was read out of, which is a site | not in the wheel |
replacementDuration | missing | the Duration of what it replaces; replacement_quarter_length is how long that is | not in the wheel |
highestTime | ported | highest_time | not in the wheel |
containedHighestTime | ported | contained_highest_time | not in the wheel |
containedHighestOffset | ported | contained_highest_offset | not in the wheel |
replacementQuarterLength | ported | replacement_quarter_length | not in the wheel |
lengthType | ported | length_type | not in the wheel |
replacedElements | ported | replaced_elements | not in the wheel |
removeReplacedElementsFromStream | ported | remove_replaced_elements_from_stream | not in the wheel |
metadata/__init__.py
crate 34 of 35What a score says about itself. Every standard name is read and written by that name through one pair of members, where music21 keeps a property for each; STANDARD_PROPERTIES is the table of the 131 names, checked against music21's live one by metadata_parity.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
convertValue | missing | reads a value as one of music21's own primitives -- a Text, a Contributor, a Date; a MetadataValue here is the text and the role it was given under | not in the wheel |
add | ported | add | not in the wheel |
getCustom | ported | get | not in the wheel |
addCustom | ported | add | not in the wheel |
setCustom | ported | set | not in the wheel |
uniqueNameToNamespaceName | ported | namespace_name | not in the wheel |
namespaceNameToUniqueName | ported | unique_name_of | not in the wheel |
isContributorUniqueName | ported | is_contributor_unique_name | not in the wheel |
isStandardName | ported | unique_name_of | not in the wheel |
software | ported | get | not in the wheel |
contributors | ported | contributors | not in the wheel |
copyright | ported | string_value | not in the wheel |
getContributorsByRole | ported | contributors_by_role | not in the wheel |
alternativeTitle | ported | string_value | not in the wheel |
composer | ported | string_value | not in the wheel |
composers | ported | get | not in the wheel |
dateCreated | ported | string_value | not in the wheel |
fileFormat | ported | string_value | not in the wheel |
filePath | ported | string_value | not in the wheel |
corpusFilePath | ported | string_value | not in the wheel |
fileNumber | ported | string_value | not in the wheel |
localeOfComposition | ported | string_value | not in the wheel |
librettist | ported | string_value | not in the wheel |
librettists | ported | get | not in the wheel |
lyricist | ported | string_value | not in the wheel |
lyricists | ported | get | not in the wheel |
movementName | ported | string_value | not in the wheel |
movementNumber | ported | string_value | not in the wheel |
number | ported | string_value | not in the wheel |
opusNumber | ported | string_value | not in the wheel |
title | ported | title | not in the wheel |
bestTitle | ported | best_title | not in the wheel |
all | ported | all | in the wheel |
addContributor | ported | add_contributor | in the wheel |
search | ported | search | in the wheel |
metadata/__init__.py
crate 0 of 4The numbers music21 caches beside a score's metadata so that its corpus can be searched without parsing every file again.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
merge | missing | takes in another score's cached numbers | not in the wheel |
getSourcePath | missing | where the file sits, relative to the corpus | not in the wheel |
update | missing | works out the ambitus, the key signatures, the time signatures and the rest of a score and keeps them; Stream::analyze answers each of those of a score when asked | not in the wheel |
all | missing | the cached numbers beside the metadata | not in the wheel |
search/base.py
crate 18 of 18Searching a stream for a run of notes: the searches themselves, and the strings music21 turns a line into so that one line can be matched against another.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
streamSearchBase | ported | run_over | not in the wheel |
rhythmicSearch | ported | rhythmic_search | not in the wheel |
noteNameSearch | ported | note_name_search | not in the wheel |
noteNameRhythmicSearch | ported | note_name_rhythmic_search | not in the wheel |
approximateNoteSearch | ported | approximate_note_search | not in the wheel |
approximateNoteSearchNoRhythm | ported | approximate_note_search_no_rhythm | not in the wheel |
approximateNoteSearchOnlyRhythm | ported | approximate_note_search_only_rhythm | not in the wheel |
approximateNoteSearchWeighted | ported | approximate_note_search_weighted | not in the wheel |
translateStreamToString | ported | translate_stream_to_string | not in the wheel |
translateDiatonicStreamToString | ported | translate_diatonic_stream_to_string | not in the wheel |
translateIntervalsAndSpeed | ported | translate_intervals_and_speed | not in the wheel |
translateStreamToStringNoRhythm | ported | translate_stream_to_string_no_rhythm | not in the wheel |
translateStreamToStringOnlyRhythm | ported | translate_stream_to_string_only_rhythm | not in the wheel |
translateNoteToByte | ported | translate_note_to_byte | not in the wheel |
translateNoteWithDurationToBytes | ported | translate_note_with_duration_to_bytes | not in the wheel |
translateNoteTieToByte | ported | translate_note_tie_to_byte | not in the wheel |
translateDurationToBytes | ported | translate_duration_to_bytes | not in the wheel |
mostCommonMeasureRhythms | ported | most_common_measure_rhythms | not in the wheel |
search/base.py
crate 4 of 4A search for a list of terms, each a note name, a length or a wildcard.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
run | ported | run | not in the wheel |
wildcardAlgorithm | ported | run_over | not in the wheel |
rhythmAlgorithm | ported | rhythmic_search | not in the wheel |
noteNameAlgorithm | ported | note_name_search | not in the wheel |
search/lyrics.py
crate 4 of 4Searching the words sung in a score, which means indexing them into one text first.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
indexText | ported | index_text | not in the wheel |
indexTuples | ported | indexed | not in the wheel |
index | ported | indexed | not in the wheel |
search | ported | search | not in the wheel |
search/lyrics.py
crate 0 of 1| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
modify | missing | a named tuple's _replace, which is Python's own | not in the wheel |
search/segment.py
crate 3 of 8Comparing scores by cutting each part into overlapping segments and matching the strings they make.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
indexScoreFilePaths | missing | indexes the scores at a list of paths, which means reading files | not in the wheel |
indexOnePath | missing | indexes the score at a path, likewise | not in the wheel |
saveScoreDict | missing | writes an index to a file | not in the wheel |
loadScoreDict | missing | reads an index back | not in the wheel |
getDifflibOrPyLev | missing | chooses between two Python libraries for the string comparison; search::difflib is the one difflib.SequenceMatcher ratio, ported | not in the wheel |
translateMonophonicPartToSegments | ported | translate_monophonic_part_to_segments | not in the wheel |
indexScoreParts | ported | index_score_parts | not in the wheel |
scoreSimilarity | ported | score_similarity | not in the wheel |
analysis/reduction.py
crate 2 of 2A note of a reduction, written in a lyric under the note it reduces.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
isParsed | ported | is_parsed | not in the wheel |
getNoteAndTextExpression | ported | note_and_text_expression | not in the wheel |
analysis/reduction.py
crate 3 of 3| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
score | ported | score | not in the wheel |
chordReduction | ported | chord_reduction | not in the wheel |
reduce | ported | reduce | not in the wheel |
analysis/reduction.py
crate 1 of 2How busy each part of a score is, span by span, which music21 draws as a horizontal bar graph.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getGraphHorizontalBarWeightedData | missing | the spans arranged for music21's bar graph; weighted_spans is what they say | not in the wheel |
process | ported | weighted_spans | not in the wheel |
analysis/correlate.py
crate 1 of 1What goes with what in a stream: every pitch against the dynamic sounding with it.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
pitchToDynamic | ported | pitch_to_dynamic | not in the wheel |
tree/spans.py
crate 4 of 6One element of a stream as the stretch of time it sounds for, which is what a timespan tree holds.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
new | missing | a copy with some of its values changed, which a value type here is made afresh | not in the wheel |
makeElement | missing | the element itself, which an ElementTimespan holds a reference to | not in the wheel |
quarterLength | ported | quarter_length | not in the wheel |
measureNumber | ported | measure_number | not in the wheel |
getParentageByClass | ported | parentage | not in the wheel |
part | ported | part | not in the wheel |
tree/spans.py
crate 2 of 6| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
new | missing | a copy with some of its values changed | not in the wheel |
canMerge | missing | whether two timespans may be joined, which only the tree's own merging asks | not in the wheel |
mergeWith | missing | joins two timespans | not in the wheel |
splitAt | missing | cuts a timespan in two | not in the wheel |
offset | ported | offset | not in the wheel |
endTime | ported | end_time | not in the wheel |
tree/timespanTree.py
crate 11 of 17Every element of a score as a stretch of time, which is how the voice-leading walk reads what sounds together. The crate keeps the timespans in offset order rather than in music21's tree, there being no insertion to keep balanced.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
index | missing | where a timespan sits in the tree, which is its place in the list here | not in the wheel |
removeTimespanList | missing | takes several out, likewise | not in the wheel |
removeTimespan | missing | takes a timespan out of the tree; the crate reads a stream into timespans and does not edit them | not in the wheel |
toPartwiseTimespanTrees | missing | a tree for each part of the score; as_timespans reads whichever stream it is given, a part included | not in the wheel |
allParts | missing | every part the timespans came from, which the caller has in the score it read | not in the wheel |
element | missing | the element a timespan holds, which ElementTimespan::element answers | not in the wheel |
elementEndTime | ported | end_time | not in the wheel |
offset | ported | lowest_position | not in the wheel |
findNextPitchedTimespanInSameStreamByClass | ported | next_in_same_part | not in the wheel |
findPreviousPitchedTimespanInSameStreamByClass | ported | previous_in_same_part | not in the wheel |
getVerticalityAtOrBefore | ported | verticality_at_or_before | not in the wheel |
iterateConsonanceBoundedVerticalities | ported | consonance_bounded_verticalities | not in the wheel |
iterateVerticalities | ported | verticalities | not in the wheel |
iterateVerticalitiesNwise | ported | verticalities_nwise | not in the wheel |
splitAt | ported | split_at | not in the wheel |
unwrapVerticalities | ported | unwrap | not in the wheel |
maximumOverlap | ported | maximum_overlap | not in the wheel |
tree/verticality.py
crate 13 of 14Everything sounding at one offset, which is what a chord of a chordified score is made of.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
beatStrength | missing | the accent weight of the offset in the measure holding it, which music21 asks the note and the note asks its site; TimeSignature::accent_weight answers it given the meter | not in the wheel |
bassTimespan | ported | bass_timespan | not in the wheel |
toChord | ported | to_chord | not in the wheel |
measureNumber | ported | measure_number | not in the wheel |
nextStartOffset | ported | next_start_offset | not in the wheel |
nextVerticality | ported | next | not in the wheel |
pitchSet | ported | pitch_set | not in the wheel |
pitchClassSet | ported | pitch_class_set | not in the wheel |
previousVerticality | ported | previous | not in the wheel |
startAndOverlapTimespans | ported | start_and_overlap_timespans | not in the wheel |
timeToNextEvent | ported | time_to_next_event | not in the wheel |
makeElement | ported | make_element | not in the wheel |
getAllVoiceLeadingQuartets | ported | voice_leading_quartets | not in the wheel |
getPairedMotion | ported | paired_motion | not in the wheel |
tree/analysis.py
crate 3 of 3The timespans one voice sounds in a row, and whether the middle note of three is passed through or stepped away from and back.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
hasPassingTone | ported | has_passing_tone | not in the wheel |
hasNeighborTone | ported | has_neighbor_tone | not in the wheel |
hasNoMotion | ported | has_no_motion | not in the wheel |
tree/fromStream.py
crate 2 of 4Reading a score into timespans.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
listOfTreesByClass | missing | a tree per part per class, which the caller builds of what as_timespans reads | not in the wheel |
makeFastShallowTreeFromSortedStream | missing | a tree of one stream's own elements with nothing nested, built without sorting; the crate sorts once and keeps a list | not in the wheel |
asTree | ported | as_timespans | not in the wheel |
asTimespans | ported | as_timespans | not in the wheel |
tree/toStream.py
crate 1 of 2Writing timespans back out as a stream.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
partwise | missing | the timespans written back out as a part each, which is the score they were read from | not in the wheel |
chordified | ported | chordify | not in the wheel |
features/base.py
crate 5 of 5The machinery round the feature extractors: finding one by its id, and the vector a stream gives for all of them. The 72 jSymbolic extractors and the 24 native ones are rows of a generated table rather than a class each, and features_parity checks that table against music21's live classes.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
allFeaturesAsList | ported | all_features_as_list | not in the wheel |
extractorsById | ported | extractors_by_id | not in the wheel |
extractorById | ported | extractor_by_id | not in the wheel |
vectorById | ported | vector_by_id | not in the wheel |
getIndex | ported | index_of | not in the wheel |
features/base.py
crate 0 of 2What one extractor found: the numbers, and what each of them is called.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
prepareVectors | missing | makes room for the numbers before they are worked out, which building one does | not in the wheel |
normalize | missing | divides the numbers by their sum, which Extractor::extract does where the extractor asks for it | not in the wheel |
features/base.py
crate 3 of 7One extractor: its id, how many numbers it gives, and what it reads off a stream. music21 keeps the stream and the half-built feature on the object; here an extractor is a row of a table and reading is a function of the data.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
setData | missing | hands the extractor the stream to read, which extract takes as an argument | not in the wheel |
fillFeatureAttributes | missing | copies the extractor's own id and name onto the feature it is filling in | not in the wheel |
prepareFeature | missing | makes the blank feature and fills its attributes in, which blank answers | not in the wheel |
process | missing | the reading itself, which is the row's own function and runs in extract | not in the wheel |
getAttributeLabels | ported | attribute_labels | not in the wheel |
extract | ported | extract | not in the wheel |
getBlankFeature | ported | blank | not in the wheel |
features/base.py
crate 8 of 14The readings of a stream every extractor shares, each worked out once when it is first asked for. music21 keys them by name in a dictionary; here each is a member of the data, and the ones only one extractor reads are worked out where it reads them.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
keys | missing | the names music21 looks a form up by | not in the wheel |
formSetClassHistogram | missing | how often each set class comes, which the extractors that read it work out where they read it | not in the wheel |
formPitchClassSetHistogram | missing | how often each pitch-class set comes, likewise | not in the wheel |
formTypesHistogram | missing | how often each written value comes, likewise | not in the wheel |
formGetElementsByClassMeasure | missing | the measures of the stream, which Stream::measures answers | not in the wheel |
formBeatHistogram | missing | how often each beat strength comes, which the extractor reading it works out | not in the wheel |
formPartitionByInstrument | ported | partition_by_instrument | not in the wheel |
formChordify | ported | chordified_chords | not in the wheel |
formQuarterLengthHistogram | ported | quarter_length_histogram | not in the wheel |
formMidiPitchHistogram | ported | midi_pitch_histogram | not in the wheel |
formPitchClassHistogram | ported | pitch_class_histogram | not in the wheel |
formMidiIntervalHistogram | ported | midi_interval_histogram | not in the wheel |
formContourList | ported | contour_list | not in the wheel |
formSecondsMap | ported | seconds_map | not in the wheel |
features/base.py
crate 1 of 5One subject prepared for extraction: the stream with its ties stripped, each part and each voice of it prepared on its own, and every reading an extractor may ask for.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
setupPostStreamParse | missing | the second half of reading the stream in, which building one does in one | not in the wheel |
setClassLabel | missing | the class a subject belongs to for the data set it is in; DataSet::add_data takes it beside the subject | not in the wheel |
getClassValue | missing | that class, likewise | not in the wheel |
getId | missing | the name a subject goes by, which DataSet::add_data takes beside it | not in the wheel |
parseStream | ported | new | not in the wheel |
features/base.py
crate 9 of 12Several subjects run through the same extractors, written out as a table.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getClassPositionLabels | missing | where the class column sits, which the caller knows of the labels it asked for | not in the wheel |
addMultipleData | missing | adds several subjects at once, which is add_data in a loop | not in the wheel |
write | missing | writes the table to a file, which the library does not do: to_text is the text to write | not in the wheel |
getClassLabel | ported | class_label | not in the wheel |
addFeatureExtractors | ported | add_extractors | not in the wheel |
getAttributeLabels | ported | attribute_labels | not in the wheel |
getDiscreteLabels | ported | discrete_labels | not in the wheel |
addData | ported | add_data | not in the wheel |
process | ported | process | not in the wheel |
getFeaturesAsList | ported | features_as_list | not in the wheel |
getUniqueClassValues | ported | unique_class_values | not in the wheel |
getString | ported | to_text | not in the wheel |
braille/basic.py
crate 27 of 27One element of a score in braille: a note, a rest, a chord, a clef, a signature, a dynamic, a word.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
barlineToBraille | ported | barline_to_braille | not in the wheel |
chordToBraille | ported | chord_to_braille | not in the wheel |
pitchToOctave | ported | pitch_to_octave | not in the wheel |
clefToBraille | ported | clef_to_braille | not in the wheel |
dynamicToBraille | ported | dynamic_to_braille | not in the wheel |
instrumentToBraille | ported | instrument_to_braille | not in the wheel |
keySigToBraille | ported | key_sig_to_braille | not in the wheel |
metronomeMarkToBraille | ported | metronome_mark_to_braille | not in the wheel |
yieldBrailleArticulations | ported | note_to_braille | not in the wheel |
noteToBraille | ported | note_to_braille | not in the wheel |
handlePitchWithAccidental | ported | note_to_braille | not in the wheel |
handleArticulations | ported | note_to_braille | not in the wheel |
handleExpressions | ported | note_to_braille | not in the wheel |
restToBraille | ported | rest_to_braille | not in the wheel |
tempoTextToBraille | ported | tempo_text_to_braille | not in the wheel |
textExpressionToBraille | ported | text_expression_to_braille | not in the wheel |
timeSigToBraille | ported | time_sig_to_braille | not in the wheel |
showOctaveWithNote | ported | show_octave_with_note | not in the wheel |
transcribeHeading | ported | transcribe_heading | not in the wheel |
transcribeNoteFingering | ported | transcribe_note_fingering | not in the wheel |
transcribeSignatures | ported | transcribe_signatures | not in the wheel |
brailleUnicodeToBrailleAscii | ported | braille_unicode_to_braille_ascii | not in the wheel |
brailleAsciiToBrailleUnicode | ported | braille_ascii_to_braille_unicode | not in the wheel |
brailleUnicodeToSymbols | ported | braille_unicode_to_symbols | not in the wheel |
yieldDots | ported | yield_dots | not in the wheel |
wordToBraille | ported | word_to_braille | not in the wheel |
numberToBraille | ported | number_to_braille | not in the wheel |
braille/translate.py
crate 7 of 8A whole score in braille, part by part or on joined staves.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
opusToBraille | missing | every score of an opus one after another, which is score_to_braille of each | not in the wheel |
objectToBraille | ported | element_to_braille | not in the wheel |
streamToBraille | ported | stream_to_braille | not in the wheel |
scoreToBraille | ported | score_to_braille | not in the wheel |
metadataToString | ported | metadata_to_string | not in the wheel |
measureToBraille | ported | measure_to_braille | not in the wheel |
partToBraille | ported | part_to_braille | not in the wheel |
keyboardPartsToBraille | ported | keyboard_parts_to_braille | not in the wheel |
braille/text.py
crate 11 of 11The page the braille is written onto: its lines, and what may still fit on the one being written.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
showHand | ported | set_show_hand | not in the wheel |
addHeading | ported | add_heading | not in the wheel |
addLongExpression | ported | add_long_expression | not in the wheel |
addToNewLine | ported | add_to_new_line | not in the wheel |
appendOrInsertCurrent | ported | append_or_insert_current | not in the wheel |
addInaccord | ported | add_inaccord | not in the wheel |
addMeasureNumber | ported | add_measure_number | not in the wheel |
optionalAddKeyboardSymbolsAndDots | ported | optional_add_keyboard_symbols_and_dots | not in the wheel |
addSignatures | ported | add_signatures | not in the wheel |
makeNewLine | ported | make_new_line | not in the wheel |
recenterHeadings | ported | recenter_headings | not in the wheel |
braille/text.py
crate 5 of 5| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
append | ported | append | not in the wheel |
insert | ported | insert | not in the wheel |
canAppend | ported | can_append | not in the wheel |
canInsert | ported | can_insert | not in the wheel |
lastHyphenToSpace | ported | last_hyphen_to_space | not in the wheel |
braille/text.py
crate 2 of 2| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
makeNewLines | ported | make_new_lines | not in the wheel |
addNoteGroupings | ported | add_note_groupings | not in the wheel |
braille/lookup.py
crate 2 of 3The braille cells music21 writes each thing with, which are tables here rather than dictionaries built at import.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
makeBrailleDictionary | missing | builds music21's dictionary of cells at import; the tables here are written out | not in the wheel |
dotsAdd | ported | dots_add | not in the wheel |
makePitchNameToNotes | ported | pitch_name_to_note | not in the wheel |
braille/segment.py
crate 6 of 10A part cut into the segments braille is written in, each a run of elements that belong together.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
setGroupingGlobals | missing | music21's module-level defaults for a grouping, set the first time one is made; SegmentOptions is what a caller says instead | not in the wheel |
setAffinityCode | missing | which kind of segment an element belongs in, which extract_braille_elements says as it reads | not in the wheel |
areGroupingsIdentical | missing | whether two groupings are the same, which the segment asks of its own | not in the wheel |
splitMeasure | missing | cuts a measure in two so that the braille fits, which split_note_grouping does of the grouping | not in the wheel |
findSegments | ported | find_segments | not in the wheel |
prepareSlurredNotes | ported | prepare_slurred_notes | not in the wheel |
getRawSegments | ported | get_raw_segments | not in the wheel |
extractBrailleElements | ported | extract_braille_elements | not in the wheel |
prepareBeamedNotes | ported | prepare_beamed_notes | not in the wheel |
splitNoteGrouping | ported | split_note_grouping | not in the wheel |
braille/segment.py
crate 4 of 17One segment written out. music21 takes the segment apart member by member -- the heading, the measure number, each grouping -- where transcribe does the whole of it in order, so those steps are not members here.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
addDummyRests | missing | a step of the transcription: the rests that stand before a measure number | not in the wheel |
extractMeasureNumber | missing | a step of the transcription | not in the wheel |
extractHeading | missing | a step of the transcription: the key, the meter and the tempo over the first measure | not in the wheel |
extractInaccordGrouping | missing | a step of the transcription: the voices written one after another | not in the wheel |
extractLongExpressionGrouping | missing | a step of the transcription | not in the wheel |
showLeadingOctaveFromNoteGrouping | missing | a step of the transcription: whether the first note of a grouping shows its octave | not in the wheel |
needsSplitToFit | missing | a step of the transcription: whether a grouping must be split to fit the line | not in the wheel |
splitNoteGroupingAndTranscribe | missing | a step of the transcription, which split_note_grouping does the splitting half of | not in the wheel |
extractNoteGrouping | missing | a step of the transcription | not in the wheel |
addRepeatSymbols | missing | a step of the transcription: the sign for a measure repeated | not in the wheel |
extractSignatureGrouping | missing | a step of the transcription | not in the wheel |
extractTempoTextGrouping | missing | a step of the transcription | not in the wheel |
consolidate | missing | a step of the transcription: the groupings of one kind joined into one | not in the wheel |
brailleText | ported | transcribe | not in the wheel |
transcribe | ported | transcribe | not in the wheel |
addGroupingAttributes | ported | add_grouping_attributes | not in the wheel |
fixArticulations | ported | fix_articulations | not in the wheel |
braille/segment.py
crate 3 of 5A keyboard part written on joined staves, the two hands' groupings paired.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
extractHeading | missing | a step of the transcription | not in the wheel |
extractNoteGrouping | missing | a step of the transcription | not in the wheel |
brailleText | ported | transcribe | not in the wheel |
yieldCombinedGroupingKeys | ported | combined_keys | not in the wheel |
transcribe | ported | transcribe | not in the wheel |
alpha/analysis/aligner.py
crate 9 of 14Two readings of the same music lined up against each other -- a score read by an optical reader against the same music played in -- by the edit distance between their hashes.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
insertCost | missing | what an insertion costs, which is one everywhere | not in the wheel |
deleteCost | missing | what a deletion costs, likewise | not in the wheel |
substitutionCost | missing | what a substitution costs, which the hashes' difference says | not in the wheel |
tupleEqualityWithoutReference | missing | whether two hashes are equal but for which note they came from, which comparing them answers | not in the wheel |
showChanges | missing | prints the changes, and colours the notes of the score to show them | not in the wheel |
getDefaultHasher | ported | new | not in the wheel |
align | ported | align | not in the wheel |
makeHashedStreams | ported | align | not in the wheel |
setupDistanceMatrix | ported | align_hashed | not in the wheel |
populateDistanceMatrix | ported | align_hashed | not in the wheel |
getPossibleMovesFromLocation | ported | align_hashed | not in the wheel |
getOpFromLocation | ported | align_hashed | not in the wheel |
calculateNumSimilarities | ported | changes_count | not in the wheel |
calculateChangesList | ported | align_hashed | not in the wheel |
alpha/analysis/hasher.py
crate 2 of 7A stream's notes as hashes, each as much or as little of the note as the caller asked to compare.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
setupValidTypesAndStateVars | missing | reads the switches into the state music21 hashes by, which are the fields of a Hasher here | not in the wheel |
hashMeasures | missing | the measures hashed one at a time, which is hash_stream of each | not in the wheel |
addHashToFinalHash | missing | appends one hash to the list being built | not in the wheel |
addNoteHashWithReferenceToFinalHash | missing | appends a note's hash with the note it came from, likewise | not in the wheel |
addNoteHashToFinalHash | missing | appends a note's hash, likewise | not in the wheel |
setupTupleList | ported | tuple_list | not in the wheel |
hashStream | ported | hash_stream | not in the wheel |
alpha/analysis/fixer.py
crate 1 of 1Mending one reading of a score against another: the notes within a length, and the fixes themselves.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getNotesWithinDuration | ported | notes_within_duration | not in the wheel |
alpha/analysis/fixer.py
crate 2 of 3Where the played reading trills or turns and the read one does not, the ornament is written onto the read one.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
addOrnament | missing | writes the ornament onto the read note, which fix does where it finds one | not in the wheel |
findOrnament | ported | find_ornament | not in the wheel |
fix | ported | fix | not in the wheel |
alpha/analysis/fixer.py
crate 1 of 8Where the two readings spell the same sound differently, the played spelling wins.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
isEnharmonic | missing | whether two notes sound alike, which is Pitch::is_enharmonic | not in the wheel |
hasAcc | missing | whether a note carries an accidental, which is Pitch::accidental_is_written | not in the wheel |
hasNatAcc | missing | whether it carries a natural, likewise | not in the wheel |
hasSharpFlatAcc | missing | whether it carries a sharp or a flat, likewise | not in the wheel |
stepEq | missing | whether two notes stand on the same step | not in the wheel |
stepNotEq | missing | whether they do not | not in the wheel |
intervalTooBig | missing | whether the two are too far apart to be a misspelling, which the fix asks as it goes | not in the wheel |
fix | ported | fix_enharmonics | not in the wheel |
alpha/analysis/ornamentRecognizer.py
crate 1 of 1How long the notes of an ornament last, written out.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
calculateTrillNoteDuration | ported | ornament_note_quarter_length | not in the wheel |
alpha/analysis/ornamentRecognizer.py
crate 1 of 1Whether a run of notes is a trill written out, and which trill it is.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
recognize | ported | recognize | not in the wheel |
alpha/analysis/ornamentRecognizer.py
crate 2 of 2| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
isAcceptableInterval | ported | is_acceptable_interval | not in the wheel |
recognize | ported | recognize | not in the wheel |
alpha/analysis/ornamentRecognizer.py
crate 2 of 2| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
calculateOrnamentNoteQl | ported | ornament_note_quarter_length | not in the wheel |
calculateOrnamentTotalQl | ported | ornament_total_quarter_length | not in the wheel |
alpha/analysis/search.py
crate 1 of 1Runs of notes that walk a scale, found in a part.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
findConsecutiveScale | ported | find_consecutive_scale | not in the wheel |
omr/correctors.py
crate 10 of 14Mending a score read by an optical reader against itself: a measure that reads oddly is compared with the same measure of the other parts and with the rest of its own part, and the likeliest reading wins.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
runPriorModel | missing | music21's measure of how much the correction helped, which PriorsIntegrationScore carries | not in the wheel |
getMeasureSlice | missing | the same measure across every part, which vertical_probability_dist reads as it goes | not in the wheel |
getVerticalProbabilityDistributionSinglePart | missing | a step of the vertical correction, which vertical_probability_dist does for every part at once | not in the wheel |
getVerticalProbabilityDistributionSinglePartSingleMeasure | missing | a step of the same | not in the wheel |
run | ported | run | not in the wheel |
getAllHashes | ported | all_hashes | not in the wheel |
getSinglePart | ported | single_part_mut | not in the wheel |
runHorizontalCorrectionModel | ported | run_horizontal_correction_model | not in the wheel |
getAllIncorrectMeasures | ported | all_incorrect_measures | not in the wheel |
verticalProbabilityDist | ported | vertical_probability_dist | not in the wheel |
runVerticalSearch | ported | run_vertical_search | not in the wheel |
substituteOneMeasureContentsForAnother | ported | substitute_measure | not in the wheel |
runVerticalCorrectionModel | ported | run_vertical_correction_model | not in the wheel |
generateCorrectedScore | ported | generate_corrected_score | not in the wheel |
omr/correctors.py
crate 6 of 7| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getMeasures | missing | the measures of the part, which the Stream it was read from holds | not in the wheel |
getIncorrectMeasureIndices | ported | find_incorrect_measures | not in the wheel |
getSequenceHashesFromMeasureStream | ported | hashed_notes | not in the wheel |
horizontalProbabilityDist | ported | horizontal_probability_dist | not in the wheel |
runHorizontalSearch | ported | run_horizontal_search | not in the wheel |
runHorizontalCorrectionModel | ported | run_horizontal_correction_model | not in the wheel |
getProbabilityDistribution | ported | probability_distribution | not in the wheel |
omr/correctors.py
crate 10 of 15One measure as a string, a character a note, so that two measures may be compared as text.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
setSequenceMatcher | missing | keeps Python's own SequenceMatcher on the object; search::difflib is the comparison, ported | not in the wheel |
differenceProbabilityForOneOpCode | missing | the odds of one edit, which probability_based_on_changes sums | not in the wheel |
getProbabilityOnEquality | missing | the odds of two measures reading alike, likewise | not in the wheel |
getProbabilityOnOmission | missing | the odds of a note left out, likewise | not in the wheel |
getProbabilityOnAddition | missing | the odds of a note put in, likewise | not in the wheel |
getHashString | ported | measure_hash | not in the wheel |
hashNote | ported | measure_hash | not in the wheel |
hashGrace | ported | measure_hash | not in the wheel |
hashRest | ported | measure_hash | not in the wheel |
hashQuarterLength | ported | measure_hash | not in the wheel |
getMeasureDifference | ported | measure_difference | not in the wheel |
getOpCodes | ported | opcodes | not in the wheel |
getProbabilityBasedOnChanges | ported | probability_based_on_changes | not in the wheel |
getProbabilityOnSubstitute | ported | probability_on_substitute | not in the wheel |
getProbabilityFromOneCharSub | ported | probability_from_one_char_sub | not in the wheel |
omr/correctors.py
crate 0 of 2The same measure across every part, which is what a doubtful measure is compared against.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getSliceHashes | missing | the hashes of the measure across every part, which ScoreCorrector::vertical_probability_dist reads as it goes | not in the wheel |
runSliceSearch | missing | the search across the parts, which run_vertical_search does | not in the wheel |
omr/evaluators.py
crate 2 of 2How well the mending did: a score with mistakes put in on purpose, mended, and compared with the one it was made from.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
evaluateCorrectingModel | ported | evaluate_correcting_model | not in the wheel |
autoCorrelationBestMeasure | ported | auto_correlation_best_measure | not in the wheel |
omr/evaluators.py
crate 4 of 10| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
debug | missing | music21's switch for printing what it is doing | not in the wheel |
parseAll | missing | reads both scores from their files | not in the wheel |
hashAll | missing | hashes both scores, which building the pair does | not in the wheel |
substCost | missing | what a substitution costs, which the hashes' difference says | not in the wheel |
insertCost | missing | what an insertion costs, which is one everywhere | not in the wheel |
deleteCost | missing | what a deletion costs, likewise | not in the wheel |
getOmrScore | ported | omr | not in the wheel |
getGroundScore | ported | ground | not in the wheel |
minEditDist | ported | min_edit_distance | not in the wheel |
getDifferences | ported | differences | not in the wheel |
audioSearch/__init__.py
crate 14 of 16Hearing a monophonic line: the pitch of each stretch of sound, the lengths they make, and the notes that come of it.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getFrequenciesFromMicrophone | missing | listens to a microphone, which the library does not do | not in the wheel |
getFrequenciesFromPartialAudioFile | missing | reads part of a file as it is being recorded | not in the wheel |
histogram | ported | histogram | not in the wheel |
autocorrelationFunction | ported | autocorrelation_frequency | not in the wheel |
prepareThresholds | ported | prepare_thresholds | not in the wheel |
interpolation | ported | interpolation | not in the wheel |
normalizeInputFrequency | ported | normalize_input_frequency | not in the wheel |
pitchFrequenciesToObjects | ported | pitch_frequencies_to_objects | not in the wheel |
getFrequenciesFromAudioFile | ported | frequencies_from_wav | not in the wheel |
detectPitchFrequencies | ported | detect_pitch_frequencies | not in the wheel |
smoothFrequencies | ported | smooth_frequencies | not in the wheel |
joinConsecutiveIdenticalPitches | ported | join_consecutive_identical_pitches | not in the wheel |
quantizeDuration | ported | quantize_duration | not in the wheel |
quarterLengthEstimation | ported | quarter_length_estimation | not in the wheel |
notesAndDurationsToStream | ported | notes_and_durations_to_stream | not in the wheel |
decisionProcess | ported | decision_process | not in the wheel |
search/serial.py
crate 3 of 8The classes music21's serial search is written as. The crate has one matcher taking Matching, since the five subclasses differ only in how a run is normalized before it is compared.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
TransposedSegmentMatcher | missing | one of Matching's six kinds rather than a class of its own: Matching::Transposed, which compares the intervals a run makes | not in the wheel |
TransformedSegmentMatcher | missing | Matching::Transformed, which compares the rows a transposition, inversion, retrograde or retrograde inversion takes one to the other | not in the wheel |
MultisetSegmentMatcher | missing | Matching::Multiset, which compares the pitch classes in any order | not in the wheel |
TransposedMultisetMatcher | missing | Matching::TransposedMultiset | not in the wheel |
TransposedInvertedMultisetMatcher | missing | Matching::TransposedInvertedMultiset | not in the wheel |
ContiguousSegmentOfNotes | ported | ContiguousSegment | not in the wheel |
ContiguousSegmentSearcher | ported | ContiguousSegmentSearcher | not in the wheel |
SegmentMatcher | ported | SegmentMatcher | not in the wheel |
search/serial.py
crate 6 of 7A run of a stream's notes and chords a search found: where it starts, the pitch classes it was read as, and the segment it was matched to.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getActiveMatchedRows | missing | two ToneRows built from the active and matched fields, which a caller builds itself; what music21 uses them for is the transformations between them, which zero_centered_transformations_from_matched and its original-centred twin answer | not in the wheel |
startMeasureNumber | ported | start_measure | not in the wheel |
startOffset | ported | start_offset | not in the wheel |
zeroCenteredTransformationsFromMatched | ported | zero_centered_transformations_from_matched | not in the wheel |
originalCenteredTransformationsFromMatched | ported | original_centered_transformations_from_matched | not in the wheel |
readPitchClassesFromBottom | ported | pitch_classes_from_bottom | not in the wheel |
getDistinctPitchClasses | ported | distinct_pitch_classes | not in the wheel |
search/serial.py
crate 1 of 11Every run of a given length in a stream, read in one of music21's ways of reading repetitions, chords in or out.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getSearchBoundMethod | missing | music21 chooses a method by name for each way of reading repetitions; the crate's one walk takes Repetitions as an argument | not in the wheel |
addActiveChords | missing | a step inside that walk: the crate reads a chord's pitch classes where it meets one | not in the wheel |
searchIncludeAllExclude | missing | one of the twelve methods that choice picks between, which the one walk answers for | not in the wheel |
searchIncludeAllInclude | missing | as searchIncludeAllExclude | not in the wheel |
searchSkipConsecutiveExclude | missing | as searchIncludeAllExclude | not in the wheel |
searchSkipConsecutiveInclude | missing | as searchIncludeAllExclude | not in the wheel |
searchIgnoreAllExclude | missing | as searchIncludeAllExclude | not in the wheel |
searchIgnoreAllInclude | missing | as searchIncludeAllExclude | not in the wheel |
searchRowsOnlyExclude | missing | as searchIncludeAllExclude | not in the wheel |
searchRowsOnlyInclude | missing | as searchIncludeAllExclude | not in the wheel |
byLength | ported | by_length | not in the wheel |
search/serial.py
crate 3 of 9The runs of a stream that are segments searched for, and the stream with each marked by a lyric. Matching says how a run is told the same as a segment, which is music21's five subclasses.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
getContiguousSegmentsByLength | missing | the searcher's by_length, which find asks for itself | not in the wheel |
findOneIgnoreAll | missing | one of the two branches of music21's find, which it picks by how repetitions are read; the crate's find is the one walk | not in the wheel |
findOneOtherReps | missing | the other branch of find | not in the wheel |
checkSearchedAlready | missing | whether a segment the same as one already searched for is to be passed over, which find keeps as it goes | not in the wheel |
normalize | missing | how a run is read before it is compared, which is what Matching says: the pitch classes, the intervals they make, or the row they are | not in the wheel |
equalSubset | missing | the comparison Matching decides, which the crate does inside find | not in the wheel |
reps | ported | repetitions | not in the wheel |
includeChords | ported | include_chords | not in the wheel |
find | ported | find | not in the wheel |
search/serial.py
crate 6 of 6Module-level: the six functions marking a stream's runs with the name of the segment each matched. Each is SegmentMatcher::label given the Matching that function's name says.
| music21 | Crate | music21-rs | Wheel |
|---|---|---|---|
labelSegments | ported | label | not in the wheel |
labelTransposedSegments | ported | label | not in the wheel |
labelTransformedSegments | ported | label | not in the wheel |
labelMultisets | ported | label | not in the wheel |
labelTransposedMultisets | ported | label | not in the wheel |
labelTransposedAndInvertedMultisets | ported | label | not in the wheel |
Nothing matches that filter.
Every public member of the music21 classes the crate ports, read from the submodule, and asked of each side separately. The crate may leave a member out on purpose — a reason is shown beside it and it still counts against the total — but one the wheel lacks is a member a program loses when it calls install_into_music21(). It runs the other way too: a member the wheel answers and the crate has no function for is one whose answer is Python's rather than music theory's — a cached value, a callback from the object that holds it, an instrument, or a walk through the stream a note sits in.
10 capabilities
| Capability | music21-rs | music21 |
|---|---|---|
| PolyrhythmCross-rhythms as a first-class thing: the cycle two or more pulses make together, where the hits fall in it, and the chord that cycle maps onto when its ratios are read as pitches. music21 has no counterpart. | present | nothing of the kind |
| Tuning systemsExact ratio tables - just intonation, meantone, Bohlen-Pierce, the Carlos scales - with frequencies derived from the ratios rather than from equal temperament, and available with no features turned on. Fourteen of them are the historical keyboard temperaments, Salinas 1577 through Lehman 2005, reachable together as HISTORICAL_TEMPERAMENTS; they are counted here rather than again, being the same tables. 23 of the 28 are in the bundled Scala archive too - the same scales stored the other way, exact ratios against parsed cents - which is deliberate and pinned by a test. music21 tunes a scale only by reading a Scala file. | 28 systems | nothing of the kind |
| Adaptive tuningTuning where a pitch's frequency depends on the harmony it is sounding in rather than on a fixed table - recursive just intonation, five-limit from whichever note is the root. | present | nothing of the kind |
| Scala archiveEvery scale music21 ships, plus the hexatone collection, parsed into one table at build time rather than read from disk. The reader also handles the inline comments and EDO notation that music21's own parser mis-reads. | 3994 scales | 3932 scales |
| Regular temperamentsA mapping from the primes onto a period and its generators, the commas it tempers out, and the scales that come of stacking it. Every one is checked against the Xenharmonic Wiki, so a mistranscribed number fails the build. | 95 temperaments | nothing of the kind |
| Monzos and valsAn interval as the exponents of the primes in its ratio, so 81/80 is [-4 4 -1>, and how many steps of a tuning each prime is worth, 12edo being <12 19 28]. A val mapping a comma to nothing tempers it out. | present | nothing of the kind |
| Moments of symmetryThe scales a single generator makes. Seven fifths folded into an octave give exactly two step sizes, which is the diatonic scale, 5L 2s. The pattern is kept apart from the tuning, and nothing assumes the period is an octave. | present | nothing of the kind |
| Equal divisions of anythingEqual steps of any interval, not only of the octave: Bohlen-Pierce divides a twelfth into thirteen. The octave-repeating tables above cannot express those by construction. | present | nothing of the kind |
Harte chord notationChord labels as harte-library reads them, C:maj7/3 or Bb:(b3,5,b7,9), built into chords with the root fixed as the label names it. The harte crate in this repository, ported from harte-library and checked against every label in that library's 8,064-chord coverage set. |
48 shorthands | nothing of the kind |
| Duplicate detectionWhich of these are the same tuning under another name, compared by sound rather than spelling. It finds 44 groups of repeats among the archive's 3,994 scales. | present | nothing of the kind |
ALL constBeam structBeam::beam_type methodBeam::set_beam_type methodBeam::set_direction methodBeam::set_number methodBeamDirection enumBeamDirection::as_str methodBeamDirection::from_music21_name methodBeamType enumBeamType::as_str methodBeamType::from_music21_name methodBeams::beams_mut methodBeams::feathered methodBeams::fill_levels methodBeams::is_empty methodBeams::len methodBeams::levels_for methodBeams::naive methodBeams::set_beams methodBeams::set_feathered methodJustification enumJustification::as_str methodLEVELS constLyric::clear_text methodLyric::elision_before methodLyric::explicit_identifier methodLyric::explicit_syllabic methodLyric::explicit_text methodLyric::from_raw_text methodLyric::is_hidden methodLyric::set_components methodLyric::set_elision_before methodLyric::set_hidden methodLyric::set_identifier methodLyric::set_justify methodLyric::set_number methodLyric::set_placement methodLyric::set_raw_text methodLyric::set_syllabic methodLyric::unsung methodNAMES constNoteSize enumNoteSize::as_str methodNotehead enumNotehead::as_str methodPlacement enumPlacement::as_str methodStemDirection enumStemDirection::as_str methodSyllabic enumSyllabic::as_str methodTie::set_placement methodTie::set_style methodTie::set_tie_type methodTieStyle enumTieStyle::as_str methodTieType enumTieType::as_str methodALL constBarTogether enumBarTogether::as_str methodStaffGroup::name_hidden methodStaffGroup::set_abbreviation methodStaffGroup::set_bar_together methodStaffGroup::set_name methodStaffGroup::set_name_hidden methodStaffGroup::set_symbol methodStream::abbreviation_hidden methodStream::add_spanner methodStream::add_staff_group methodStream::end_offset methodStream::ending methodStream::events_mut methodStream::for_each_mut methodStream::from_events methodStream::is_empty methodStream::kind methodStream::leaves methodStream::len methodStream::measure_numbering methodStream::metronome_mark_at methodStream::name_hidden methodStream::number_hidden methodStream::number_suffix methodStream::padding_left methodStream::padding_right methodStream::retain_leaves methodStream::set_abbreviation methodStream::set_abbreviation_hidden methodStream::set_ending methodStream::set_id methodStream::set_kind methodStream::set_left_barline methodStream::set_measure_numbering methodStream::set_metadata methodStream::set_name methodStream::set_name_hidden methodStream::set_number methodStream::set_number_hidden methodStream::set_number_suffix methodStream::set_padding_left methodStream::set_padding_right methodStream::set_right_barline methodStream::staff_groups methodStream::streams_of_kind methodStream::with_kind methodStreamElement enumStreamElement::as_stream methodStreamElement::is_note_or_chord methodStreamEvent structStreamEvent::element_mut methodStreamEvent::end_offset methodStreamKind enumStreamKind::as_str methodALL constDuration::eighth methodDuration::expression_is_inferred methodDuration::from_type methodDuration::half methodDuration::is_grace methodDuration::quarter methodDuration::set_dot_groups methodDuration::set_dots methodDuration::set_expression_is_inferred methodDuration::set_grace methodDuration::set_linked methodDuration::set_quarter_length methodDuration::set_tuplets methodDuration::whole methodDuration::written_values methodDurationTuple structDurationTuple::silenced methodDurationType enumDurationType::from_music21_name methodDurationType::quarter_length_with_dots methodGrace structGrace::appoggiatura methodGrace::make_time methodGrace::set_make_time methodGrace::set_slash methodGrace::set_steal_time_following methodGrace::set_steal_time_previous methodGrace::slash methodGrace::steal_time_following methodGrace::steal_time_previous methodTuplet::actual methodTuplet::actual_show methodTuplet::augmented methodTuplet::bracket methodTuplet::normal methodTuplet::normal_dots methodTuplet::normal_duration_type methodTuplet::normal_show methodTuplet::ratio methodTuplet::set_actual_show methodTuplet::set_bracket methodTuplet::set_duration_actual methodTuplet::set_duration_normal methodTuplet::set_normal_show methodTuplet::set_placement methodTuplet::set_tuplet_type methodTuplet::tuplet_type methodTuplet::with_normal methodTupletBracket enumTupletNotation structTupletShow enumTupletShow::as_str methodTupletType enumTupletType::as_str methodALL constArpeggioType enumArpeggioType::as_str methodExpression enumExpression::tie_attach methodFermata structFermata::fermata_type methodFermata::set_fermata_type methodFermata::set_shape methodFermata::shape methodFermataType enumFermataType::as_str methodOrnament::appoggiatura_size methodOrnament::auto_scale methodOrnament::is_a methodOrnament::kind methodOrnament::measured methodOrnament::nachschlag methodOrnament::of_kind methodOrnament::set_accidental methodOrnament::set_appoggiatura_size methodOrnament::set_auto_scale methodOrnament::set_delay methodOrnament::set_lower_accidental methodOrnament::set_measured methodOrnament::set_nachschlag methodOrnament::set_number_of_marks methodOrnament::set_placement methodOrnament::set_quarter_length methodOrnament::set_tie_attach methodOrnament::set_upper_accidental methodOrnament::tie_attach methodOrnamentDelay enumOrnamentKind enumOrnamentKind::class_name methodOrnamentKind::from_class_name methodOrnamentKind::has_fixed_size methodOrnamentKind::parents methodRealization::into_notes methodRehearsalMark structRehearsalMark::enclosure methodRehearsalMark::set_content methodRehearsalMark::set_enclosure methodRehearsalMark::set_placement methodTextExpression structTextExpression::set_content methodTextExpression::set_placement methodTurnNote enumrealize_ornaments fnLineEnd enumLineEnd::as_str methodLineEnds structOctaveShift structOctaveShift::set_transposing methodOctaveShift::transposing methodPedal structPedalForm enumPedalForm::as_str methodPedalForm::has_line methodPedalObject structPedalObject::kind methodPedalObject::set_placement methodPedalObjectKind enumPedalObjectKind::class_name methodPedalObjectKind::from_class_name methodPedalType enumPedalType::as_str methodSlideType enumSlideType::as_str methodSpanner::arpeggio methodSpanner::arpeggio_mark methodSpanner::ends methodSpanner::glissando_details methodSpanner::is_empty methodSpanner::kind methodSpanner::len methodSpanner::pedal methodSpanner::pedal_mark methodSpanner::set_arpeggio methodSpanner::set_ends methodSpanner::set_glissando_details methodSpanner::set_line_type methodSpanner::set_number_of_marks methodSpanner::set_offset methodSpanner::set_pedal methodSpanner::set_placement methodSpanner::set_shift methodSpanner::set_spread methodSpanner::shift methodSpanner::slur methodSpanner::spread methodSpanner::wedge methodSpanner::with_unplaced methodSpannerKind enumSpannerKind::class_name methodSpannerKind::is_wedge methodSpannerKind::numbering_class methodA0 constA4 constALL_TUNING_SYSTEMS constAN1 constAnyTuningSystem enumAnyTuningSystem::cents_at methodAnyTuningSystem::frequency_at methodAnyTuningSystem::is_adaptive methodC0 constC4 constCN1 constCOMMON_EQUAL_TEMPERAMENTS constCOMMON_TWELVE_TONE_TUNING_SYSTEMS constEQUAL_TEMPERAMENT constHISTORICAL_TEMPERAMENTS constINDIAN_SCALE_NAMES constJAVANESE constOCTAVE_SIZE constQUARTER_TONE constRatio enumRatio::monzo methodRatio::to_fraction methodRatio::with_octaves methodTHAI constTuningSystem enumTuningSystem::cents_at methodTuningSystem::degrees_per_period methodTuningSystem::description methodTuningSystem::display_name methodTuningSystem::edo methodTuningSystem::exact_ratio methodTuningSystem::frequency_at methodTuningSystem::is_keyboard methodTuningSystem::nearest_degree methodTuningSystem::period_cents methodTuningSystem::period_of methodTuningSystem::pitch_at methodTuningSystem::ratio methodTuningSystem::ratio_at methodTuningSystem::repeats_at_the_octave methodWHOLE_TONE constequal_temperament fnALL constArticulation::alternate methodArticulation::bend_alter methodArticulation::display_text methodArticulation::finger methodArticulation::harmonic_type methodArticulation::is_a methodArticulation::kind methodArticulation::length_shift methodArticulation::of_kind methodArticulation::pitch_type methodArticulation::point_direction methodArticulation::pre_bend methodArticulation::release methodArticulation::set_alternate methodArticulation::set_bend_alter methodArticulation::set_display_text methodArticulation::set_finger methodArticulation::set_harmonic_type methodArticulation::set_length_shift methodArticulation::set_number methodArticulation::set_pitch_type methodArticulation::set_placement methodArticulation::set_point_direction methodArticulation::set_pre_bend methodArticulation::set_release methodArticulation::set_substitution methodArticulation::set_symbol methodArticulation::set_tie_attach methodArticulation::set_volume_shift methodArticulation::set_with_bar methodArticulation::substitution methodArticulation::tie_attach methodArticulation::with_bar methodArticulationKind enumArticulationKind::class_name methodArticulationKind::from_class_name methodArticulationKind::has_field methodArticulationKind::parents methodFinger enumFinger::from_written methodDEFAULT_TEMPO_VALUES constMetricModulation::arrow_direction methodMetricModulation::classical_style methodMetricModulation::maintain_beat methodMetricModulation::parentheses methodMetricModulation::set_arrow_direction methodMetricModulation::set_classical_style methodMetricModulation::set_maintain_beat methodMetricModulation::set_new_metronome methodMetricModulation::set_new_referent methodMetricModulation::set_old_metronome methodMetricModulation::set_old_referent methodMetricModulation::set_parentheses methodMetricModulation::set_placement methodMetricModulation::set_transition_symbol methodMetricModulation::transition_symbol methodMetronomeMark::number_implicit methodMetronomeMark::parentheses methodMetronomeMark::quarter_length_to_seconds methodMetronomeMark::set_number methodMetronomeMark::set_number_implicit methodMetronomeMark::set_number_sounding methodMetronomeMark::set_parentheses methodMetronomeMark::set_placement methodMetronomeMark::set_referent methodMetronomeMark::sounding_quarter_bpm methodMetronomeMark::text_implicit methodMetronomeMark::with_number_and_text methodMetronomeMark::with_number_sounding methodMetronomeMark::with_referent methodModulationSide enumTempoText structTempoText::is_common_tempo_text methodTempoText::set_placement methoddefault_number_for_text fndefault_text_for_number fninterpolated_offset fnis_common_tempo_text fnBeamedNote structBeatDivision enumBeatDivision::count methodTimeSignature::accent_partition_quarter_length methodTimeSignature::accent_sequence methodTimeSignature::accent_sequence_mut methodTimeSignature::accent_weight_at_level methodTimeSignature::accent_weight_with methodTimeSignature::accent_weights methodTimeSignature::bar_quarter_length methodTimeSignature::beam_sequence methodTimeSignature::beam_sequence_mut methodTimeSignature::beat_division methodTimeSignature::beat_division_quarter_lengths methodTimeSignature::beat_duration_at methodTimeSignature::beat_quarter_length methodTimeSignature::beat_sequence methodTimeSignature::beat_sequence_mut methodTimeSignature::common methodTimeSignature::cut methodTimeSignature::display_sequence methodTimeSignature::display_sequence_mut methodTimeSignature::divide_beats methodTimeSignature::favors_compound methodTimeSignature::from_ratio_string methodTimeSignature::is_compound methodTimeSignature::is_hidden methodTimeSignature::is_restated methodTimeSignature::set_beat_count methodTimeSignature::set_hidden methodTimeSignature::set_restated methodTimeSignature::set_summed_numerator methodTimeSignature::set_symbol methodTimeSignature::set_symbolize_denominator methodTimeSignature::symbolize_denominator methodpartition_name fnsnapped_fraction fnEACH constInstrument::class_name methodInstrument::families methodInstrument::highest methodInstrument::in_percussion_map methodInstrument::instrument_id methodInstrument::is_a methodInstrument::kind methodInstrument::kinds methodInstrument::lowest methodInstrument::midi_channel methodInstrument::midi_program methodInstrument::of_kind methodInstrument::part_id methodInstrument::set_abbreviation methodInstrument::set_highest methodInstrument::set_in_percussion_map methodInstrument::set_instrument_id methodInstrument::set_lowest methodInstrument::set_midi_channel methodInstrument::set_midi_program methodInstrument::set_modifier methodInstrument::set_name methodInstrument::set_part_abbreviation methodInstrument::set_part_id methodInstrument::set_part_name methodInstrument::set_percussion_pitch methodInstrument::set_sound methodInstrument::set_string_pitches methodInstrument::set_transposition methodInstrument::sound methodInstrument::sounding methodInstrument::transposition methodInstrument::written methodSearchLanguage enumSearchLanguage::as_str methodPitch::builder methodPitch::frequency_hz_in methodPitch::frequency_hz_tuned methodPitch::from_frequency methodPitch::from_frequency_in methodPitch::from_midi methodPitch::from_name_and_octave methodPitch::from_number methodPitch::from_options methodPitch::from_pitch_class methodPitch::from_pitch_space methodPitch::from_step methodPitch::fundamental methodPitch::pitch_space methodPitch::set_accidental methodPitch::set_accidental_alter methodPitch::set_microtone_cents methodPitch::set_octave methodPitch::set_octave_is_implicit methodPitch::set_spelling_is_inferred methodPitch::set_written_accidental methodPitch::spelling_is_inferred methodPitch::written_accidental methodPitch::written_accidental_mut methodPitchName enumPitchOptions structPitchOptions::build methodPitchOptions::fundamental methodPitchOptions::pitch_space methodChord::empty methodChord::found_bass methodChord::found_root methodChord::guitar_fingering methodChord::guitar_fingering_with_tuning methodChord::is_empty methodChord::iter_pitches methodChord::len methodChord::note_for_pitch methodChord::note_for_pitch_mut methodChord::notes_mut methodChord::numeral methodChord::overridden_bass methodChord::overridden_root methodChord::polyrhythm_components methodChord::polyrhythm_ratio_string methodChord::remove_named methodChord::remove_redundant_pitch_classes_reporting methodChord::remove_redundant_pitch_names_reporting methodChord::remove_redundant_pitches_reporting methodChord::set_bass methodChord::set_duration methodChord::set_numeral methodChord::set_root methodChord::simplify_enharmonics_in_place methodChord::with_duration methodChord::with_numeral methodIntoNotes traitFUNCTIONALITY_SCORES constFigureTuple structImpliedQuality enumImpliedQuality::correct_semitones methodMinor67Default enumNumeralAlone structPitchFigureTuple structRomanNumeral::added_steps methodRomanNumeral::bracketed_alterations methodRomanNumeral::case_matters methodRomanNumeral::degree methodRomanNumeral::effective_key_of methodRomanNumeral::figure_numbers methodRomanNumeral::figures_notation methodRomanNumeral::figures_written methodRomanNumeral::front_alteration_string methodRomanNumeral::implied_quality methodRomanNumeral::omitted_steps methodRomanNumeral::over_scale methodRomanNumeral::roman_numeral_alone methodRomanNumeral::secondary methodRomanNumeral::seventh_minor methodRomanNumeral::sixth_minor methodRomanNumeral::with_minor_defaults methodRomanNumeral::with_options methodRomanNumeral::written_accidental methodChordAlteration structChordAlteration::degree methodChordQuality enumChordSymbol::add_chord_step_modification methodChordSymbol::additions methodChordSymbol::alterations methodChordSymbol::chord_step_modifications methodChordSymbol::extensions methodChordSymbol::from_kind methodChordSymbol::is_no_chord methodChordSymbol::kind methodChordSymbol::kind_text methodChordSymbol::lyrics_mut methodChordSymbol::no_chord methodChordSymbol::omissions methodChordSymbol::parse_music21 methodChordSymbol::set_bass methodChordSymbol::set_chord_step_modifications methodChordSymbol::set_duration methodChordSymbol::set_kind_text methodChordSymbol::set_placement methodChordSymbol::set_root methodChordSymbol::with_duration methodChordSymbol::with_kind methodchord_symbol_durations fnPolyrhythm structPolyrhythm::analysis methodPolyrhythm::beat_timings methodPolyrhythm::coincidence_ticks methodPolyrhythm::component_intervals methodPolyrhythm::current_tick methodPolyrhythm::cycle_len methodPolyrhythm::from_time_signature methodPolyrhythm::hit_events methodPolyrhythm::measure_duration methodPolyrhythm::ratio_chord methodPolyrhythm::ratio_frequencies methodPolyrhythm::ratio_pitches methodPolyrhythm::ratio_tones methodPolyrhythm::reset methodPolyrhythm::set_tempo methodPolyrhythm::tempo methodPolyrhythm::tick_duration methodPolyrhythm::with_tempo methodPolyrhythmAnalysis structPolyrhythmEvent structPolyrhythmRatioTone structElementTimespan::is_pitched methodElementTimespan::parent_end_time methodElementTimespan::parent_offset methodFlatten enumHorizontality::timespans methodTimespanTree::all_offsets methodTimespanTree::all_time_points methodTimespanTree::highest_position methodTimespanTree::is_empty methodTimespanTree::len methodTimespanTree::overlap_time_points methodTimespanTree::overlapping methodTimespanTree::position_after methodTimespanTree::position_before methodTimespanTree::source methodTimespanTree::starting_at methodTimespanTree::stopping_at methodTimespanTree::timespans methodVerticality::overlap_timespans methodVerticality::start_timespans methodVerticality::stop_timespans methodVerticality::voice_leading_timespans methodMonzo structMonzo::exponent_of methodMonzo::exponents methodMonzo::from_fraction methodMonzo::from_ratio methodMonzo::inverse methodMonzo::limit methodMonzo::multiply methodMonzo::pow methodMonzo::pythagorean methodMonzo::ratio methodMonzo::unison methodPRIMES constVal structVal::divisions methodVal::entries methodVal::error_cents methodVal::limit methodVal::map methodVal::patent methodVal::reaches methodVal::tempers_out methodScalaArchive structScalaArchive::bundled methodScalaArchive::bundled_len methodScalaArchive::bundled_with_failures methodScalaArchive::insert_scale methodScalaArchive::is_empty methodScalaArchive::len methodScalaArchive::names methodScalaDegree enumScalaDegree::as_ratio methodScalaDegree::ratio methodScalaDegree::written methodScalaScale::cents_above_root methodScalaScale::degrees methodScalaScale::description methodScalaScale::frequency_at methodScalaScale::from_written_cents methodScalaScale::is_empty methodScalaScale::len methodScalaScale::parse_bytes methodScalaScale::ratio_at methodScalaScale::written_degrees methodTemperament structTemperament::equave methodTemperament::equave_cents methodTemperament::error_cents methodTemperament::from_mapping methodTemperament::from_mapping_rows methodTemperament::from_published methodTemperament::generator_cents methodTemperament::generator_map methodTemperament::map methodTemperament::moments methodTemperament::mos methodTemperament::pattern methodTemperament::period_cents methodTemperament::period_map methodTemperament::periods_per_equave methodTemperament::primes methodTemperament::rank methodTemperament::repeats_at_the_octave methodTemperament::subgroup_name methodTemperament::tempers_out methodcrate::tuningsystem::NamedTemperament::temperament methodIntoNote traitNote::articulations methodNote::articulations_mut methodNote::beams_mut methodNote::expressions methodNote::expressions_mut methodNote::from_number methodNote::from_pitch methodNote::hidden methodNote::lyrics_mut methodNote::set_beams methodNote::set_duration methodNote::set_hidden methodNote::set_id methodNote::set_lyric methodNote::set_notehead_parenthesis methodNote::set_pitch methodNote::set_size methodNote::set_stored_instrument methodNote::with_duration methodALL constDegreeComparison enumHUMDRUM_SOLFEG_SYLLABLES constSOLFEG_SYLLABLES constScaleType enumScaleType::ascending_degrees methodScaleType::beyond_terminus methodScaleType::derive_ranked_by methodScaleType::descending_form methodScaleType::descending_steps methodScaleType::dominant_degree methodScaleType::from_music21_name methodScaleType::is_cycle methodScaleType::is_plagal methodScaleType::music21_descriptive_name methodScaleType::realization_steps methodScaleType::tonic_degree methodSimplification enumSolfegVariant enumEqualDivision structEqualDivision::approximation_of methodEqualDivision::cents_at methodEqualDivision::degrees methodEqualDivision::divisions methodEqualDivision::edo methodEqualDivision::error_at_cents methodEqualDivision::mos methodEqualDivision::nearest_degree methodEqualDivision::of_ratio methodEqualDivision::patent_val methodEqualDivision::period_cents methodEqualDivision::period_ratio methodEqualDivision::ratio_at methodEqualDivision::repeats_at_the_octave methodEqualDivision::step_cents methodEqualDivision::tritave methodTRITAVE_CENTS constALL constKeyEstimate structKeyProfile enumKeyProfile::identifiers methodKeyProfile::minor_weights methodKeyProfile::music21_class_name methodestimate_key_from_chords fnestimate_key_from_chords_with fnestimate_key_from_pitches fnestimate_key_from_pitches_with fnestimate_key_of_stream fnmelodic_line_positions fnmelodic_lines fnpitch_class_distribution fnstream_distribution fnstream_pitch_span fntonal_certainty_from_scores fnPercussionChord::is_empty methodPercussionChord::is_unpitched methodPercussionChord::len methodPercussionChord::with_duration methodPercussionChord::written methodPercussionChord::written_mut methodPercussionNote enumUnpitched structUnpitched::display_name methodUnpitched::display_octave methodUnpitched::display_pitch methodUnpitched::display_step methodUnpitched::displayed_at methodUnpitched::from_display_name methodUnpitched::with_duration methodUnpitched::written methodUnpitched::written_mut methodALL constClef::is_a methodClef::kind methodClef::lowest_line methodClef::of_kind methodClef::places_pitches methodClef::set_line methodClef::set_lowest_line methodClef::set_octave_change methodClef::set_sign methodClef::sign methodClef::treble methodClefKind enumClefKind::class_name methodClefKind::from_class_name methodClefKind::parents methodMos structMos::brightest_word methodMos::inverted methodMos::large methodMos::small methodMosScale structMosScale::degrees methodMosScale::from_equal_division methodMosScale::generator methodMosScale::is_equal methodMosScale::is_moment_of_symmetry methodMosScale::pattern methodMosScale::steps methodMosScale::word methodOCTAVE_CENTS constmoment_of_symmetry_sizes fnalphabet fnascii_char fnbefore_note_expression fnbinary_dots fnbowing fncell fncells fnclef_prefix fnclef_suffix fnfermata fnfinger_mark fnlength_prefix fnnaturals fnnumber_lower fnnumber_upper fnDataInstance::analyzed_key methodDataInstance::parts_count methodDataInstance::parts_sounding methodDataInstance::prepared methodExtractor structExtractor::description methodExtractor::dimensions methodExtractor::discrete methodFeature::discrete methodFeature::values methodFeature::vector methodSeconds structValue enumValue::as_float methodValue::is_integer methodEXTENDER constFigure::has_extender methodFigure::set_number methodModifier::written methodNotation structNotation::column methodNotation::extenders methodNotation::figure_strings methodNotation::figures methodNotation::figures_as_written methodNotation::has_extenders methodNotation::modifier_strings methodNotation::modifiers methodNotation::original_modifiers methodNotation::original_numbers methodALL constHistoricalRow structHistoricalRow::row methodIndexedTransformation typeLinkClassification structToneRow::find_transformations methodToneRow::from_pitches methodToneRow::is_empty methodToneRow::len methodToneRow::transformation methodTransformation enumTransformationConvention enumTwelveToneMatrix structTwelveToneMatrix::row methodTwelveToneMatrix::rows methodInterval::between_notes methodInterval::diatonic_interval_cent_shift methodInterval::from_chromatic methodInterval::from_diatonic methodInterval::from_diatonic_and_chromatic methodInterval::from_semitones methodInterval::generic_number methodInterval::is_implicit_diatonic methodInterval::pythagorean_monzo methodInterval::transpose_pitch_in_place methodInterval::transpose_pitch_with_options methodInterval::whole_semitones methodIntervalDirection enumIntervalDirection::as_int methodRest::articulations methodRest::articulations_mut methodRest::expressions methodRest::expressions_mut methodRest::full_measure methodRest::hidden methodRest::lyrics_mut methodRest::set_duration methodRest::set_full_measure methodRest::set_hidden methodRest::set_lyric methodRest::set_size methodRest::set_step_shift methodRest::step_shift methodALL constChainOrder enumHexatonicSystem enumMediant enumMediant::code methodMediant::from_code methodMediantSide enumRespell enumTransform enumTransform::from_symbol methodTransform::parse_chain methodlrp_chain fnsimpler_enharmonics fnDynamicContext enumVolume::from_velocity methodVolume::from_velocity_scalar methodVolume::has_velocity_information methodVolume::realized_dynamic methodVolume::realized_with methodVolume::realized_without_velocity methodVolume::set_velocity methodVolume::set_velocity_is_relative methodVolume::set_velocity_scalar methodVolume::velocity_is_relative methoddynamics_in_force fnrounded_str fnMetadata::add_text methodMetadata::all_sorted methodMetadata::first_text methodMetadata::is_empty methodMetadataMatch structMetadataMatch::field methodMetadataQuery enumMetadataValue structMetadataValue::role methodMetadataValue::with_role methodOLD_MUSIC21_NAMES constSTANDARD_PROPERTIES constMeterTerminal::flattened methodMeterTerminal::from_partition_string methodMeterTerminal::from_parts_given methodMeterTerminal::from_ratio_string methodMeterTerminal::is_empty methodMeterTerminal::len methodMeterTerminal::partition_by_parts methodMeterTerminal::parts_mut methodMeterTerminal::set_summed_numerator methodMeterTerminal::set_weight methodMeterTerminal::subdivide_nested_hierarchy_by methodOffsetAlign enumCtLabels structCtRule structCtRule::expand_in methodCtRule::measure_groups methodCtSong structCtSong::lines methodCtSong::rule methodCtSong::to_part_with methodGroupKind enumMeasureGroup structfrom_clercq_temperley fnfrom_clercq_temperley_with fnAffinity enumBrailleElement structBrailleElementGrouping structBrailleGrandSegment::english methodBrailleSegment::english methodHand enumNoteGroupingTranscriber structNoteGroupingTranscriber::transcribe_group methodSegmentKey structSegmentOptions structtranscribe_note_grouping fnKeySignature::accidentals_apply_only_to_octave methodKeySignature::description methodKeySignature::from_altered_pitches methodKeySignature::is_non_traditional methodKeySignature::set_accidentals_apply_only_to_octave methodKeySignature::set_altered_pitches methodKeySignature::set_non_traditional methodKeySignature::set_sharps methodKeySignature::try_as_key methodmode_sharps_alter fnpitch_name_to_sharps fnALL constRepeatExpression::kind methodRepeatExpression::set_placement methodRepeatExpression::set_use_symbol methodRepeatExpression::use_symbol methodRepeatExpression::with_text methodRepeatExpressionKind enumRepeatExpressionKind::class_name methodRepeatExpressionKind::from_class_name methodRepeatExpressionKind::has_symbol methodRepeatExpressionKind::text_alternatives methodMotionType enumMotionType::as_str methodParallelRequirement enumQuartetOptions structVoiceLeadingQuartet::from_names methodVoiceLeadingQuartet::horizontal_intervals methodVoiceLeadingQuartet::set_key methodVoiceLeadingQuartet::vertical_intervals methodVoiceLeadingQuartet::with_key methodverticality_positions_at fnvoice_leading_quartet_positions fnMeasureRelationship structPROBABILITY_ON_ADDITION constPROBABILITY_ON_EQUALITY constPROBABILITY_ON_OMISSION constPriorsIntegrationScore structScoreCorrector::into_score methodScoreCorrector::single_parts methodSinglePart::incorrect_measures methodSinglePart::index_array methodSinglePart::part_number methodSieve::contains methodSieve::from_segment methodSieve::intersection methodSieve::interval_widths methodSieve::segment_binary methodSieve::segment_unit methodSieve::segment_widths methodSieve::shifted methodSieve::symmetric_difference methodSieve::union methodPartActivity structPartGroup structReductiveNote::measure_index methodReductiveNote::measure_offset methodReductiveNote::parameters methodReductiveParameters structScoreReduction::set_chord_reduction methodScoreReduction::set_score methodWeightedSpan structALL constBarline::set_bar_type methodBarlineType enumBarlineType::as_str methodEnding::number_text methodEnding::starts methodEnding::stops methodRepeatDirection enumRepeatDirection::as_str methodFiguredBassLine::add_chord methodFiguredBassLine::in_key methodFiguredBassLine::in_key_and_time methodFiguredBassLine::is_empty methodFiguredBassLine::len methodRealization::fallbacks methodRealization::keyboard_style_output methodRealization::of methodRealization::set_keyboard_style_output methodKey::derive_by_degree_of methodKey::from_tonic methodKey::from_tonic_mode methodKey::harmonized_sevenths methodKey::harmonized_triads methodKey::mode methodKey::seventh_chord_from_degree methodKey::tonic_pitch methodKey::triad_from_degree methodConsecutive structPossibility typePossibilityPair typeSegment::from_pitch_names methodSegment::max_pitch methodSegment::num_parts methodSegment::overlaid methodSegment::pitches_above_bass methodDEFAULT_TICKS_PER_QUARTER constMidiNote structMidiNote::with_channel methodmidi_notes_from_stream fnread_midi_bytes fnread_midi_bytes_with_tempo fnstream_from_midi_notes fnwrite_midi_bytes fnDirection enumTabChord structVersion enumVersion::columns methodVersion::from_number methodVersion::read_columns methodfigured_bass_of fnto_tsv_with_extra fnLengthType enumLengthType::as_str methodVariant::contents methodVariant::contents_mut methodVariant::from_stream methodVariant::groups_mut methodVariant::named methodVariant::set_replacement_quarter_length methodCHORDAL constEnharmonicRules structEnharmonicRules::alteration_penalty methodEnharmonicRules::aug_dim_penalty methodEnharmonicRules::mixture_penalty methodMELODIC constbest_choice fnDynamic::english_name methodDynamic::from_scalar methodDynamic::long_name methodDynamic::set_placement methodDynamic::set_value methodDynamic::set_volume_scalar methodSHORT_NAMES constHarm structHarm::alternative methodHarm::attribute methodHarm::implied methodHarm::intervals methodHarm::roman_figure methodHarm::secondary methodStyleValue enumStyleValue::read methodTextStyle::set_align_horizontal methodTextStyle::set_align_vertical methodTextStyle::set_font_style methodTextStyle::set_font_weight methodTextStyle::set_justify methodabc_chord fnabc_duration fnabc_note fnabc_rest fnpitch_name_from_abc_note fnpitch_names_from_abc_chord fnGuitarFingering structGuitarStringFingering structGuitarTuning structGuitarTuning::standard methodGuitarTuning::strings methodGuitarTuningString structCSS_COLORS constDIVISIONS_PER_QUARTER constExportOptions structMUSICXML_VERSION constcss_color_hex fnto_musicxml fnALL constFunctionDetail enumHarmonicFunction enumHarmonicFunction::from_symbol methodHarmonicFunction::main_function methodAugmentedSixth enumAugmentedSixth::from_number methodAugmentedSixth::of methodChordInfo structChordInfo::of methodLayout enumLayout::class_name methodStaffType enumStaffType::as_str methodTenths enumALL constBluesForm enumWeightedHexatonicBlues structWeightedHexatonicBlues::form_for_seed methodWeightedHexatonicBlues::sample methodStepScale structStepScale::cyclical_of methodStepScale::octave_repeating_of methodStepScale::sieve_by methodStepScale::steps methodAdaptiveTuningSystem enumAdaptiveTuningSystem::cents_at methodAdaptiveTuningSystem::cents_vs_fixed_at methodAdaptiveTuningSystem::frequency_at methodRECURSIVE_JI constJust structReference structReference::a440 methodReference::hertz methodTuning traitOrnamentFixer::fixed methodOrnamentFixer::trills methodOrnamentFixer::turns methodRecognizer enumPitchAttribute enumRunDirection enumScaleRun structScaleRunOptions structWindowStep enumWindowType enumWindowedAnalysis::minimum_windows methodWindowedAnalysis::window_count methodDEFAULT_MAX_PITCH constItalianSixth structItalianSixth::from_chord methodItalianSixth::of methodQUANTIZATION_DIVISORS constmake_measures_by fnop_frac fnset_stem_direction_for_beam_groups fnBreak enumBreak::class_name methodfrom_volpiano fnto_volpiano fnChange structChangeOp enumStreamAligner::with_hasher methodHashReference structHashValue enumNoteHash structAUDIO_CHUNK_LENGTH constRECORD_SAMPLE_RATE constmonophonic_stream_from_wav fnNoteContext structTranscription structtempo_to_braille fnBrailleText::add_measure_number_value methodBrailleText::current_line methodBrailleText::render methodLANGUAGE_CODES constTrigram::distance methodlanguage_name fnALL constFiguredBassMode enumFiguredBassScale::mode methodError enumResult typeJSYMBOLIC constextractor fnNATIVE constextractor fnLilyOptions structto_lilypond fnEvaluation structOmrGroundTruthPair::omr_mut methodfrom_roman_text fnto_roman_text fnpitch_to_dynamic_counts fnKeyAnalyzer::measure_count methodbeat_depths fnBrailleOptions structfrom_capella fnread_address fnRules structfrom_humdrum fnfrom_mei fnfrom_musedata fnfrom_noteworthy fnARTICLES constfrom_tiny_notation fnCounts are read out of the crate's own tables, so the report fails when one it names has gone. The list of members is derived: every public member of the crate, less every name music21 uses. It is bounded by what the map enumerates, so a member of a music21 class the map does not carry can appear here.