Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Play just a selection from a sound sample?

$
0
0

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?


Viewing all articles
Browse latest Browse all 2896

Trending Articles