pub enum Minor67Default {
Quality,
Flat,
Sharp,
Cautionary,
}Expand description
How a figure on the sixth or seventh degree of a minor key decides
between the natural and the raised degree: music21’s Minor67Default.
Minor is two scales at once, and a vi might mean either of two chords.
music21 lets a caller say which reading to use, and the readings differ
in what they do with an accidental the figure already carries.
Variants§
Quality
Read it from the chord the figure asks for: a minor triad on the sixth or a diminished chord on the seventh needs the raised degree, and a major one needs the natural. This is music21’s default and the reading most scores assume.
Flat
Always the natural degree, whatever the figure asks for. A sharp written in front still raises it.
Sharp
Always the raised degree. A flat written in front still lowers it.
Cautionary
As Quality, but an accidental already written in front is read as a
caution rather than as a further change — so #vi and vi are the
same chord, and so are bVI and VI.
Trait Implementations§
Source§impl Clone for Minor67Default
impl Clone for Minor67Default
Source§fn clone(&self) -> Minor67Default
fn clone(&self) -> Minor67Default
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for Minor67Default
Source§impl Debug for Minor67Default
impl Debug for Minor67Default
Source§impl Default for Minor67Default
impl Default for Minor67Default
Source§fn default() -> Minor67Default
fn default() -> Minor67Default
Source§impl<'de> Deserialize<'de> for Minor67Default
Available on crate feature serde only.
impl<'de> Deserialize<'de> for Minor67Default
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for Minor67Default
Source§impl Hash for Minor67Default
impl Hash for Minor67Default
Source§impl PartialEq for Minor67Default
impl PartialEq for Minor67Default
Source§impl Serialize for Minor67Default
Available on crate feature serde only.
impl Serialize for Minor67Default
serde only.impl StructuralPartialEq for Minor67Default
Auto Trait Implementations§
impl Freeze for Minor67Default
impl RefUnwindSafe for Minor67Default
impl Send for Minor67Default
impl Sync for Minor67Default
impl Unpin for Minor67Default
impl UnsafeUnpin for Minor67Default
impl UnwindSafe for Minor67Default
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> ⓘ
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> ⓘ
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