Play just a selection from a sound sample?

edited September 2018 in Library Questions

I'm able to create and play long sound samples with code like this: wave = minim.createSample( samples, format, buffersize ); wave.trigger(); But the array samples is huge, and sometimes I want to play only a small part of it. Is there a way to specify a range within samples when I call createSample, or do I have to create a new separate smaller sample each time, and trigger the smaller sample?



Sign In or Register to comment.