spessasynth_lib 3.26.15 → 3.26.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -101,7 +101,7 @@ export class Sequencer
|
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
103
|
* Fires on meta-event
|
|
104
|
-
* @type {Object<string, function([
|
|
104
|
+
* @type {Object<string, function([MIDIMessage, number])>}
|
|
105
105
|
*/
|
|
106
106
|
onMetaEvent = {};
|
|
107
107
|
|
|
@@ -445,8 +445,7 @@ export class Sequencer
|
|
|
445
445
|
|
|
446
446
|
/**
|
|
447
447
|
* Adds a new event that gets called when a meta-event occurs
|
|
448
|
-
* @param callback {function([
|
|
449
|
-
* its data, the track number and MIDI ticks
|
|
448
|
+
* @param callback {function([MIDIMessage, number])} the meta-event type and the track number
|
|
450
449
|
* @param id {string} must be unique
|
|
451
450
|
*/
|
|
452
451
|
addOnMetaEvent(callback, id)
|