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

#include <AttenuationModule.h>

Inheritance diagram for AudioDataLib::AttenuationModule:
AudioDataLib::SynthModule

Public Member Functions

 AttenuationModule ()
 
virtual ~AttenuationModule ()
 
virtual bool GenerateSound (double durationSeconds, double samplesPerSecond, WaveForm &waveForm, SynthModule *callingModule, Error &error) override
 
virtual bool MoreSoundAvailable () override
 
void SetAttenuationFunction (Function *function)
 
FunctionGetAttenuationFunction ()
 
void TriggerFallOff ()
 
- 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

◆ AttenuationModule()

AttenuationModule::AttenuationModule ( )

◆ ~AttenuationModule()

AttenuationModule::~AttenuationModule ( )
virtual

Member Function Documentation

◆ GenerateSound()

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

◆ GetAttenuationFunction()

Function * AudioDataLib::AttenuationModule::GetAttenuationFunction ( )
inline

◆ MoreSoundAvailable()

bool AttenuationModule::MoreSoundAvailable ( )
overridevirtual

Reimplemented from AudioDataLib::SynthModule.

◆ SetAttenuationFunction()

void AttenuationModule::SetAttenuationFunction ( Function * function)

◆ TriggerFallOff()

void AttenuationModule::TriggerFallOff ( )

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