Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::format::SpectralFrameView Struct Reference

Borrowed only during Stage::process(). More...

#include <spectral_frame_processor.hpp>

Public Attributes

std::complex< float > *const * channels = nullptr
int channel_count = 0
int bin_count = 0
int fft_size = 0
int hop = 0
double sample_rate = 0
signal::WindowFunction::Type window = signal::WindowFunction::Type::hann
std::uint64_t sequence = 0
std::int64_t origin_sample = 0

Detailed Description

Borrowed only during Stage::process().

No stage may retain these pointers. The bin order is DC..Nyquist, with the positive-frequency FFT convention used by SpectralFrameEngine. Both endpoint bins must have zero imaginary part. origin_sample is the signed first input sample in the analysis window; negative origins describe the engine's zero-padded stream start.

Member Data Documentation

◆ bin_count

int pulp::format::SpectralFrameView::bin_count = 0

◆ channel_count

int pulp::format::SpectralFrameView::channel_count = 0

◆ channels

std::complex<float>* const* pulp::format::SpectralFrameView::channels = nullptr

◆ fft_size

int pulp::format::SpectralFrameView::fft_size = 0

◆ hop

int pulp::format::SpectralFrameView::hop = 0

◆ origin_sample

std::int64_t pulp::format::SpectralFrameView::origin_sample = 0

◆ sample_rate

double pulp::format::SpectralFrameView::sample_rate = 0

◆ sequence

std::uint64_t pulp::format::SpectralFrameView::sequence = 0

◆ window

signal::WindowFunction::Type pulp::format::SpectralFrameView::window = signal::WindowFunction::Type::hann

The documentation for this struct was generated from the following file: