Skip to content

Commit 483503b

Browse files
author
James Bradbury
authored
change parameter name in client to interpolation (#174)
1 parent 858b595 commit 483503b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/clients/rt/NMFMorphClient.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ enum NMFFilterIndex {
2626
kTargetBuf,
2727
kActBuf,
2828
kAutoAssign,
29-
kInterp,
29+
kInterpolation,
3030
kFFT
3131
};
3232

@@ -35,7 +35,7 @@ constexpr auto NMFMorphParams = defineParameters(
3535
InputBufferParam("target", "Target Bases"),
3636
InputBufferParam("activations", "Activations"),
3737
EnumParam("autoassign", "Automatic assign", 1, "No", "Yes"),
38-
FloatParam("interp", "Interpolation", 0, Min(0.0), Max(1.0)),
38+
FloatParam("interpolation", "Interpolation", 0, Min(0.0), Max(1.0)),
3939
FFTParam("fftSettings", "FFT Settings", 1024, -1, -1));
4040

4141
class NMFMorphClient : public FluidBaseClient, public AudioOut
@@ -108,7 +108,7 @@ class NMFMorphClient : public FluidBaseClient, public AudioOut
108108
if(!mNMFMorph.initialized()) return;
109109
mSTFTProcessor.processOutput(
110110
mParams, output, c, [&](ComplexMatrixView out) {
111-
mNMFMorph.processFrame(out.row(0), get<kInterp>());
111+
mNMFMorph.processFrame(out.row(0), get<kInterpolation>());
112112
});
113113
}
114114
}

0 commit comments

Comments
 (0)