CustomPresets seems to consistently crash if the user saves a preset then tries to open that preset anytime during the same instantiation of the instrument. I’m having trouble trying to figure out how to fix this or even find a cause for it…
Could this be solved? And why is this problem occurring (I’m just curious and currently stumped)?
Attached is a version of CustomPresets that works “properly” (outside of the issue above) - the version that is included in the Cabbage examples attempts to assign all the widget values to only one widget instead of assigning the values to their respective destinations. Just a matter of changing this:
chnset i1, "att" chnset i1, "dec" chnset i1, "sus" chnset i1, "rel"
chnset i1, "att" chnset i2, "dec" chnset i3, "sus" chnset i4, "rel"
CustomPresets.csd (1.9 KB)