Skip to content

discrepency in the order of arguments of slicers #181

@tremblap

Description

@tremblap

It seems that one tiny interface error slipped through...

FluidOnsetSlice.ar(in: 0, metric: 0, threshold: 0.5, minSliceLength: 2, filterSize: 5, frameDelta: 0, windowSize: 1024, hopSize: -1, fftSize: -1, maxFFTSize: -1)

vs

FluidNoveltySlice.ar(in: 0, algorithm: 0, kernelSize: 3, threshold: 0.8, filterSize: 1, minSliceLength: 2, windowSize: 1024, hopSize: -1, fftSize: -1, maxFFTSize: -1, maxKernelSize, maxFilterSize)

vs

FluidAmpSlice.ar(in: 0, fastRampUp: 1, fastRampDown: 1, slowRampUp: 100, slowRampDown: 100, onThreshold: -144, offThreshold: -144, floor: -144, minSliceLength: 2, highPassFreq: 85)

vs

FluidAmpGate.ar(in: 0, rampUp: 10, rampDown: 10, onThreshold: -90, offThreshold: -90, minSliceLength: 1, minSilenceLength: 1, minLengthAbove: 1, minLengthBelow: 1, lookBack: 0, lookAhead: 0, highPassFreq: 85, maxSize: 88200)

vs

FluidTransientSlice.ar(in: 0, order: 20, blockSize: 256, padSize: 128, skew: 0.0, threshFwd: 2.0, threshBack: 1.1, windowSize: 14, clumpLength: 25, minSliceLength: 1000)

I think we should unify the order in a way that makes sense in between them. For instance, minslicelength should be after the filterSize and frameDelta in OnsetSlice. And NoveltySlice filterSize should be before its threshold.

A review of this should happen if we agree it would be better.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions