Digital Signal Processing¶
Comprehensive DSP algorithms including filters, oscillators, and signal analysis tools.
A¶
variablebiquad_section<T>::a0 Denominator coefficient z^0variablebiquad_section<T>::a1 Denominator coefficient z^-1variableiir_params<T, filters>::a1 Denominator coefficient z^-1 per section.variablebiquad_section<T>::a2 Denominator coefficient z^-2variableiir_params<T, filters>::a2 Denominator coefficient z^-2 per section.functionamp_to_dB(const T1 &) Convert an amplitude value to decibels (20*log10).functionamp_to_dB(E1 &&) Convert an amplitude expression to decibels (20*log10).variableexpression_window_with_metrics<T, metrics>::argtypedefexpression_delay<delay, E, stateless, STag>::ArgTraitstypedefexpression_delay<1, E, stateless, STag>::ArgTraitsenum constantspeaker_arrangement::Arr102 L, R, C, Lfe, Ls, Rs, Lc, Rc, Tfl, Tfr, Trl, Trr (10.2).enum constantspeaker_arrangement::Arr50 L, R, C, Ls, Rs (5.0).enum constantspeaker_arrangement::Arr51 L, R, C, Lfe, Ls, Rs (5.1).functionarrangement_for_channels(size_t) Returns a predefined speaker arrangement for a given number of channels.functionarrangement_speakers(speaker_arrangement) Returns the canonical channel list for a speaker arrangement.functionaweighting(const T1 &) A-weighting filter response for a scalar frequency.functionaweighting(E1 &&) A-weighting filter response as an expression.
B¶
variablebiquad_section<T>::b0 Numerator coefficient z^0variableiir_params<T, filters>::b0 Numerator coefficient z^0 per section.variablebiquad_section<T>::b1 Numerator coefficient z^-1variableiir_params<T, filters>::b1 Numerator coefficient z^-1 per section.variablebiquad_section<T>::b2 Numerator coefficient z^-2variableiir_params<T, filters>::b2 Numerator coefficient z^-2 per section.enum constantbiquad_type::bandpass Passes frequencies inside a band.enum constantbiquad_type::bandstop Rejects frequencies inside a band.enum constantwindow_type::bartlettenum constantwindow_type::bartlett_hanntypedefiir_params<T, tag_dynamic_vector>::basefunctionbegin_pass(const expression_iir<1, T, E1, Stateless> &, shape<1>, shape<1>) Internal ADL-provided implementation forfunctionbegin_pass(const expression_iir<filters, T, E1, Stateless> &, shape<1>, shape<1>) Internal ADL-provided implementation forfunctionbessel(int) Analog Bessel/Thomson lowpass filter prototype (normalized cutoff = 1 rad/s).functionbiquad_allpass(std::type_identity_t<T>, std::type_identity_t<T>) Calculates coefficients for the all-pass biquad filterfunctionbiquad_bandpass(std::type_identity_t<T>, std::type_identity_t<T>) Calculates coefficients for the band-pass biquad filterfunctionbiquad_highpass(std::type_identity_t<T>, std::type_identity_t<T>) Calculates coefficients for the high-pass biquad filterfunctionbiquad_highshelf(std::type_identity_t<T>, std::type_identity_t<T>) Calculates coefficients for the high-shelf biquad filterfunctionbiquad_lowpass(std::type_identity_t<T>, std::type_identity_t<T>) Calculates coefficients for the low-pass biquad filterfunctionbiquad_lowshelf(std::type_identity_t<T>, std::type_identity_t<T>) Calculates coefficients for the low-shelf biquad filterfunctionbiquad_notch(std::type_identity_t<T>, std::type_identity_t<T>) Calculates coefficients for the notch biquad filterfunctionbiquad_peak(std::type_identity_t<T>, std::type_identity_t<T>, std::type_identity_t<T>) Calculates coefficients for the peak biquad filterclassbiquad_section<T> Structure for holding biquad filter coefficients.constructorbiquad_section<T>::biquad_section<T>() Default constructor: produces a pass-through section (a0=b0=1, rest 0).functionbiquad_section<T>::biquad_section<T>(const biquad_section<U> &) Converting copy constructor.constructorbiquad_section<T>::biquad_section<T>(T, T, T, T, T, T) Construct from explicit coefficient values.classbiquad_state<T, filters> Per-section delay-line state for a cascade offiltersbiquad sections.constructorbiquad_state<T, filters>::biquad_state<T, filters>() Default constructor: zero-initializes all registers.enumbiquad_type Type of biquad filter response used by coefficient design helpers.enum constantwindow_type::blackmanenum constantwindow_type::blackman_harrisvariableiir_state<T, filters>::block_end End index of the current processing block.enum constantwindow_type::bohmanfunctionbutterworth(int) Analog Butterworth lowpass filter prototype (normalized cutoff = 1 rad/s).functionbweighting(const T1 &) B-weighting filter response for a scalar frequency.functionbweighting(E1 &&) B-weighting filter response as an expression.
C¶
enum constantspeaker_type::C Alias for Center.functionwindow_linspace<T>::calc_p2(size_t, bool)functionwindow_linspace<T>::calc_p(size_t, bool)enum constantspeaker_type::Center Front center.functionchebyshev1(int, double) Analog Chebyshev Type I lowpass filter prototype (normalized cutoff = 1 rad/s).functionchebyshev2(int, double) Analog Chebyshev Type II lowpass filter prototype (normalized cutoff = 1 rad/s).enum constantspeaker_arrangement::Cine30 L, R, C (cinema 3.0).enum constantspeaker_arrangement::Cine31 L, R, C, Lfe (cinema 3.1).enum constantspeaker_arrangement::Cine40 L, R, C, Cs (cinema 4.0).enum constantspeaker_arrangement::Cine41 L, R, C, Cs, Lfe (cinema 4.1).enum constantspeaker_arrangement::Cine60 L, R, C, Ls, Rs, Cs (cinema 6.0).enum constantspeaker_arrangement::Cine61 L, R, C, Lfe, Ls, Rs, Cs (cinema 6.1).enum constantspeaker_arrangement::Cine70 L, R, C, Ls, Rs, Lc, Rc (cinema 7.0).enum constantspeaker_arrangement::Cine71 L, R, C, Lfe, Ls, Rs, Lc, Rc (cinema 7.1).enum constantspeaker_arrangement::Cine80 L, R, C, Ls, Rs, Lc, Rc, Cs (cinema 8.0).enum constantspeaker_arrangement::Cine81 L, R, C, Lfe, Ls, Rs, Lc, Rc, Cs (cinema 8.1).variableexpression_goertzel<T>::coeff Precomputed resonator coefficientvariableexpression_parallel_goertzel<T, width>::coeff Precomputed coefficientsenum constantwindow_type::cosineenum constantwindow_type::cosine_npfunctionebu_r128<T>::count() Return the number of channels.enum constantspeaker_type::Cs Alias for S (center surround).variabledelay_state<T, samples, Tag>::cursorfunctioncweighting(const T1 &) C-weighting filter response for a scalar frequency.functioncweighting(E1 &&) C-weighting filter response as an expression.variablecwindow_type Compile-time window type valuetypedefcwindow_type_t Compile-time window type tag
D¶
variabledelay_state<T, samples, Tag>::datavariabledelay_state<T, 1, 1>::datafunctiondB_to_amp(const T1 &) Convert a level in decibels to an amplitude (10^(dB/20)).functiondB_to_amp(E1 &&) Convert a decibel level expression to amplitudes (10^(dB/20)).functiondB_to_power(const T1 &) Convert a power level in decibels to a power value (10^(dB/10)).functiondB_to_power(E1 &&) Convert a power level expression in decibels to power values (10^(dB/10)).functiondcremove(E1 &&, double)functiondcremove(E1 &&, double, double) Applies a DC removal filter to the given input expression.variablesamplerate_converter<T>::decimation_factor Decimation factor.variablesamplerate_converter<T>::delay Delay line buffer.classdelay_state<T, 1, 1>classdelay_state<T, samples, Tag>constructordelay_state<T, samples, Tag>::delay_state<T, samples, Tag>()functiondelay(delay_state<T, samples, STag> &, E1 &&) Returns template expression that applies delay to the input (uses ring buffer in state)functiondelay(E1 &&) Returns template expression that applies delay to the input (uses ring buffer internally)functiondelay(E1 &&, std::reference_wrapper<delay_state<T, samples, STag>>) Returns template expression that applies delay to the input (uses ring buffer in state)variableshort_fir_state<tapcount, T, U>::delayline Delay line holding the lastvariablefir_state<T, U>::delayline Ring-buffer delay line of lengthvariablemoving_sum_state<U, Tag>::delayline Ring buffer holding the window contents.variablemoving_sum_state<U, tag_dynamic_vector>::delayline Ring buffer holding the window contents.variablefir_state<T, U>::delayline_cursor Current write cursor intovariablesamplerate_converter<T>::depth Processing depth.variableexpression_window<T>::dimsvariableexpression_delay<delay, E, stateless, STag>::dimsvariableexpression_delay<1, E, stateless, STag>::dimsvariableexpression_goertzel<T>::dimsvariableexpression_parallel_goertzel<T, width>::dimsfunctiondownsample2(E1 &&, csize_t<offset>) Downsamples a signal by a factor of 2 by selecting every other sample.functiondownsample4(E1 &&, csize_t<offset>) Downsamples a signal by a factor of 4 by selecting every fourth sample.enum constantsample_rate_conversion_quality::draft Draft quality (lowest, fastest).
E¶
classebu_channel<T> Single-channel loudness measurement front-end.constructorebu_channel<T>::ebu_channel<T>(int, speaker_type, int, T) Construct a channel front-end.classebu_r128<T> EBU R128 loudness meter.constructorebu_r128<T>::ebu_r128<T>(int, std::span<const speaker_type>, int) Construct the meter.functionelliptic(int, double, double) Analog elliptic (Cauer) lowpass filter prototype (normalized cutoff = 1 rad/s).functionend_pass(const expression_iir<1, T, E1, Stateless> &, shape<1>, shape<1>) Internal ADL-provided implementation forfunctionend_pass(const expression_iir<filters, T, E1, Stateless> &, shape<1>, shape<1>) Internal ADL-provided implementation forfunctionenergy_to_loudness(T) Convert mean-square energy to loudness in LUFS.classexpression_bartlett_hann<T> Bartlett-Hann window expressionclassexpression_bartlett<T> Bartlett window expression (triangular reaching zero at the edges)typedefexpression_biquads Alias for expression_iir (sample-by-sample biquad cascade expression).typedefexpression_biquads_l Alias for expression_iir_l (look-ahead biquad cascade expression).classexpression_blackman_harris<T> Blackman-Harris window expression (4-term minimum sidelobe window)classexpression_blackman<T> Blackman window expression (parameterized by alpha)constructorexpression_blackman<T>::expression_blackman<T>(size_t, T, window_symmetry)classexpression_bohman<T> Bohman window expression (product of cosine and linear taper)classexpression_cosine_np<T> Cosine window expression (numpy-compatible)classexpression_cosine<T> Cosine window expression (sin(pi*x))classexpression_delay<1, E, stateless, STag>constructorexpression_delay<1, E, stateless, STag>::expression_delay<1, E, stateless, STag>(E &&, state_holder<delay_state<T, 1, STag>, stateless>)classexpression_delay<delay, E, stateless, STag>constructorexpression_delay<delay, E, stateless, STag>::expression_delay<delay, E, stateless, STag>(E &&, state_holder<delay_state<T, delay, STag>, stateless>)classexpression_fir<T, U, E1, stateless> Template expression applying a generic FIR filter of arbitrary length.constructorexpression_fir<T, U, E1, stateless>::expression_fir<T, U, E1, stateless>(E1 &&, state_holder<fir_state<T, U>, stateless>)classexpression_flattop<T> Flat-top window expression (5-term window for accurate amplitude estimation)classexpression_gaussian<T> Gaussian window expressionconstructorexpression_gaussian<T>::expression_gaussian<T>(size_t, T, window_symmetry) alpha = std / 2Nclassexpression_goertzel<T> Single-bin Goertzel algorithm expression.destructorexpression_goertzel<T>::~expression_goertzel<T>() Destructor: rotates the final filter state into the complex DFT bin value and stores it inresult.constructorexpression_goertzel<T>::expression_goertzel<T>(complex<T> &, T) Construct a Goertzel resonator for frequencyomega.classexpression_hamming<T> Hamming window expressionconstructorexpression_hamming<T>::expression_hamming<T>(size_t, T, window_symmetry)classexpression_hann<T> Hann window expression (0.5*(1-cos(2*pi*x)))classexpression_iir_l<filters, T, E1, Stateless> Template expression applying a cascade of biquad sections (look-ahead variant, no latency compensation).constructorexpression_iir_l<filters, T, E1, Stateless>::expression_iir_l<filters, T, E1, Stateless>(E1 &&, state_holder<iir_state<T, filters>, Stateless>) Construct from an input expression and a state holder.classexpression_iir<filters, T, E1, Stateless> Template expression applying a cascade of biquad sections (look-ahead variant, with latency compensation).constructorexpression_iir<filters, T, E1, Stateless>::expression_iir<filters, T, E1, Stateless>(E1 &&, state_holder<iir_state<T, filters>, Stateless>) Construct from an input expression and a state holder.classexpression_kaiser<T> Kaiser window expression (shaped by the zeroth-order modified Bessel function)constructorexpression_kaiser<T>::expression_kaiser<T>(size_t, T, window_symmetry)classexpression_lanczos<T> Lanczos window expression (sinc based)classexpression_moving_sum<U, E1, STag, stateless> Template expression performing a moving sum (rectangular window) over the input.constructorexpression_moving_sum<U, E1, STag, stateless>::expression_moving_sum<U, E1, STag, stateless>(E1 &&, state_holder<moving_sum_state<U, STag>, stateless>)classexpression_parallel_goertzel<T, width> Parallel (multi-bin) Goertzel algorithm expression.destructorexpression_parallel_goertzel<T, width>::~expression_parallel_goertzel<T, width>() Destructor: rotates the final filter states into thewidthcomplex DFT bin values and stores them inresult.constructorexpression_parallel_goertzel<T, width>::expression_parallel_goertzel<T, width>(complex<T> *, vec<T, width>) Constructwidthparallel Goertzel resonators.classexpression_planck_taper<T> Planck-taper window expression (smooth flat-top taper controlled by epsilon)constructorexpression_planck_taper<T>::expression_planck_taper<T>(size_t, T, window_symmetry)classexpression_rectangular<T> Rectangular window expression (all ones within the window)constructorexpression_rectangular<T>::expression_rectangular<T>(size_t, T, window_symmetry)classexpression_short_fir<tapcount, T, U, E1, stateless> Template expression applying a short FIR filter (2..33 taps).constructorexpression_short_fir<tapcount, T, U, E1, stateless>::expression_short_fir<tapcount, T, U, E1, stateless>(E1 &&, state_holder<short_fir_state<tapcount, T, U>, stateless>)classexpression_triangular<T> Triangular window expressionclassexpression_tukey<T> Tukey window expression (tapered cosine, numpy-compatible)constructorexpression_tukey<T>::expression_tukey<T>(size_t, T, window_symmetry)classexpression_window_with_metrics<T, metrics> Base class for windows parameterized by a linspace and a scalar argumentconstructorexpression_window_with_metrics<T, metrics>::expression_window_with_metrics<T, metrics>(size_t, T, window_symmetry)classexpression_window<T> Base class for all window expressionsconstructorexpression_window<T>::expression_window<T>(size_t)
F¶
variablesamplerate_converter<T>::filter Filter coefficients.typedeffilter_fir Alias forfunctionsamplerate_converter<T>::filter_order(sample_rate_conversion_quality) Computes the filter order for a given quality level.functionfiltfilt(univector<T, Tag> &, const iir_params<T, Itag> &) Applies forward and backward filtering to the input array using the given IIR filter parameters.functionfir_bandpass(const univector_ref<T> &, std::type_identity_t<T>, std::type_identity_t<T>, const expression_handle<T> &, bool)functionfir_bandpass(univector<T, Tag> &, std::type_identity_t<T>, std::type_identity_t<T>, const expression_handle<T> &, bool) Calculates coefficients for the band-pass FIR filter using the windowed-sinc method.functionfir_bandstop(const univector_ref<T> &, std::type_identity_t<T>, std::type_identity_t<T>, const expression_handle<T> &, bool)functionfir_bandstop(univector<T, Tag> &, std::type_identity_t<T>, std::type_identity_t<T>, const expression_handle<T> &, bool) Calculates coefficients for the band-stop (notch) FIR filter using the windowed-sinc method.classfir_filter<T, U> Runtime FIR filter implementing thefilter<U>interface.constructorfir_filter<T, U>::fir_filter<T, U>(fir_state<T, U>) Construct from afir_state.functionfir_highpass(const univector_ref<T> &, std::type_identity_t<T>, const expression_handle<T> &, bool)functionfir_highpass(univector<T, Tag> &, std::type_identity_t<T>, const expression_handle<T> &, bool) Calculates coefficients for the high-pass FIR filter using the windowed-sinc method.functionfir_lowpass(const univector_ref<T> &, std::type_identity_t<T>, const expression_handle<T> &, bool)functionfir_lowpass(univector<T, Tag> &, std::type_identity_t<T>, const expression_handle<T> &, bool) Calculates coefficients for the low-pass FIR filter using the windowed-sinc method.deduction guidefir_params Deduction guide forfir_paramsfrom an arbitrary container.classfir_params<T> Parameters of a generic FIR filter: the tap vector.constructorfir_params<T>::fir_params<T>(const fir_params<T> &)constructorfir_params<T>::fir_params<T>(const T *, size_t) Construct from a raw pointer and size (taps are reversed internally).functionfir_params<T>::fir_params<T>(Cont &&) Construct from any container satisfyinghas_data_size.constructorfir_params<T>::fir_params<T>(fir_params<T> &&)constructorfir_params<T>::fir_params<T>(univector<T> &&) Construct by moving a tap vector (taps are reversed internally).deduction guidefir_state Deduction guide forfir_statefrom an arbitrary container.classfir_state<T, U> State of a generic FIR filter: parameters plus a ring-buffer delay line.constructorfir_state<T, U>::fir_state<T, U>(const fir_state<T, U> &)functionfir_state<T, U>::fir_state<T, U>(Cont &&) Construct from a tap container (taps are reversed byfir_params).constructorfir_state<T, U>::fir_state<T, U>(fir_params<T>) Construct fromfir_params(taps are taken as-is, already reversed).constructorfir_state<T, U>::fir_state<T, U>(fir_state<T, U> &&)typedeffir_taps Alias for a fixed-size vector of FIR filter coefficients.functionfir(E1 &&, fir_params<T>) Returns template expression that applies FIR filter to the input.functionfir(E1 &&, std::reference_wrapper<fir_state<T, U>>) Returns template expression that applies FIR filter to the input.functionfir(E1 &&, Taps &&) Returns template expression that applies FIR filter to the input.functionfir(fir_state<T, U> &, E1 &&) Returns template expression that applies FIR filter to the input.enum constantwindow_type::flattopfunctionfracdelay(E1 &&, T) Returns template expression that applies a fractional delay to the inputtypedefsamplerate_converter<T>::ftype
G¶
enum constantwindow_type::gaussianfunctionintegrated_vec<T>::get() Return the integrated loudness in LUFS, recomputing if needed.functionsamplerate_converter<T>::get_delay() Gets the integer delay introduced by the resampler.functionexpression_bartlett_hann<T>::get_elements(const expression_bartlett_hann<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_bartlett<T>::get_elements(const expression_bartlett<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_blackman_harris<T>::get_elements(const expression_blackman_harris<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_blackman<T>::get_elements(const expression_blackman<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_bohman<T>::get_elements(const expression_bohman<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_cosine_np<T>::get_elements(const expression_cosine_np<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_cosine<T>::get_elements(const expression_cosine<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_delay<1, E, stateless, STag>::get_elements(const expression_delay<1, E, stateless, STag> &, shape<1>, axis_params<0, N>)functionexpression_delay<delay, E, stateless, STag>::get_elements(const expression_delay<delay, E, stateless, STag> &, shape<1>, axis_params<0, 1>)functionexpression_delay<delay, E, stateless, STag>::get_elements(const expression_delay<delay, E, stateless, STag> &, shape<1>, axis_params<0, N>)functionexpression_fir<T, U, E1, stateless>::get_elements(const expression_fir<T, U, E1, stateless> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forexpression_firexpressions.functionexpression_flattop<T>::get_elements(const expression_flattop<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_gaussian<T>::get_elements(const expression_gaussian<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_hamming<T>::get_elements(const expression_hamming<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_hann<T>::get_elements(const expression_hann<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionget_elements(const expression_iir<1, T, E1, Stateless> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionget_elements(const expression_iir_l<filters, T, E1, Stateless> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionget_elements(const expression_iir<filters, T, E1, Stateless> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_kaiser<T>::get_elements(const expression_kaiser<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_lanczos<T>::get_elements(const expression_lanczos<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_moving_sum<U, E1, STag, stateless>::get_elements(const expression_moving_sum<U, E1, STag, stateless> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forexpression_moving_sumexpressions.functionexpression_planck_taper<T>::get_elements(const expression_planck_taper<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_rectangular<T>::get_elements(const expression_rectangular<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_short_fir<tapcount, T, U, E1, stateless>::get_elements(const expression_short_fir<tapcount, T, U, E1, stateless> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forexpression_short_firexpressions.functionexpression_triangular<T>::get_elements(const expression_triangular<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionexpression_tukey<T>::get_elements(const expression_tukey<T> &, shape<1>, axis_params<0, N>) Internal ADL-provided implementation forfunctionsamplerate_converter<T>::get_fractional_delay() Gets the fractional delay introduced by the resampler.functionexpression_window<T>::get_shape()functionexpression_delay<delay, E, stateless, STag>::get_shape()functionexpression_delay<1, E, stateless, STag>::get_shape()functionexpression_goertzel<T>::get_shape()functionexpression_parallel_goertzel<T, width>::get_shape()functionexpression_delay<1, E, stateless, STag>::get_shape(const expression_delay<1, E, stateless, STag> &)functionexpression_delay<delay, E, stateless, STag>::get_shape(const expression_delay<delay, E, stateless, STag> &)functionexpression_goertzel<T>::get_shape(const expression_goertzel<T> &)functionexpression_parallel_goertzel<T, width>::get_shape(const expression_parallel_goertzel<T, width> &)functionexpression_window<T>::get_shape(const expression_window<T> &)functionebu_channel<T>::get_speaker() Return the speaker role assigned to this channel.functionebu_r128<T>::get_values(T &, T &, T &, T &, T &) Read all measured loudness values.functionlra_vec<T>::get(T &, T &) Return the LRA percentile loudness bounds.functiongoertzel(complex<T> &, std::type_identity_t<T>) Create a single-bin Goertzel expression.functiongoertzel(complex<T> (&)[width], const T (&)[width]) Createwidthparallel Goertzel expressions.
H¶
enum constantwindow_type::hammingenum constantwindow_type::hannvariablemoving_sum_state<U, Tag>::head_cursor Write cursor (newest sample).variablemoving_sum_state<U, tag_dynamic_vector>::head_cursor Write cursor (newest sample).functionhertz_to_note(const T1 &) Convert a frequency in Hertz to a MIDI note number.functionhertz_to_note(E1 &&) Convert a frequency expression in Hertz to MIDI note numbers.enum constantsample_rate_conversion_quality::high High quality.enum constantbiquad_type::highpass Passes frequencies above the cutoff.enum constantbiquad_type::highshelf High-shelf equalizer filter.
I¶
functioniir_bandpass(const zpk &, double, double, double) Designs a digital bandpass IIR filter and returns ZPK coefficients.functioniir_bandstop(const zpk &, double, double, double) Designs a digital bandstop (notch) IIR filter and returns ZPK coefficients.classiir_filter<T> Runtime IIR filter object usable as a streaming filter.constructoriir_filter<T>::iir_filter<T>(const iir_params<T> &) Construct the filter from biquad parameters.functioniir_highpass(const zpk &, double, double) Designs a digital highpass IIR filter and returns ZPK coefficients.functioniir_lowpass(const zpk &, double, double) Designs a digital lowpass IIR filter and returns ZPK coefficients.deduction guideiir_paramsdeduction guideiir_paramsdeduction guideiir_paramsdeduction guideiir_paramsdeduction guideiir_paramsdeduction guideiir_paramsclassiir_params<T, filters> Fixed-size container of biquad coefficients stored as SoA vectors.constructoriir_params<T, filters>::iir_params<T, filters>() Default constructor: pass-through (b0=1, rest 0).constructoriir_params<T, filters>::iir_params<T, filters>(const biquad_section<T> &) Construct from a single biquad_section.constructoriir_params<T, filters>::iir_params<T, filters>(const biquad_section<T> *, size_t) Build from an array of biquad_section.functioniir_params<T, filters>::iir_params<T, filters>(Container &&) Construct from any container with data()/size().classiir_params<T, tag_dynamic_vector> Dynamic-size specialization of iir_params.constructoriir_params<T, tag_dynamic_vector>::iir_params<T, tag_dynamic_vector>()constructoriir_params<T, tag_dynamic_vector>::iir_params<T, tag_dynamic_vector>(const biquad_section<T> &) Construct from a single biquad_section.constructoriir_params<T, tag_dynamic_vector>::iir_params<T, tag_dynamic_vector>(const biquad_section<T> *, size_t) Build from a C array offunctioniir_params<T, tag_dynamic_vector>::iir_params<T, tag_dynamic_vector>(const iir_params<T, filters> &) Convert a fixed-size iir_params to the dynamic-size form.constructoriir_params<T, tag_dynamic_vector>::iir_params<T, tag_dynamic_vector>(const iir_params<T, tag_dynamic_vector> &)functioniir_params<T, tag_dynamic_vector>::iir_params<T, tag_dynamic_vector>(Container &&) Construct from any container with data()/size().constructoriir_params<T, tag_dynamic_vector>::iir_params<T, tag_dynamic_vector>(iir_params<T, tag_dynamic_vector> &&)constructoriir_params<T, tag_dynamic_vector>::iir_params<T, tag_dynamic_vector>(size_t) Allocate storage forconstructoriir_params<T, tag_dynamic_vector>::iir_params<T, tag_dynamic_vector>(std::vector<biquad_section<T>> &&) Move-construct from a vector of sections.deduction guideiir_statededuction guideiir_stateclassiir_state<T, filters> Combined IIR filter parameters and runtime state.functioniir_state<T, filters>::iir_state<T, filters>(Args &&...) Forwarding constructor for the embedded iir_params.functioniir(E1 &&, const iir_params<T, tag_dynamic_vector> &) Returns a template expression that applies a runtime-sized biquad cascade to the input.functioniir(E1 &&, const zpk &) Applies an IIR filter (in ZPK form) to an input signal expression.functioniir(E1 &&, iir_params<T, filters>) Returns a template expression that applies a biquad filter cascade to the input.functioniir(E1 &&, std::reference_wrapper<iir_state<T, filters>>) Returns a template expression that applies a biquad cascade using externally-owned state.variablesamplerate_converter<T>::input_position Current input position.functionsamplerate_converter<T>::input_position_to_intermediate(itype) Converts an input position to an intermediate (interpolated) position.functionsamplerate_converter<T>::input_position_to_output(itype) Converts an input position to the corresponding output position.functionsamplerate_converter<T>::input_size_for_output(itype) Calculates the input size required to produce a given output size (pull method).classintegrated_vec<T> Buffer of momentary mean-square energies used to compute the integrated (program) loudness per EBU R128 §3560.constructorintegrated_vec<T>::integrated_vec<T>()variablesamplerate_converter<T>::interpolation_factor Interpolation factor.functionisawtooth(const T1 &) Inverse (rising) sawtooth wave of a phase in radians.functionisawtooth(E1 &&) Expression overload ofisawtooth; applies element-wise to an expression.functionisawtoothnorm(const T1 &) Inverse (rising) sawtooth wave of a phase ramp in [0, 1) cycles.functionisawtoothnorm(E1 &&) Expression overload ofisawtoothnorm; applies element-wise to an expression.typedefsamplerate_converter<T>::itype
J¶
functionjaehne_arg(size_t)functionjaehne(std::type_identity_t<T>, size_t) Returns expression template that generates a jaehne vector Generates the sine with linearly increasing frequency from 0hz to nyquist frequency.
K¶
variablezpk::k System gainenum constantwindow_type::kaiservariablesamplerate_converter<T>::kaiser_beta Kaiser window beta parameter.macroKFR_WINDOW_BY_TYPE
L¶
enum constantspeaker_type::L Alias for Left.enum constantwindow_type::lanczosenum constantspeaker_type::Lc Left center (front, between L and C).enum constantspeaker_type::Left Front left.enum constantspeaker_type::LeftSurround Alias for Ls.enum constantspeaker_type::Lfe Low-frequency effects (subwoofer).enum constantspeaker_type::Lfe2 Second low-frequency effects channel.functionlibrary_version_dsp() Returns the full version string of the KFR DSP module.variableexpression_window_with_metrics<T, metrics>::linspacefunctionloudness_to_energy(T) Inverse ofenergy_to_loudness: convert LUFS back to linear energy.enum constantsample_rate_conversion_quality::low Low quality.enum constantbiquad_type::lowpass Passes frequencies below the cutoff.enum constantbiquad_type::lowshelf Low-shelf equalizer filter.classlra_vec<T> Sorted buffer of short-term mean-square energies used to compute the Loudness Range (LRA) per EBU R128 / ITU-R BS.1770.constructorlra_vec<T>::lra_vec<T>()enum constantspeaker_type::Ls Left surround.
M¶
enum constantspeaker_type::M Alias for Mono.variableexpression_window<T>::m_sizefunctionmake_kfilter(int) Build the EBU R128 K-weighting pre-filter as an IIR expression handle.variablestereo_matrix::matrix 2x2 mixing matrix (rows are output coefficients).functionmatrix_halfsum_halfdiff() Returns a 2x2 matrix that computes half-sum/half-difference of stereo channels.functionmatrix_sum_diff() Returns a 2x2 matrix that computes sum/difference of stereo channels.variablemaximum_biquad_count Maximum number of cascaded biquad sections (maximum_iir_order / 2).variablemaximum_iir_order Maximum supported IIR filter order.enum constantwindow_metrics::metrics_0_1enum constantwindow_metrics::metrics_m1_1enum constantwindow_metrics::metrics_m1_1_truncenum constantwindow_metrics::metrics_m1_1_trunc2enum constantwindow_metrics::metrics_mpi_pifunctionmixdown_stereo(Left &&, Right &&, const f64x2x2 &) Returns a template expression that produces a length-2 vector mixing the left and right channels according tomatrix.functionmixdown(E &&...) Returns a template expression that yields the sample-wise sum of all the inputs.enum constantspeaker_type::Mono Mono (front center, single channel).enum constantspeaker_arrangement::Mono Single mono channel (M).classmoving_sum_state<U, Tag> State for a moving-sum (rectangular window) filter with a compile-time-sized delay line.constructormoving_sum_state<U, Tag>::moving_sum_state<U, Tag>()classmoving_sum_state<U, tag_dynamic_vector> Specialization ofmoving_sum_statefor a runtime-sized window.constructormoving_sum_state<U, tag_dynamic_vector>::moving_sum_state<U, tag_dynamic_vector>(size_t) Construct a moving-sum state with the given window length.functionmoving_sum(E1 &&) Returns template expression that performs moving sum on the input.functionmoving_sum(E1 &&, size_t) Returns template expression that performs moving sum on the input.functionmoving_sum(E1 &&, std::reference_wrapper<moving_sum_state<U, Tag>>) Returns template expression that performs moving sum on the input.functionmoving_sum(moving_sum_state<U, STag> &, E1 &&) Returns template expression that performs moving sum on the input.enum constantspeaker_arrangement::Music30 L, R, S (music 3.0).enum constantspeaker_arrangement::Music31 L, R, S, Lfe (music 3.1).enum constantspeaker_arrangement::Music40 L, R, Ls, Rs (music 4.0).enum constantspeaker_arrangement::Music41 L, R, Ls, Rs, Lfe (music 4.1).enum constantspeaker_arrangement::Music60 L, R, Ls, Rs, Sl, Sr (music 6.0).enum constantspeaker_arrangement::Music61 L, R, Lfe, Ls, Rs, Sl, Sr (music 6.1).enum constantspeaker_arrangement::Music70 L, R, C, Ls, Rs, Sl, Sr (music 7.0).enum constantspeaker_arrangement::Music71 L, R, C, Lfe, Ls, Rs, Sl, Sr (music 7.1).enum constantspeaker_arrangement::Music80 L, R, C, Ls, Rs, Sl, Sr, Cs (music 8.0).enum constantspeaker_arrangement::Music81 L, R, C, Lfe, Ls, Rs, Sl, Sr, Cs (music 8.1).
N¶
enum constantspeaker_type::None No speaker / unspecified.enum constantspeaker_arrangement::None No arrangement / unspecified.enum constantsample_rate_conversion_quality::normal Normal quality (balanced).functionbiquad_section<T>::normalized_a0() Returns a section scaled so that a0 == 1.functionbiquad_section<T>::normalized_all() Returns a section scaled so that both a0 == 1 and b0 == 1.functionbiquad_section<T>::normalized_b0() Returns a section scaled so that b0 == 1.enum constantbiquad_type::notch Notch (band-reject) filter.functionnote_to_hertz(const T1 &) Convert a MIDI note number to frequency in Hertz.functionnote_to_hertz(E1 &&) Convert a MIDI note number expression to frequency in Hertz.
O¶
variableexpression_goertzel<T>::omega Target angular frequency [rad/sample].variableexpression_parallel_goertzel<T, width>::omega SIMD vector of target angular frequencies.functionfir_params<T>::operator=(const fir_params<T> &)functionfir_state<T, U>::operator=(const fir_state<T, U> &)functionstereo_matrix::operator()(const vec<vec<T, 2>, N> &) Apply the matrix to a vector of stereo samples.functionfir_params<T>::operator=(fir_params<T> &&)functionfir_state<T, U>::operator=(fir_state<T, U> &&)functionsamplerate_converter<T>::operator=(samplerate_converter<T> &&) Move assignment operator.functionebu_r128<T>::operator[](size_t) Access channelindex(read-only).variablesamplerate_converter<T>::order Filter order.variablebiquad_state<T, filters>::out Last output vector, used as inter-section delay line.variablesamplerate_converter<T>::output_position Current output position.functionsamplerate_converter<T>::output_position_to_input(itype) Converts an output position to the corresponding input position.functionsamplerate_converter<T>::output_position_to_intermediate(itype) Converts an output position to an intermediate (pre-decimation) position.functionsamplerate_converter<T>::output_size_for_input(itype) Calculates the output size produced for a given input size (push method).
P¶
variablezpk::p Poles of the transfer functionfunctionebu_channel<T>::packet_size() Return the number of samples per packet.functionebu_r128<T>::packet_size() Return the number of samples per packet (= sample_rate / refresh_rate).variableiir_state<T, filters>::paramsvariablefir_state<T, U>::params Filter parameters (reversed taps).enum constantbiquad_type::peak Peaking equalizer filter.enum constantsample_rate_conversion_quality::perfect Perfect quality (highest, slowest).enum constantwindow_symmetry::periodicfunctionphasor(std::type_identity_t<T>) Phasor withsample_rate = 1andphase = 0.functionphasor(std::type_identity_t<T>, std::type_identity_t<T>, std::type_identity_t<T>) Phasor (normalized phase ramp in [0, 1)) advancing at the given frequency.enum constantwindow_type::planck_taperfunctionpower_to_dB(const T1 &) Convert a power value to decibels (10*log10).functionpower_to_dB(E1 &&) Convert a power expression to decibels (10*log10).functionfir_filter<T, U>::process_buffer(U *, const U *, size_t)functionfir_filter<T, U>::process_expression(U *, const expression_handle<U, 1> &, size_t)functionsamplerate_converter<T>::process_impl(univector_ref<T>, univector_ref<const T>) Internal implementation of the process function.functionebu_r128<T>::process_packet(const std::initializer_list<univector_dyn<T>> &) Process one packet for every channel.functionebu_r128<T>::process_packet(const std::initializer_list<univector_ref<T>> &)functionebu_channel<T>::process_packet(const T *) Process one packet ofpacket_size()samples.functionebu_r128<T>::process_packet(std::span<const univector_dyn<T>>)functionebu_r128<T>::process_packet(std::span<const univector_ref<T>>)functionstereo_matrix::process(const vec<vec<T, 2>, N> &, csizes_t<indices...>) Internal ADL-provided implementation forstereo_matrixexpressions.functionsamplerate_converter<T>::process(univector<T, Tag> &, univector_ref<const T>) Processes input data to produce resampled output (pull or push method).functionfir_state<T, U>::push_delayline(Cont &&) Append samples to the delay line ring buffer.functionintegrated_vec<T>::push(T) Append a momentary mean-square energy sample.functionlra_vec<T>::push(T) Insert a short-term mean-square energy sample, keeping the buffer sorted.
Q¶
variableexpression_goertzel<T>::q0 Current filter output (working state).variableexpression_parallel_goertzel<T, width>::q0 Current filter outputs (working state).variableexpression_goertzel<T>::q1 Previous output sample (working state).variableexpression_parallel_goertzel<T, width>::q1 Previous output samples (working state).variableexpression_goertzel<T>::q2 Output sample two steps back (working state).variableexpression_parallel_goertzel<T, width>::q2 Output samples two steps back (working state).
R¶
enum constantspeaker_type::R Alias for Right.variableexpression_short_fir<tapcount, T, U, E1, stateless>::random_accessvariableexpression_fir<T, U, E1, stateless>::random_accessvariableexpression_moving_sum<U, E1, STag, stateless>::random_accessvariableexpression_delay<delay, E, stateless, STag>::random_accessvariableexpression_delay<1, E, stateless, STag>::random_accessfunctionrawsawtooth(const T1 &) Sawtooth wave of a phase ramp in [0, 1) cycles.functionrawsawtooth(E1 &&) Expression overload ofrawsawtooth; applies element-wise to an expression.functionrawsine(const T1 &) Sine of a phase ramp in [0, 1) cycles.functionrawsine(E1 &&) Expression overload ofrawsine; applies element-wise to an expression.functionrawsquare(const T1 &) Square wave of a phase ramp in [0, 1) cycles.functionrawsquare(E1 &&) Expression overload ofrawsquare; applies element-wise to an expression.functionrawtriangle(const T1 &) Triangle wave of a phase ramp in [0, 1) cycles.functionrawtriangle(E1 &&) Expression overload ofrawtriangle; applies element-wise to an expression.enum constantspeaker_type::Rc Right center (front, between R and C).enum constantwindow_type::rectangulartypedefresample_quality Alias for sample_rate_conversion_quality.functionresampler(sample_rate_conversion_quality, size_t, size_t, subtype<T>, subtype<T>) Helper function to create a sample rate converter instance.functionfir_filter<T, U>::reset() Reset internal filter statefunctionintegrated_vec<T>::reset() Clear the buffer and invalidate the cached result.functionlra_vec<T>::reset() Clear the buffer and invalidate the cached result.functionebu_channel<T>::reset() Zero the momentary and short-term sum-of-squares ring buffers.functionebu_r128<T>::reset() Request a deferred reset of all channels and accumulators.functionsamplerate_converter<T>::reset() Resets the converter to its initial state.functionreset(const expression_delay<1, E, stateless, STag> &) Clears a one-sample delay expression's stored sample.functionreset(const expression_delay<delay, E, stateless, STag> &) Clears a multi-sample delay expression's ring buffer and cursor.functionreset(const expression_fir<T, U, E1, stateless> &) Clears a generic FIR expression's delay line while preserving its taps.functionreset(const expression_goertzel<T> &) Clears a Goertzel resonator's recursive state.functionreset(const expression_iir_l<filters, T, E1, Stateless> &) Clears an IIR cascade's delay-line state while preserving its coefficients.functionreset(const expression_iir<filters, T, E1, Stateless> &)functionreset(const expression_moving_sum<U, E1, STag, stateless> &) Clears a moving-sum expression's delay line and restores its cursors.functionreset(const expression_parallel_goertzel<T, width> &) Clears all recursive states in a parallel Goertzel expression.functionreset(const expression_short_fir<tapcount, T, U, E1, stateless> &) Clears a short FIR expression's delay line while preserving its taps.variableexpression_goertzel<T>::result Output complex bin value (written on destruction).variableexpression_parallel_goertzel<T, width>::result Output array ofenum constantspeaker_type::Right Front right.enum constantspeaker_type::RightSurround Alias for Rs.enum constantspeaker_type::Rs Right surround.functionebu_r128<T>::running() Return whether the meter is currently running (seestart(),stop()).
S¶
enum constantspeaker_type::S Rear surround (single).variablebiquad_state<T, filters>::s1 First delay register per section.variablebiquad_state<T, filters>::s2 Second delay register per section.functionebu_r128<T>::sample_rate() Return the configured sample rate in Hz.enumsample_rate_conversion_quality Defines the quality levels for sample rate conversion.functionsample_rate_converter(sample_rate_conversion_quality, size_t, size_t, subtype<T>, subtype<T>) Helper function to create a sample rate converter instance.typedefsample_rate_t Sample rate expressed in Hertz.classsamplerate_converter<T> A template class for performing sample rate conversion on audio signals.constructorsamplerate_converter<T>::samplerate_converter<T>() Default constructor.constructorsamplerate_converter<T>::samplerate_converter<T>(int, itype, itype, fbase, fbase, fbase, fbase) Constructs a sample rate converter from explicit filter parameters.constructorsamplerate_converter<T>::samplerate_converter<T>(sample_rate_conversion_quality, itype, itype, fbase, fbase) Constructs a sample rate converter.constructorsamplerate_converter<T>::samplerate_converter<T>(samplerate_converter<T> &&) Move constructor.functionsaturate_I(const T1 &) Type-I saturation curve (odd-symmetric, bounded to (-1, 1)).functionsaturate_I(E1 &&) Expression form of saturate_I.functionsaturate_II(const T1 &) Type-II saturation curve (odd-symmetric, bounded to (-1, 1)).functionsaturate_II(E1 &&) Expression form of saturate_II.variableiir_state<T, filters>::saved_state Snapshot used for block-based processing.functionsawtooth(const T1 &) Sawtooth wave of a phase in radians.functionsawtooth(E1 &&) Expression overload ofsawtooth; applies element-wise to an expression.functionsawtoothnorm(const T1 &) Sawtooth wave of a phase ramp in [0, 1) cycles (alias ofrawsawtooth).functionsawtoothnorm(E1 &&) Expression overload ofsawtoothnorm; applies element-wise to an expression.functionexpression_goertzel<T>::set_elements(expression_goertzel<T> &, shape<1>, axis_params<VecAxis, N>, const std::type_identity_t<vec<T, N>> &) Internal ADL-provided implementation forexpression_goertzelexpressions.functionexpression_parallel_goertzel<T, width>::set_elements(expression_parallel_goertzel<T, width> &, shape<1>, axis_params<VecAxis, N>, const std::type_identity_t<vec<T, N>> &) Internal ADL-provided implementation forexpression_parallel_goertzelexpressions.functionfir_filter<T, U>::set_params(fir_params<T>) Replace the filter parameters (alias offunctionfir_filter<T, U>::set_taps(fir_params<T>) Replace the filter taps (resets parameters; delay line is unchanged until next process).classshort_fir_state<tapcount, T, U> State for a short FIR filter (tap count in range 2..33).functionshort_fir_state<tapcount, T, U>::short_fir_state<tapcount, T, U>(const univector<const T, N> &) Construct from a runtime-sized tap vector (const data variant).functionshort_fir_state<tapcount, T, U>::short_fir_state<tapcount, T, U>(const univector<T, N> &) Construct from a runtime-sized tap vector.functionshort_fir(E1 &&, const univector<T, TapCount> &) Returns template expression that applies a short FIR filter to the input (tap count must be in range 2..33).functionshort_fir(E1 &&, std::reference_wrapper<short_fir_state<TapCount, T, U>>) Returns template expression that applies a short FIR filter to the input (tap count must be in range 2..33).functionshort_fir(short_fir_state<InternalTapCount, T, U> &, E1 &&) Returns template expression that applies a short FIR filter to the input (tap count must be in range 2..33).functionsamplerate_converter<T>::sidelobe_att() Calculates the sidelobe attenuation based on the Kaiser beta parameter.functionsamplerate_converter<T>::sidelobe_attenuation(sample_rate_conversion_quality) Returns the sidelobe attenuation for a given quality level.functionsine(const T1 &) Sine of a phase in radians.functionsine(E1 &&) Expression overload ofsine; applies element-wise to an expression.functionsinenorm(const T1 &) Sine of a phase ramp in [0, 1) cycles (alias ofrawsine).functionsinenorm(E1 &&) Expression overload ofsinenorm; applies element-wise to an expression.functionexpression_window<T>::size()functionsamplerate_converter<T>::skip(size_t, univector_ref<const T>) Skips a specified number of output samples, updating internal state.enum constantspeaker_type::Sl Side left.typedefSpeakerenumspeaker_arrangement Predefined speaker arrangements.enumspeaker_type Speaker types (channel positions).typedefSpeakerArrangementfunctionsquare(const T1 &) Square wave of a phase in radians.functionsquare(E1 &&) Expression overload ofsquare; applies element-wise to an expression.functionsquarenorm(const T1 &) Square wave of a phase ramp in [0, 1) cycles (alias ofrawsquare).functionsquarenorm(E1 &&) Expression overload ofsquarenorm; applies element-wise to an expression.enum constantspeaker_type::Sr Side right.functionebu_r128<T>::start() (Re)start measurement: subsequent packets update the buffers.variableiir_state<T, filters>::state Active delay-line state.variableexpression_iir_l<filters, T, E1, Stateless>::statevariableexpression_iir<filters, T, E1, Stateless>::statevariableexpression_short_fir<tapcount, T, U, E1, stateless>::statevariableexpression_fir<T, U, E1, stateless>::statevariableexpression_moving_sum<U, E1, STag, stateless>::statevariablefir_filter<T, U>::statevariableexpression_delay<delay, E, stateless, STag>::statevariableexpression_delay<1, E, stateless, STag>::stateenum constantspeaker_arrangement::Stereo L, R.structstereo_matrix 2x2 mixing matrix functor for stereo channel transformations.enum constantspeaker_arrangement::StereoCenter Lc, Rc.enum constantspeaker_arrangement::StereoCLfe C, Lfe.enum constantspeaker_arrangement::StereoSide Sl, Sr.enum constantspeaker_arrangement::StereoSurround Ls, Rs.functionebu_r128<T>::stop() Pause measurement: packets are still filtered but buffers are frozen.functionswept_arg(size_t)functionswept(std::type_identity_t<T>, size_t) Returns expression template that generates a jaehne vector Generates the sine with logarithmically increasing frequency from 0hz to nyquist frequency.enum constantwindow_symmetry::symmetric
T¶
typedefexpression_delay<delay, E, stateless, STag>::Ttypedefexpression_delay<1, E, stateless, STag>::Tvariablemoving_sum_state<U, Tag>::tail_cursor Read cursor (oldest sample).variablemoving_sum_state<U, tag_dynamic_vector>::tail_cursor Read cursor (oldest sample).variableshort_fir_state<tapcount, T, U>::taps Filter coefficients (zero-padded).variablefir_params<T>::taps Filter coefficients (reversed order).variablesamplerate_converter<T>::taps Number of filter taps.enum constantspeaker_type::Tfc Top front center.enum constantspeaker_type::Tfl Top front left.enum constantspeaker_type::Tfr Top front right.enum constantspeaker_type::Tm Top middle.functionto_sos(const zpk &) Converts a zero-pole-gain filter to second-order sections (SOS) form.functionsamplerate_converter<T>::transition_width() Calculates the transition width based on sidelobe attenuation and depth.functionsamplerate_converter<T>::transition_width(sample_rate_conversion_quality) Returns the transition width for a given quality level.enum constantspeaker_type::Trc Top rear center.functiontriangle(const T1 &) Triangle wave of a phase in radians.functiontriangle(E1 &&) Expression overload oftriangle; applies element-wise to an expression.functiontrianglenorm(const T1 &) Triangle wave of a phase ramp in [0, 1) cycles (alias ofrawtriangle).functiontrianglenorm(E1 &&) Expression overload oftrianglenorm; applies element-wise to an expression.enum constantwindow_type::triangularenum constantspeaker_type::Trl Top rear left.enum constantspeaker_type::Trr Top rear right.enum constantwindow_type::tukeytypedefwindow_by_type<window_type::rectangular>::typetypedefwindow_by_type<window_type::triangular>::typetypedefwindow_by_type<window_type::bartlett>::typetypedefwindow_by_type<window_type::cosine>::typetypedefwindow_by_type<window_type::hann>::typetypedefwindow_by_type<window_type::bartlett_hann>::typetypedefwindow_by_type<window_type::hamming>::typetypedefwindow_by_type<window_type::bohman>::typetypedefwindow_by_type<window_type::blackman>::typetypedefwindow_by_type<window_type::blackman_harris>::typetypedefwindow_by_type<window_type::kaiser>::typetypedefwindow_by_type<window_type::flattop>::typetypedefwindow_by_type<window_type::gaussian>::typetypedefwindow_by_type<window_type::lanczos>::typetypedefwindow_by_type<window_type::cosine_np>::typetypedefwindow_by_type<window_type::planck_taper>::typetypedefwindow_by_type<window_type::tukey>::type
U¶
functionunitimpulse() Returns expression template that generates a unit impulsefunctionupsample2(E1 &&) Upsamples a signal by a factor of 2 by inserting zero samples.functionupsample4(E1 &&) Upsamples a signal by a factor of 4 by inserting zero samples.
V¶
typedefexpression_window<T>::value_typetypedefexpression_iir_l<filters, T, E1, Stateless>::value_typetypedefexpression_iir<filters, T, E1, Stateless>::value_typetypedefexpression_short_fir<tapcount, T, U, E1, stateless>::value_typetypedefexpression_fir<T, U, E1, stateless>::value_typetypedefexpression_moving_sum<U, E1, STag, stateless>::value_typetypedefexpression_delay<delay, E, stateless, STag>::value_typetypedefexpression_delay<1, E, stateless, STag>::value_typetypedefexpression_goertzel<T>::value_typetypedefexpression_parallel_goertzel<T, width>::value_type
W¶
functionwaveshaper_hardclip(E1 &&, double) Hard-clipping waveshaper.functionwaveshaper_poly(E1 &&, fbase, fbase, Cs...) Polynomial (odd-only) waveshaper using Horner evaluation.functionwaveshaper_saturate_I(E1 &&, double) Waveshaper based on the type-I saturation curve.functionwaveshaper_saturate_II(E1 &&, double) Waveshaper based on the type-II saturation curve.functionwaveshaper_tanh(E1 &&, double) Hyperbolic-tangent waveshaper.functionwindow_bartlett_hann(size_t, ctype_t<T>) Returns template expression that generates a Bartlett-Hann window of lengthsizefunctionwindow_bartlett(size_t, ctype_t<T>) Returns template expression that generates a Bartlett window of lengthsizefunctionwindow_blackman_harris(size_t, window_symmetry, ctype_t<T>) Returns template expression that generates a Blackman-Harris window of lengthsizefunctionwindow_blackman(size_t, std::type_identity_t<T>, window_symmetry, ctype_t<T>) Returns template expression that generates a Blackman window of lengthsizewhere α =alphafunctionwindow_bohman(size_t, ctype_t<T>) Returns template expression that generates a Bohman window of lengthsizeclasswindow_by_type<window_type> Type trait mapping a window_type to its corresponding expression typestructwindow_by_type<window_type::bartlett>structwindow_by_type<window_type::bartlett_hann>structwindow_by_type<window_type::blackman>structwindow_by_type<window_type::blackman_harris>structwindow_by_type<window_type::bohman>structwindow_by_type<window_type::cosine>structwindow_by_type<window_type::cosine_np>structwindow_by_type<window_type::flattop>structwindow_by_type<window_type::gaussian>structwindow_by_type<window_type::hamming>structwindow_by_type<window_type::hann>structwindow_by_type<window_type::kaiser>structwindow_by_type<window_type::lanczos>structwindow_by_type<window_type::planck_taper>structwindow_by_type<window_type::rectangular>structwindow_by_type<window_type::triangular>structwindow_by_type<window_type::tukey>functionwindow_cosine_np(size_t, ctype_t<T>) Returns template expression that generates a cosine window (numpy compatible) of lengthsizefunctionwindow_cosine(size_t, ctype_t<T>) Returns template expression that generates a cosine window of lengthsizefunctionwindow_flattop(size_t, ctype_t<T>) Returns template expression that generates a flat-top window of lengthsizefunctionwindow_gaussian(size_t, std::type_identity_t<T>, ctype_t<T>) Returns template expression that generates a Gaussian window of lengthsizewhere α =alphafunctionwindow_hamming(size_t, std::type_identity_t<T>, ctype_t<T>) Returns template expression that generates a Hamming window of lengthsizewhere α =alphafunctionwindow_hann(size_t, ctype_t<T>) Returns template expression that generates a Hann window of lengthsizefunctionwindow_kaiser(size_t, std::type_identity_t<T>, ctype_t<T>) Returns template expression that generates a Kaiser window of lengthsizewhere β =betafunctionwindow_lanczos(size_t, ctype_t<T>) Returns template expression that generates a Lanczos window of lengthsizeclasswindow_linspace<T> Linspace expression specialized for window abscissa generationconstructorwindow_linspace<T>::window_linspace<T>(cval_t<window_metrics, window_metrics::metrics_0_1>, size_t, window_symmetry)constructorwindow_linspace<T>::window_linspace<T>(cval_t<window_metrics, window_metrics::metrics_m1_1_trunc2>, size_t, window_symmetry)constructorwindow_linspace<T>::window_linspace<T>(cval_t<window_metrics, window_metrics::metrics_m1_1_trunc>, size_t, window_symmetry)constructorwindow_linspace<T>::window_linspace<T>(cval_t<window_metrics, window_metrics::metrics_m1_1>, size_t, window_symmetry)constructorwindow_linspace<T>::window_linspace<T>(cval_t<window_metrics, window_metrics::metrics_mpi_pi>, size_t, window_symmetry)enumwindow_metrics Selects the abscissa range and endpoint handling used by window expressionsfunctionsamplerate_converter<T>::window_param(fbase)functionsamplerate_converter<T>::window_param(sample_rate_conversion_quality) Computes the Kaiser window parameter for a given quality level.functionwindow_planck_taper(size_t, std::type_identity_t<T>, window_symmetry, ctype_t<T>) Returns template expression that generates a Planck-taper window of lengthsizefunctionwindow_rectangular(size_t, ctype_t<T>) Returns template expression that generates a rectangular window of lengthsizeenumwindow_symmetry Window symmetry modefunctionwindow_triangular(size_t, ctype_t<T>) Returns template expression that generates a triangular window of lengthsizefunctionwindow_tukey(size_t, std::type_identity_t<T>, window_symmetry, ctype_t<T>) Returns template expression that generates a Tukey window of lengthsize(numpy compatible)enumwindow_type Window function types supported by KFRfunctionsamplerate_converter<T>::window(fbase) Computes the Kaiser window function for a given sample position.functionwindow(size_t, cval_t<window_type, type>, std::type_identity_t<T>, window_symmetry, ctype_t<T>) Returns a window expression of the requested compile-time typefunctionwindow(size_t, window_type, std::type_identity_t<T>, window_symmetry, ctype_t<T>) Returns a type-erased window expression of the requested runtime type
Z¶
This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.