Class that records MIDI from any MIDI connected instrument, and converts it
Whether to play a click track while recording. If the recorder is already recording, changes will not take place until it is restarted.
True if it should play a click track.
Whether to play a count in at the beginning of the recording. If the recorder is already recording, changes will not take place until it is restarted.
True if it should play a count in.
Returns a list of all the MIDI inputs that are currently available to record.
NoteSequence containing all the currently
Recorder by requesting MIDI access from the browser,
and connecting to any available MIDI inputs. If MIDI events are emitted,
they will be ignored until
start() is called.
Changes the tempo of the click loop.
The new qpm to use.
Starts listening to MIDI events and records any messages received.
An optional list of MIDIInputs, that specifies which inputs to start listening to MIDI messages for to record. If not specified, all available inputs will be used.
Stops listening to MIDI events. Note that all the MIDI inputs will still be connected after calling this method, but any messages received from them will be ignored.
NoteSequence containing all the recorded notes.
Generated using TypeDoc