pub struct ChordifyOptions {
pub add_ties: bool,
pub remove_redundant_pitches: bool,
pub to_sounding_pitch: bool,
}Expand description
How Stream::chordify_with makes its chords: music21’s keyword
arguments to chordify.
Fields§
§add_ties: boolWhether a note sounding on from one chord into the next is tied
across: music21’s addTies.
remove_redundant_pitches: boolWhether a pitch two parts sound at once is one note of the chord
rather than two: music21’s removeRedundantPitches.
to_sounding_pitch: boolWhether a score written at the pitch its instruments read is turned
to the pitch it sounds first: music21’s toSoundingPitch.
Trait Implementations§
Source§impl Clone for ChordifyOptions
impl Clone for ChordifyOptions
impl Copy for ChordifyOptions
Source§impl Debug for ChordifyOptions
impl Debug for ChordifyOptions
Source§impl Default for ChordifyOptions
impl Default for ChordifyOptions
impl Eq for ChordifyOptions
Source§impl PartialEq for ChordifyOptions
impl PartialEq for ChordifyOptions
impl StructuralPartialEq for ChordifyOptions
Auto Trait Implementations§
impl Freeze for ChordifyOptions
impl RefUnwindSafe for ChordifyOptions
impl Send for ChordifyOptions
impl Sync for ChordifyOptions
impl Unpin for ChordifyOptions
impl UnsafeUnpin for ChordifyOptions
impl UnwindSafe for ChordifyOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more