Signalsmith-Audio / signalsmith-stretch

C++ polyphonic pitch/time library (GitHub mirror)
https://signalsmith-audio.co.uk/code/stretch/
MIT License
253 stars 24 forks source link

Multiple channels and "inputSamples"/"outputSamples" #3

Open lucmans opened 10 months ago

lucmans commented 10 months ago

When working with multiple channel data, the variables "inputSamples" and "outputSamples" reflect the number of samples in one channel, not the total number of samples being used by the algorithm.

This is not documented, and in my opinion, counter intuitive. I would suggest adding this information in the documentation.

lucmans commented 7 months ago

It's is common nomenclature to refer to this case as inputFrames (as a frame is 1 sample from each channel).