Class: Note

Note

Note class. Must be used to create and play notes.

Constructor

new Note()

Source:

Methods

setInstrument()

Updates note instrument
Parameters:
Name Type Description
instrumentName. List of all instrument names in src/constants/INSTRUMENTS
Source:

update() → {object}

Update note
Parameters:
Name Type Description
updatedPayloadFields. Object containing all or part of the payload fields.
Source:
Returns:
this
Type
object