spessasynth_lib 3.26.14 → 3.26.16
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 +1 -1
- package/src/sequencer/sequencer.js +3 -4
- package/synthetizer/worklet_processor.min.js +11 -11
- package/.idea/codeStyles/Project.xml +0 -85
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/jsLibraryMappings.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/spessasynth_lib.iml +0 -12
- package/.idea/vcs.xml +0 -7
package/package.json
CHANGED
|
@@ -39,7 +39,7 @@ import { DEFAULT_SEQUENCER_OPTIONS } from "./default_sequencer_options.js";
|
|
|
39
39
|
* @typedef {Object} SequencerOptions
|
|
40
40
|
* @property {boolean|undefined} skipToFirstNoteOn - if true, the sequencer will skip to the first note
|
|
41
41
|
* @property {boolean|undefined} autoPlay - if true, the sequencer will automatically start playing the MIDI
|
|
42
|
-
* @property {boolean|
|
|
42
|
+
* @property {boolean|undefined} preservePlaybackState - if true,
|
|
43
43
|
* the sequencer will stay paused when seeking or changing the playback rate
|
|
44
44
|
* @property {number|undefined} initialPlaybackRate - the initial playback rate, defaults to 1.0 (normal speed)
|
|
45
45
|
*/
|
|
@@ -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)
|