ddf / Minim

A Java audio library, designed to be used with Processing.
http://code.compartmental.net/tools/minim
GNU Lesser General Public License v3.0
668 stars 136 forks source link

Fix crash when changing wavetable too quickly #106

Open ffd8 opened 4 years ago

ffd8 commented 4 years ago

@kritzikratzi gets credit for isolating and patching this bug that could cause minim to crash if changing the wavetable too quickly. Now it makes a local copy of the table, avoiding the possibility of its size changing while being processed. Something I ended up causing to happen regularly in my XYscope library which changes the wavetable in rapid succession.