Skip to content

Commit

Permalink
fix the shape of the output making it as the doc says (array of size …
Browse files Browse the repository at this point in the history
…2 containing an array of freq and an array of mag)
  • Loading branch information
tremblap committed Sep 3, 2023
1 parent b2963b1 commit 61b5363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release-packaging/Classes/FluidSineFeature.sc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FluidSineFeature : FluidRTMultiOutUGen {

maxNumPeaks = maxNumPeaks ? numPeaks;

^this.multiNew('control', in.asAudioRateInput(this), numPeaks, maxNumPeaks, detectionThreshold, order, freqUnit, magUnit, windowSize, hopSize, fftSize, maxFFTSize)
^this.multiNew('control', in.asAudioRateInput(this), numPeaks, maxNumPeaks, detectionThreshold, order, freqUnit, magUnit, windowSize, hopSize, fftSize, maxFFTSize).reshape(2,maxNumPeaks)
}

init { arg ... theInputs;
Expand Down

0 comments on commit 61b5363

Please sign in to comment.