spessasynth_lib 3.20.31 → 3.20.34
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/@types/midi_parser/midi_loader.d.ts +2 -0
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/external_midi/README.md +0 -0
- package/external_midi/midi_handler.js +0 -0
- package/external_midi/web_midi_link.js +0 -0
- package/externals/NOTICE +0 -0
- package/externals/libvorbis/@types/OggVorbisEncoder.d.ts +0 -0
- package/externals/libvorbis/OggVorbisEncoder.min.js +0 -0
- package/externals/stbvorbis_sync/@types/stbvorbis_sync.d.ts +0 -0
- package/externals/stbvorbis_sync/LICENSE +0 -0
- package/externals/stbvorbis_sync/stbvorbis_sync.min.js +0 -0
- package/midi_parser/README.md +0 -0
- package/midi_parser/basic_midi.js +0 -0
- package/midi_parser/midi_builder.js +0 -0
- package/midi_parser/midi_data.js +0 -0
- package/midi_parser/midi_editor.js +0 -0
- package/midi_parser/midi_loader.js +2 -2
- package/midi_parser/midi_message.js +0 -0
- package/midi_parser/midi_writer.js +0 -0
- package/midi_parser/rmidi_writer.js +0 -0
- package/midi_parser/used_keys_loaded.js +0 -0
- package/package.json +1 -1
- package/sequencer/README.md +0 -0
- package/sequencer/sequencer.js +0 -0
- package/sequencer/worklet_sequencer/events.js +0 -0
- package/sequencer/worklet_sequencer/play.js +0 -0
- package/sequencer/worklet_sequencer/process_event.js +0 -0
- package/sequencer/worklet_sequencer/process_tick.js +0 -0
- package/sequencer/worklet_sequencer/sequencer_message.js +0 -0
- package/sequencer/worklet_sequencer/song_control.js +0 -0
- package/sequencer/worklet_sequencer/worklet_sequencer.js +0 -0
- package/soundfont/README.md +0 -0
- package/soundfont/basic_soundfont/basic_instrument.js +0 -0
- package/soundfont/basic_soundfont/basic_preset.js +0 -0
- package/soundfont/basic_soundfont/basic_sample.js +0 -0
- package/soundfont/basic_soundfont/basic_soundfont.js +0 -0
- package/soundfont/basic_soundfont/basic_zone.js +0 -0
- package/soundfont/basic_soundfont/basic_zones.js +0 -0
- package/soundfont/basic_soundfont/riff_chunk.js +0 -0
- package/soundfont/basic_soundfont/write_sf2/ibag.js +0 -0
- package/soundfont/basic_soundfont/write_sf2/igen.js +0 -0
- package/soundfont/basic_soundfont/write_sf2/imod.js +0 -0
- package/soundfont/basic_soundfont/write_sf2/inst.js +0 -0
- package/soundfont/basic_soundfont/write_sf2/pbag.js +0 -0
- package/soundfont/basic_soundfont/write_sf2/pgen.js +0 -0
- package/soundfont/basic_soundfont/write_sf2/phdr.js +0 -0
- package/soundfont/basic_soundfont/write_sf2/pmod.js +0 -0
- package/soundfont/basic_soundfont/write_sf2/sdta.js +0 -0
- package/soundfont/basic_soundfont/write_sf2/shdr.js +0 -0
- package/soundfont/basic_soundfont/write_sf2/soundfont_trimmer.js +0 -0
- package/soundfont/basic_soundfont/write_sf2/write.js +0 -0
- package/soundfont/dls/articulator_converter.js +0 -0
- package/soundfont/dls/dls_destinations.js +0 -0
- package/soundfont/dls/dls_preset.js +0 -0
- package/soundfont/dls/dls_sample.js +0 -0
- package/soundfont/dls/dls_soundfont.js +0 -0
- package/soundfont/dls/dls_sources.js +0 -0
- package/soundfont/dls/dls_zone.js +0 -0
- package/soundfont/dls/read_articulation.js +0 -0
- package/soundfont/dls/read_instrument.js +0 -0
- package/soundfont/dls/read_instrument_list.js +0 -0
- package/soundfont/dls/read_lart.js +0 -0
- package/soundfont/dls/read_region.js +0 -0
- package/soundfont/dls/read_samples.js +0 -0
- package/soundfont/load_soundfont.js +0 -0
- package/soundfont/read_sf2/generators.js +1 -1
- package/soundfont/read_sf2/instruments.js +0 -0
- package/soundfont/read_sf2/modulators.js +0 -0
- package/soundfont/read_sf2/presets.js +0 -0
- package/soundfont/read_sf2/samples.js +0 -0
- package/soundfont/read_sf2/soundfont.js +0 -0
- package/soundfont/read_sf2/zones.js +0 -0
- package/synthetizer/README.md +0 -0
- package/synthetizer/audio_effects/effects_config.js +0 -0
- package/synthetizer/audio_effects/fancy_chorus.js +0 -0
- package/synthetizer/audio_effects/impulse_response_2.flac +0 -0
- package/synthetizer/audio_effects/reverb.js +0 -0
- package/synthetizer/synth_event_handler.js +0 -0
- package/synthetizer/synth_soundfont_manager.js +0 -0
- package/synthetizer/synthetizer.js +0 -0
- package/synthetizer/worklet_processor.min.js +9 -7
- package/synthetizer/worklet_system/README.md +0 -0
- package/synthetizer/worklet_system/main_processor.js +0 -0
- package/synthetizer/worklet_system/message_protocol/handle_message.js +0 -0
- package/synthetizer/worklet_system/message_protocol/message_sending.js +0 -0
- package/synthetizer/worklet_system/message_protocol/worklet_message.js +0 -0
- package/synthetizer/worklet_system/minify_processor.sh +1 -1
- package/synthetizer/worklet_system/worklet_methods/controller_control.js +2 -1
- package/synthetizer/worklet_system/worklet_methods/data_entry.js +0 -0
- package/synthetizer/worklet_system/worklet_methods/note_off.js +0 -0
- package/synthetizer/worklet_system/worklet_methods/note_on.js +0 -0
- package/synthetizer/worklet_system/worklet_methods/program_control.js +0 -0
- package/synthetizer/worklet_system/worklet_methods/reset_controllers.js +0 -0
- package/synthetizer/worklet_system/worklet_methods/snapshot.js +0 -0
- package/synthetizer/worklet_system/worklet_methods/system_exclusive.js +0 -0
- package/synthetizer/worklet_system/worklet_methods/tuning_control.js +0 -0
- package/synthetizer/worklet_system/worklet_methods/vibrato_control.js +0 -0
- package/synthetizer/worklet_system/worklet_methods/voice_control.js +18 -7
- package/synthetizer/worklet_system/worklet_methods/worklet_soundfont_manager/sfman_message.js +0 -0
- package/synthetizer/worklet_system/worklet_methods/worklet_soundfont_manager/worklet_soundfont_manager.js +0 -0
- package/synthetizer/worklet_system/worklet_processor.js +0 -0
- package/synthetizer/worklet_system/worklet_utilities/lfo.js +0 -0
- package/synthetizer/worklet_system/worklet_utilities/lowpass_filter.js +0 -0
- package/synthetizer/worklet_system/worklet_utilities/modulation_envelope.js +0 -0
- package/synthetizer/worklet_system/worklet_utilities/modulator_curves.js +0 -0
- package/synthetizer/worklet_system/worklet_utilities/stereo_panner.js +0 -0
- package/synthetizer/worklet_system/worklet_utilities/unit_converter.js +0 -0
- package/synthetizer/worklet_system/worklet_utilities/volume_envelope.js +3 -3
- package/synthetizer/worklet_system/worklet_utilities/wavetable_oscillator.js +27 -33
- package/synthetizer/worklet_system/worklet_utilities/worklet_modulator.js +17 -12
- package/synthetizer/worklet_system/worklet_utilities/worklet_processor_channel.js +0 -0
- package/synthetizer/worklet_system/worklet_utilities/worklet_voice.js +11 -0
- package/synthetizer/worklet_url.js +0 -0
- package/utils/README.md +0 -0
- package/utils/buffer_to_wav.js +0 -0
- package/utils/byte_functions/big_endian.js +0 -0
- package/utils/byte_functions/little_endian.js +0 -0
- package/utils/byte_functions/string.js +0 -0
- package/utils/byte_functions/variable_length_quantity.js +0 -0
- package/utils/encode_vorbis.js +0 -0
- package/utils/indexed_array.js +0 -0
- package/utils/loggin.js +0 -0
- package/utils/other.js +0 -0
|
@@ -9,7 +9,9 @@ export class MIDI extends BasicMIDI {
|
|
|
9
9
|
* @param fileName {string} optional, replaces the decoded title if empty
|
|
10
10
|
*/
|
|
11
11
|
constructor(arrayBuffer: ArrayBuffer, fileName?: string);
|
|
12
|
+
copyright: any;
|
|
12
13
|
rawMidiName: any;
|
|
14
|
+
midiName: any;
|
|
13
15
|
/**
|
|
14
16
|
* @param fileByteArray {IndexedByteArray}
|
|
15
17
|
* @returns {{type: string, size: number, data: IndexedByteArray}}
|
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
package/external_midi/README.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/externals/NOTICE
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/midi_parser/README.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/midi_parser/midi_data.js
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -97,12 +97,12 @@ class MIDI extends BasicMIDI
|
|
|
97
97
|
if(this.RMIDInfo['ICOP'])
|
|
98
98
|
{
|
|
99
99
|
copyrightDetected = true;
|
|
100
|
-
this.copyright = readBytesAsString(this.RMIDInfo['ICOP'], this.RMIDInfo['ICOP'].length);
|
|
100
|
+
this.copyright = readBytesAsString(this.RMIDInfo['ICOP'], this.RMIDInfo['ICOP'].length, undefined, false).replaceAll("\n", " ");
|
|
101
101
|
}
|
|
102
102
|
if(this.RMIDInfo['INAM'])
|
|
103
103
|
{
|
|
104
104
|
this.rawMidiName = this.RMIDInfo[RMIDINFOChunks.name];
|
|
105
|
-
this.midiName = readBytesAsString(this.rawMidiName, this.rawMidiName.length, undefined, false);
|
|
105
|
+
this.midiName = readBytesAsString(this.rawMidiName, this.rawMidiName.length, undefined, false).replaceAll("\n", " ");
|
|
106
106
|
nameDetected = true;
|
|
107
107
|
}
|
|
108
108
|
// these can be used interchangeably
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
package/sequencer/README.md
CHANGED
|
File without changes
|
package/sequencer/sequencer.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/soundfont/README.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -143,7 +143,7 @@ generatorLimits[generatorTypes.initialAttenuation] = {min: -250, max: 1440, def:
|
|
|
143
143
|
generatorLimits[generatorTypes.endloopAddrsCoarseOffset] = {min: -32768, max: 32768, def: 0};
|
|
144
144
|
|
|
145
145
|
generatorLimits[generatorTypes.coarseTune] = {min: -120, max: 120, def: 0};
|
|
146
|
-
generatorLimits[generatorTypes.fineTune] = {min: -
|
|
146
|
+
generatorLimits[generatorTypes.fineTune] = {min: -12700, max: 12700, def: 0}; // this generator is used as initial pitch, hence this range
|
|
147
147
|
generatorLimits[generatorTypes.scaleTuning] = {min: 0, max: 1200, def: 100};
|
|
148
148
|
generatorLimits[generatorTypes.exclusiveClass] = {min: 0, max: 99999, def: 0};
|
|
149
149
|
generatorLimits[generatorTypes.overridingRootKey] = {min: 0-1, max: 127, def: -1};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/synthetizer/README.md
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|