fileselect_callback was checking if audio.file_info returned nil to determine if a sound file was invalid, but audio.file_info returns 0 channels and 0 samples in this case. This resulted in a quantization value of 0 being calculated, resulting in an infinite loop in calc_quant_off, which would softlock matron if you accidentally load an empty / corrupt / non-audio file.
fileselect_callback
was checking ifaudio.file_info
returnednil
to determine if a sound file was invalid, butaudio.file_info
returns 0 channels and 0 samples in this case. This resulted in a quantization value of 0 being calculated, resulting in an infinite loop incalc_quant_off
, which would softlock matron if you accidentally load an empty / corrupt / non-audio file.