Minim on Raspberry Pi loadFile problems

Based on your described use case, it sounds like you want a sample to start looping on keydown and stop on keyup. This is a problem because AudioSample does not have a loop behavior. Is my understanding correct?

This is correct.

Sampler, however, does have a loop behavior. Have you tried seeing if this resolves your memory problems on the PI?

I have not tried this yet. I’ll give it a whirl.

Thanks