NoteValue
public struct NoteValue: Codable
Defines the duration of a note beatwise.
-
Type that represents the duration of note.
Declaration
Swift
public var type: NoteValueType -
Modifier for
NoteTypethat modifies the duration.Declaration
Swift
public var modifier: NoteModifier -
Initilize the NoteValue with its type and optional modifier.
Declaration
Swift
public init(type: NoteValueType, modifier: NoteModifier = .default)Parameters
typeType of note value that represents note duration.
modifierModifier of note value. Defaults
default.
View on GitHub
NoteValue Structure Reference