Glissando()

Class representing a Glissando modification.

A Glissando modification causes an implicit sequence of notes to be played rapidly and individually between a starting note and the next printed note. The duration of a glissando spans the entire printed duration of the starting note.

new Glissando()

Constructs a new Glissando modification object.

Extends

Classes

Glissando

Members

key :Key

Overrides:

tempo :Tempo

Overrides:

unmodifiedDetails :NoteDetails

Overrides:

Methods

getModifiedNoteDetails(details) → {Array.<NoteDetails>}

Returns a list of all modified notes, durations, and velocities as generated by the corresponding modification class.

The details variable may contain the following optional key:

nextNoteValue: MIDI number of the note that follows this note

Parameters:
Name Type Description
details Object.<string, number>

Information about the ending note of the glissando

Returns:
Array.<NoteDetails> -

List of NoteDetails to replace the original note

Overrides:

static canModifySequence() → {boolean}

Returns whether this modification can be used to modify a sequence of notes.

Returns:
boolean -

Whether this modification can be used to modify a sequence of notes

static getParameters() → {Object.<string, Object.<string, Array.<string>>>}

Returns a list of all parameters available for use in this modification, including whether the parameter is required or optional when playing back either a "sequence" or just a single "note".

Returns:
Object.<string, Object.<string, Array.<string>>> -

List of modification-specific parameter keys and when they are required