Composer icon indicating copy to clipboard operation
Composer copied to clipboard

Crashes in midi->midi_to_samples

Open chazhenry opened this issue 4 years ago • 1 comments

crashes on line below. start, end and sample_ix are 0.0, 11.8, 0.0. On other runs it is a positive number (1.66666), but as an array index, should sample_ix be a float? not sure what is being done.

sample = samples[sample_ix]

chazhenry avatar Nov 17 '20 13:11 chazhenry

Just change all divisions from / to //

amitlevy avatar Jun 04 '22 14:06 amitlevy