spessasus / SpessaSynth

MIDI SoundFont/DLS synthesizer library written in JavaScript.
https://spessasus.github.io/SpessaSynth/
Other
96 stars 12 forks source link

[BUG] Midi exporting sometimes broken #19

Closed spessasus closed 4 months ago

spessasus commented 4 months ago

Description Midi channels with no program change will crash the exporting system when attempting to change program

Reproduction steps Steps to reproduce the behavior:

  1. load a midi file with no program changes
  2. lock a preset in a channel
  3. see console

Expected behavior It Just Works™

Screenshots nuh uh

MIDI files and SoundFonts Any midi with no program changes

Desktop (please complete the following information): any

Smartphone (please complete the following information): any

Additional context not really