[PD] Detect silence inArray and resize

guilherme lunhani gcravista at gmail.com
Sun Apr 4 04:46:47 CEST 2010


Hi,

I'm Trying to do this:

after recording a sound event in array
(the initial size of this array is equal to samplerate*time in seconds),

I want to resize this array approximately equal of the duration of this 
sound event (as a sttacato event with fff in trumpet). 

In other words, 
I want to detect in a array with size X, a lot of amount of samples with
values approximately zero, this amount with size Y (where Y is 0<Y<X) , 
and resize this array with new size X-Y

I'm trying to program it or look on the net for solutions, but without sucess.

anyone have any idea how to do this?

Best

Guilherme



More information about the Pd-list mailing list