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.
Files changed (124) hide show
  1. package/@types/midi_parser/midi_loader.d.ts +2 -0
  2. package/LICENSE +0 -0
  3. package/README.md +0 -0
  4. package/external_midi/README.md +0 -0
  5. package/external_midi/midi_handler.js +0 -0
  6. package/external_midi/web_midi_link.js +0 -0
  7. package/externals/NOTICE +0 -0
  8. package/externals/libvorbis/@types/OggVorbisEncoder.d.ts +0 -0
  9. package/externals/libvorbis/OggVorbisEncoder.min.js +0 -0
  10. package/externals/stbvorbis_sync/@types/stbvorbis_sync.d.ts +0 -0
  11. package/externals/stbvorbis_sync/LICENSE +0 -0
  12. package/externals/stbvorbis_sync/stbvorbis_sync.min.js +0 -0
  13. package/midi_parser/README.md +0 -0
  14. package/midi_parser/basic_midi.js +0 -0
  15. package/midi_parser/midi_builder.js +0 -0
  16. package/midi_parser/midi_data.js +0 -0
  17. package/midi_parser/midi_editor.js +0 -0
  18. package/midi_parser/midi_loader.js +2 -2
  19. package/midi_parser/midi_message.js +0 -0
  20. package/midi_parser/midi_writer.js +0 -0
  21. package/midi_parser/rmidi_writer.js +0 -0
  22. package/midi_parser/used_keys_loaded.js +0 -0
  23. package/package.json +1 -1
  24. package/sequencer/README.md +0 -0
  25. package/sequencer/sequencer.js +0 -0
  26. package/sequencer/worklet_sequencer/events.js +0 -0
  27. package/sequencer/worklet_sequencer/play.js +0 -0
  28. package/sequencer/worklet_sequencer/process_event.js +0 -0
  29. package/sequencer/worklet_sequencer/process_tick.js +0 -0
  30. package/sequencer/worklet_sequencer/sequencer_message.js +0 -0
  31. package/sequencer/worklet_sequencer/song_control.js +0 -0
  32. package/sequencer/worklet_sequencer/worklet_sequencer.js +0 -0
  33. package/soundfont/README.md +0 -0
  34. package/soundfont/basic_soundfont/basic_instrument.js +0 -0
  35. package/soundfont/basic_soundfont/basic_preset.js +0 -0
  36. package/soundfont/basic_soundfont/basic_sample.js +0 -0
  37. package/soundfont/basic_soundfont/basic_soundfont.js +0 -0
  38. package/soundfont/basic_soundfont/basic_zone.js +0 -0
  39. package/soundfont/basic_soundfont/basic_zones.js +0 -0
  40. package/soundfont/basic_soundfont/riff_chunk.js +0 -0
  41. package/soundfont/basic_soundfont/write_sf2/ibag.js +0 -0
  42. package/soundfont/basic_soundfont/write_sf2/igen.js +0 -0
  43. package/soundfont/basic_soundfont/write_sf2/imod.js +0 -0
  44. package/soundfont/basic_soundfont/write_sf2/inst.js +0 -0
  45. package/soundfont/basic_soundfont/write_sf2/pbag.js +0 -0
  46. package/soundfont/basic_soundfont/write_sf2/pgen.js +0 -0
  47. package/soundfont/basic_soundfont/write_sf2/phdr.js +0 -0
  48. package/soundfont/basic_soundfont/write_sf2/pmod.js +0 -0
  49. package/soundfont/basic_soundfont/write_sf2/sdta.js +0 -0
  50. package/soundfont/basic_soundfont/write_sf2/shdr.js +0 -0
  51. package/soundfont/basic_soundfont/write_sf2/soundfont_trimmer.js +0 -0
  52. package/soundfont/basic_soundfont/write_sf2/write.js +0 -0
  53. package/soundfont/dls/articulator_converter.js +0 -0
  54. package/soundfont/dls/dls_destinations.js +0 -0
  55. package/soundfont/dls/dls_preset.js +0 -0
  56. package/soundfont/dls/dls_sample.js +0 -0
  57. package/soundfont/dls/dls_soundfont.js +0 -0
  58. package/soundfont/dls/dls_sources.js +0 -0
  59. package/soundfont/dls/dls_zone.js +0 -0
  60. package/soundfont/dls/read_articulation.js +0 -0
  61. package/soundfont/dls/read_instrument.js +0 -0
  62. package/soundfont/dls/read_instrument_list.js +0 -0
  63. package/soundfont/dls/read_lart.js +0 -0
  64. package/soundfont/dls/read_region.js +0 -0
  65. package/soundfont/dls/read_samples.js +0 -0
  66. package/soundfont/load_soundfont.js +0 -0
  67. package/soundfont/read_sf2/generators.js +1 -1
  68. package/soundfont/read_sf2/instruments.js +0 -0
  69. package/soundfont/read_sf2/modulators.js +0 -0
  70. package/soundfont/read_sf2/presets.js +0 -0
  71. package/soundfont/read_sf2/samples.js +0 -0
  72. package/soundfont/read_sf2/soundfont.js +0 -0
  73. package/soundfont/read_sf2/zones.js +0 -0
  74. package/synthetizer/README.md +0 -0
  75. package/synthetizer/audio_effects/effects_config.js +0 -0
  76. package/synthetizer/audio_effects/fancy_chorus.js +0 -0
  77. package/synthetizer/audio_effects/impulse_response_2.flac +0 -0
  78. package/synthetizer/audio_effects/reverb.js +0 -0
  79. package/synthetizer/synth_event_handler.js +0 -0
  80. package/synthetizer/synth_soundfont_manager.js +0 -0
  81. package/synthetizer/synthetizer.js +0 -0
  82. package/synthetizer/worklet_processor.min.js +9 -7
  83. package/synthetizer/worklet_system/README.md +0 -0
  84. package/synthetizer/worklet_system/main_processor.js +0 -0
  85. package/synthetizer/worklet_system/message_protocol/handle_message.js +0 -0
  86. package/synthetizer/worklet_system/message_protocol/message_sending.js +0 -0
  87. package/synthetizer/worklet_system/message_protocol/worklet_message.js +0 -0
  88. package/synthetizer/worklet_system/minify_processor.sh +1 -1
  89. package/synthetizer/worklet_system/worklet_methods/controller_control.js +2 -1
  90. package/synthetizer/worklet_system/worklet_methods/data_entry.js +0 -0
  91. package/synthetizer/worklet_system/worklet_methods/note_off.js +0 -0
  92. package/synthetizer/worklet_system/worklet_methods/note_on.js +0 -0
  93. package/synthetizer/worklet_system/worklet_methods/program_control.js +0 -0
  94. package/synthetizer/worklet_system/worklet_methods/reset_controllers.js +0 -0
  95. package/synthetizer/worklet_system/worklet_methods/snapshot.js +0 -0
  96. package/synthetizer/worklet_system/worklet_methods/system_exclusive.js +0 -0
  97. package/synthetizer/worklet_system/worklet_methods/tuning_control.js +0 -0
  98. package/synthetizer/worklet_system/worklet_methods/vibrato_control.js +0 -0
  99. package/synthetizer/worklet_system/worklet_methods/voice_control.js +18 -7
  100. package/synthetizer/worklet_system/worklet_methods/worklet_soundfont_manager/sfman_message.js +0 -0
  101. package/synthetizer/worklet_system/worklet_methods/worklet_soundfont_manager/worklet_soundfont_manager.js +0 -0
  102. package/synthetizer/worklet_system/worklet_processor.js +0 -0
  103. package/synthetizer/worklet_system/worklet_utilities/lfo.js +0 -0
  104. package/synthetizer/worklet_system/worklet_utilities/lowpass_filter.js +0 -0
  105. package/synthetizer/worklet_system/worklet_utilities/modulation_envelope.js +0 -0
  106. package/synthetizer/worklet_system/worklet_utilities/modulator_curves.js +0 -0
  107. package/synthetizer/worklet_system/worklet_utilities/stereo_panner.js +0 -0
  108. package/synthetizer/worklet_system/worklet_utilities/unit_converter.js +0 -0
  109. package/synthetizer/worklet_system/worklet_utilities/volume_envelope.js +3 -3
  110. package/synthetizer/worklet_system/worklet_utilities/wavetable_oscillator.js +27 -33
  111. package/synthetizer/worklet_system/worklet_utilities/worklet_modulator.js +17 -12
  112. package/synthetizer/worklet_system/worklet_utilities/worklet_processor_channel.js +0 -0
  113. package/synthetizer/worklet_system/worklet_utilities/worklet_voice.js +11 -0
  114. package/synthetizer/worklet_url.js +0 -0
  115. package/utils/README.md +0 -0
  116. package/utils/buffer_to_wav.js +0 -0
  117. package/utils/byte_functions/big_endian.js +0 -0
  118. package/utils/byte_functions/little_endian.js +0 -0
  119. package/utils/byte_functions/string.js +0 -0
  120. package/utils/byte_functions/variable_length_quantity.js +0 -0
  121. package/utils/encode_vorbis.js +0 -0
  122. package/utils/indexed_array.js +0 -0
  123. package/utils/loggin.js +0 -0
  124. 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
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
File without changes
File without changes
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spessasynth_lib",
3
- "version": "3.20.31",
3
+ "version": "3.20.34",
4
4
  "description": "MIDI and SoundFont2/DLS library with no compromises",
5
5
  "browser": "index.js",
6
6
  "types": "@types/index.d.ts",
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
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: -99, max: 99, def: 0};
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes