Crate redact_composer_musical

Crate redact_composer_musical 

Source
Expand description

Musical domain library.

Modules§

rhythm
Utilities for building or generating rhythms.

Structs§

Chord
Describes a chord using a root PitchClass, and ChordShape.
Interval
A pitch difference, measured in half-steps/semitones.
Key
Musical key signature represented as a root PitchClass, Scale (e.g. Major/Minor), and Mode.
Note
A musical note, corresponding to a specific frequency in 12 tone equal temperament space.
NoteIter
Iteration state for Notes according to an Interval pattern within a RangeBounds<Note>.
PitchClass
An octave-independent note.
TimeSignature
A musical time signature as a combination of beats per bar, and beat length.

Enums§

ChordShape
Chord types as interval collections.
Degree
Scale degree, based on a 7-note scale.
Mode
Offset applied to a Scale’s interval sequence.
NoteName
Musical note name.
Scale
Sequence of intervals spanning 12 semitones or one octave.

Traits§

IntervalCollection
Provides a collection of intervals, each as an absolute interval from a relative pitch.
IntervalStepSequence
Provides a sequence of intervals, representing the interval deltas from one note to the next.
NoteIterator
Provides iteration over notes of specific patterns (e.g. scale/chord) within a given note range.
PitchClassCollection
Trait implemented for types which represent or provide a collection of pitch classes.