diff --git a/source/src/python/nodes.cpp b/source/src/python/nodes.cpp index 4ac5bdeb..02d306d9 100644 --- a/source/src/python/nodes.cpp +++ b/source/src/python/nodes.cpp @@ -112,9 +112,6 @@ void init_python_nodes(py::module &m) py::class_>(m, "FFTContrast", "FFT Contrast. Requires an FFT* input.") .def(py::init(), "input"_a = 0, "contrast"_a = 1); - py::class_>(m, "FFTFlipSpectrum", "Flips the FFT magnitude spectrum in the X axis. Requires an FFT* input.") - .def(py::init(), "input"_a = 0, "flip"_a = 0, "rotate"_a = 0); - py::class_>(m, "FFTMagnitudePhaseArray", "Fixed mag/phase array.") .def(py::init, std::vector>(), "input"_a = 0, "magnitudes"_a = 0, "phases"_a = 0) .def("set_magnitudes", &FFTMagnitudePhaseArray::set_magnitudes); @@ -122,6 +119,9 @@ void init_python_nodes(py::module &m) py::class_>(m, "FFTRandomPhase", "Randomise phase values.") .def(py::init(), "input"_a = 0, "level"_a = 1.0); + py::class_>(m, "FFTTransform", "Transforms the FFT magnitude spectrum in the X axis. Requires an FFT* input.") + .def(py::init(), "input"_a = 0, "flip"_a = 0, "rotate"_a = 0); + py::class_>(m, "FFT", "Fast Fourier Transform. Takes a time-domain input, and generates a frequency-domain (FFT) output.") .def(py::init(), "input"_a = 0.0, "fft_size"_a = SIGNALFLOW_DEFAULT_FFT_SIZE, "hop_size"_a = SIGNALFLOW_DEFAULT_FFT_HOP_SIZE, "window_size"_a = 0, "do_window"_a = true);