Expand description
Rust helpers inspired by selected parts of Python’s music21.
The crate currently focuses on pitch construction, chord naming and lightweight theory utilities such as polyrhythm and tuning-system helpers.
Re-exports§
pub use chord::Chord;pub use chord::IntoNote;pub use chord::IntoNotes;pub use chord::KnownChordType;pub use exception::Exception;pub use exception::ExceptionResult;pub use note::Note;pub use pitch::Accidental;pub use pitch::AccidentalSpecifier;pub use pitch::Microtone;pub use pitch::MicrotoneSpecifier;pub use pitch::Pitch;pub use pitch::PitchClass;pub use pitch::PitchClassSpecifier;pub use pitch::PitchName;pub use pitch::PitchOptions;pub use polyrhythm::Polyrhythm;pub use polyrhythm::PolyrhythmEvent;pub use tuningsystem::COMMON_TWELVE_TONE_TUNING_SYSTEMS;pub use tuningsystem::Fraction;pub use tuningsystem::TuningSystem;
Modules§
- chord
- Chord construction, common-name analysis and chord input conversion traits.
- exception
- Error and result types used by the crate.
- note
- Note construction and pitch access helpers.
- pitch
- Pitch construction, spelling and pitch-space helpers.
- polyrhythm
- Polyrhythm timing and pitch-set helpers.
- tuningsystem
- Tuning-system ratios, labels and frequency helpers.