Transient detection

I´ve tried

(
f = {
	var transients; 
	
	FluidBufTransientSlice.process(s, ~src, 
		threshFwd: 1,
		indices: ~ind,
		action: {|indices|
			var array = indices.loadToFloatArray(0, 1, {|t|
				transients = t;
			});
		}
	);
	transients;
};

f.();
)

without success, but with the global variable it works as expected.

Thanks a lot ! FluCoMa seems to have a lot of great features and will keep me busy for a while… next step: sort samples by similarity.

1 Like