PitchSpellingModifier
public protocol PitchSpellingModifier : Comparable, CustomStringConvertible, Hashable
Interface for types which modify a LetterName value. Graphically repesented as components of
an Accidental.
-
A
PitchSpellingModifierwhich does not apply any modification.Declaration
Swift
static var identity: Self { get } -
The amount that a
PitchSpellingModifiermodifies the basePitch.Classof aLetterName(in percentage of aNoteNumber).Declaration
Swift
var adjustment: Double { get }
-
==(_:_:)Extension methodDeclaration
Swift
public static func == (lhs: Self, rhs: Self) -> BoolReturn Value
trueif theadjustmentproperty of thelhsvalue is equal to theadjustmentproperty of therhsvalue. Otherwisefalse.
-
hashValueExtension methodDeclaration
Swift
public var hashValue: Int { get }Return Value
The
hashValueof theadjustmentproperty.
-
<(_:_:)Extension methodDeclaration
Swift
public static func < (lhs: Self, rhs: Self) -> BoolReturn Value
trueif theadjustmentproperty of thelhsvalue is less than theadjustmentproperty of therhsvalue. Otherwisefalse.
Install in Dash
PitchSpellingModifier Protocol Reference