Crate rust_music Copy item path Source pub use crate::errors::Error ;
pub use score::Metadata ;
pub use score::Mode ;
pub use score::Score ;
pub use score::Tempo ;
pub use midly ;
composition The composition
feature enables the composition module which contains various
utilities that simplify music composition, for example by streamlining the creation
of common musical structures using music theory. dynamic errors num Exotically-sized integers used by the MIDI standard. rhythm score Chord Describes a set of notes played simultaneously Note Represents a music note, with a pitch, a rhythm, and a dynamic (volume) Part Describes a score’s part. A Part
is played by a single
instrument and can contain multiple phrases, played sequentially
or simultaneously Phrase Describes a single musical phrase. Multiple Phrases can be stored in a Part.
Phrases can be played in parallel too Accidental Represents a note accidental Instrument Describes a MIDI instrument and stores valid standard MIDI instrument code NoteName Represents a note by name without a specific octave or accidental
Supports both letters from A to G and traditional Do Re Mi … names PhraseEntry Describes the entries contains in a Phrase
compute_pitch Returns a pitch value based on the given pitch name, octave, and accidental pitch_info Returns the note name, accidental, and octave of the given pitch Result