nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
spectrogram.hpp File Reference
#include <memory_resource>
#include <nk/value/value.hpp>
#include <tuple>

Go to the source code of this file.

Functions

std::tuple< Value, Value, Value > nk::signal::spectrogram (const Value &x, const Value &window, size_t noverlap, size_t nfft, std::pmr::memory_resource *mr=nullptr)
 Short-time Fourier transform with explicit (S, F, T) outputs.
Value nk::signal::stft (const Value &x, const Value &window, std::size_t overlap, std::size_t fftLength, const std::string &range, std::pmr::memory_resource *mr=nullptr)
 Full two-sided / centred / one-sided STFT.
Value nk::signal::istft (const Value &S, const Value &window, std::size_t overlap, std::size_t fftLength, const std::string &range, std::pmr::memory_resource *mr=nullptr)
 Inverse STFT via overlap-add.
std::tuple< Value, Value, Value > nk::signal::iscola (const Value &window, std::size_t noverlap, const std::string &method, std::pmr::memory_resource *mr=nullptr)
 Constant OverLap-Add (COLA) compliance check (tf = iscola(window, noverlap[, method])).