AudioDataLib
A C++ library of classes supporting a variety of audio-data tasks.
Loading...
Searching...
No Matches
AudioDataLib::DelayModule Class Reference

#include <DelayModule.h>

Inheritance diagram for AudioDataLib::DelayModule:
AudioDataLib::SynthModule

Public Member Functions

 DelayModule ()
 
virtual ~DelayModule ()
 
virtual bool GenerateSound (double durationSeconds, double samplesPerSecond, WaveForm &waveForm, SynthModule *callingModule, Error &error) override
 
virtual bool MoreSoundAvailable () override
 
void SetDelay (double delaySeconds)
 
double GetDelay () const
 
- Public Member Functions inherited from AudioDataLib::SynthModule
 SynthModule ()
 
virtual ~SynthModule ()
 
void AddDependentModule (std::shared_ptr< SynthModule > synthModule)
 
std::shared_ptr< SynthModuleGetDependentModule (uint32_t i)
 
uint32_t GetNumDependentModules () const
 
void PruneDeadBranches ()
 
void Clear ()
 
template<typename T >
T * FindModule ()
 

Additional Inherited Members

- Protected Attributes inherited from AudioDataLib::SynthModule
std::vector< std::shared_ptr< SynthModule > > * dependentModulesArray
 

Constructor & Destructor Documentation

◆ DelayModule()

DelayModule::DelayModule ( )

◆ ~DelayModule()

DelayModule::~DelayModule ( )
virtual

Member Function Documentation

◆ GenerateSound()

bool DelayModule::GenerateSound ( double durationSeconds,
double samplesPerSecond,
WaveForm & waveForm,
SynthModule * callingModule,
Error & error )
overridevirtual

◆ GetDelay()

double AudioDataLib::DelayModule::GetDelay ( ) const
inline

◆ MoreSoundAvailable()

bool DelayModule::MoreSoundAvailable ( )
overridevirtual

Reimplemented from AudioDataLib::SynthModule.

◆ SetDelay()

void AudioDataLib::DelayModule::SetDelay ( double delaySeconds)
inline

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