sfFDN
Loading...
Searching...
No Matches
sfFDN::TimeVaryingSchroederAllpassSection Class Reference

A single-channel section of energy-preserving time-varying Schroeder allpasses. More...

#include <schroeder_allpass.h>

Inheritance diagram for sfFDN::TimeVaryingSchroederAllpassSection:
[legend]
Collaboration diagram for sfFDN::TimeVaryingSchroederAllpassSection:
[legend]

Public Member Functions

 TimeVaryingSchroederAllpassSection (const TimeVaryingSchroederAllpassSectionOptions &config)
 Constructs a section from its stage configurations.
 
 TimeVaryingSchroederAllpassSection (const TimeVaryingSchroederAllpassSection &)=default
 
TimeVaryingSchroederAllpassSectionoperator= (const TimeVaryingSchroederAllpassSection &)=default
 
 TimeVaryingSchroederAllpassSection (TimeVaryingSchroederAllpassSection &&) noexcept=default
 
TimeVaryingSchroederAllpassSectionoperator= (TimeVaryingSchroederAllpassSection &&) noexcept=default
 
void Process (const AudioBuffer &input, AudioBuffer &output) noexcept SFFDN_NONBLOCKING override
 Process audio buffers.
 
uint32_t InputChannelCount () const noexcept SFFDN_NONBLOCKING override
 Returns the number of input channels this processor expects.
 
uint32_t OutputChannelCount () const noexcept SFFDN_NONBLOCKING override
 Returns the number of output channels this processor produces.
 
void Clear () override
 Clears the internal state of the processor.
 
std::unique_ptr< AudioProcessorClone () const override
 Creates a copy of the audio processor.
 
- Public Member Functions inherited from sfFDN::AudioProcessor

Additional Inherited Members

- Protected Member Functions inherited from sfFDN::AudioProcessor
 AudioProcessor (const AudioProcessor &)=default
 
AudioProcessoroperator= (const AudioProcessor &)=default
 
 AudioProcessor (AudioProcessor &&) noexcept=default
 
AudioProcessoroperator= (AudioProcessor &&) noexcept=default
 

Detailed Description

A single-channel section of energy-preserving time-varying Schroeder allpasses.

Constructor & Destructor Documentation

◆ TimeVaryingSchroederAllpassSection()

sfFDN::TimeVaryingSchroederAllpassSection::TimeVaryingSchroederAllpassSection ( const TimeVaryingSchroederAllpassSectionOptions & config)
explicit

Constructs a section from its stage configurations.

Exceptions
std::invalid_argumentif stage counts, delays, gains, or modulation ranges are invalid.

Member Function Documentation

◆ Clear()

void sfFDN::TimeVaryingSchroederAllpassSection::Clear ( )
overridevirtual

Clears the internal state of the processor.

This function should reset any internal buffers or states used by the processor without changing its configuration. For example, calling Clear() on an IIR filter should set its internal state to 0 while keeping its coefficients intact.

Implements sfFDN::AudioProcessor.

◆ Clone()

std::unique_ptr< AudioProcessor > sfFDN::TimeVaryingSchroederAllpassSection::Clone ( ) const
overridevirtual

Creates a copy of the audio processor.

Returns
A unique pointer to the cloned audio processor.

Implements sfFDN::AudioProcessor.

◆ InputChannelCount()

uint32_t sfFDN::TimeVaryingSchroederAllpassSection::InputChannelCount ( ) const
overridevirtualnoexcept

Returns the number of input channels this processor expects.

Implements sfFDN::AudioProcessor.

◆ OutputChannelCount()

uint32_t sfFDN::TimeVaryingSchroederAllpassSection::OutputChannelCount ( ) const
overridevirtualnoexcept

Returns the number of output channels this processor produces.

Implements sfFDN::AudioProcessor.

◆ Process()

void sfFDN::TimeVaryingSchroederAllpassSection::Process ( const AudioBuffer & input,
AudioBuffer & output )
overridevirtualnoexcept

Process audio buffers.

Parameters
inputThe input audio buffer.
outputThe output audio buffer.

Implements sfFDN::AudioProcessor.


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