Slicing issue

Hi,

I need to slice long files, I started by visualizing the “amplitude differential feature” with fluid.bufampfeature, tweaking parameters until The curve look useful:

here if I was working with an audio signal and not a buffer, I think with fluid.ampgate’s threshold, minLengthAbove, minSliceLength, minLengthBelow, minSilenceLength, I could easily slice what I’m interested in. Problem is when I looked into the buffer version, fluid.bufampgate I realized there were no minLengthAbove,, minLengthBelow, minSilenceLength. ( flucoma-pd )

Would it be possible to include these in fluid.bufampgate ?

Is my slicing adventure not going anywhere ?

I might be trying to do something simple in a complex way ?

Any suggestion welcome

I think you are counfounding 2 objects. There are for AmpGate, and are present in the real-time and buffer version. They do not exist in AmpSlice, which is linked to AmpFeature.

AmpGate has a lot of tailoring to tweak the gate. https://learn.flucoma.org/reference/ampgate/

AmpSlice is a detrender and has a different aim: it looks at spikes between fast and slow envelopes. See its explanation here

I hope this helps

I must have been a bit tired, yes they are present in both audio and buffer version… I realized it right before your post.

cheers

no worries - under the hood it is the actual same code (not even copy/paste, the actual same client code) so if it had been true the problem was MUCH bigger :slight_smile: infrastructure level. Hence my sweat :slight_smile: