HackerPoet/Composer

Crashes in midi->midi_to_samples

Opened this issue · 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]

Just change all divisions from / to //