Methods
convertBaseDuration
- convertBaseDuration(duration): string
-
Returns string
MidiWriterJS duration
convertDuration
- convertDuration(note): string
-
Returns string
convertPitch
- convertPitch(pitch, index, note, addRenderedAccidentals?): any
-
Parameters
-
pitch: any
-
index: any
-
note: any
-
addRenderedAccidentals: boolean = false
Returns any
trackFromVoice
- trackFromVoice(voice, options?): Track
-
Parameters
-
voice: any
-
options: {
addRenderedAccidentals: boolean;
} = ...
-
addRenderedAccidentals: boolean
MidiWriter.Track object
Converts VexFlow base duration syntax to MidiWriterJS syntax