rconstanzo / SP-tools

A set of tools to user a Sensory Percussion pickup with Max/MSP and Max for Live
112 stars 1 forks source link

sp.corpuscreate fails "fluid.bufcompose~: Zero length segment requested" #4

Open jaaaamIron opened 7 months ago

jaaaamIron commented 7 months ago

When training a folder of approximately 1500 short wav files with sp.corpuscreate when batch training reaches 1408 the process fails with an error of "fluid.bufcompose~: Zero length segment requested" printed to the Max window. When an attempt is made to write the corpus, the resulting JSON only has metadata, and no samples populate the visualiser.

A similar folder with ~1300 files works OK.

rconstanzo commented 7 months ago

Hmm, can you send me the 1407/1408/1409th files in your folder? It seems like something is going on funky there.

There used to be a bug in v0.8 (fixed in v0.9) where an analysis would fail if there was silence at the start of any of the files. So it could be something similar/weird is happening.