Amuse
|
#include <Submix.hpp>
Public Member Functions | |
Submix (Engine &engine, Submix *smx) | |
Submix * | getParentSubmix () |
template<class T , class... Args> | |
T & | makeEffect (Args...args) |
EffectChorus & | makeChorus (uint32_t baseDelay, uint32_t variation, uint32_t period) |
EffectDelay & | makeDelay (uint32_t initDelay, uint32_t initFeedback, uint32_t initOutput) |
EffectReverbStd & | makeReverbStd (float coloration, float mix, float time, float damping, float preDelay) |
EffectReverbHi & | makeReverbHi (float coloration, float mix, float time, float damping, float preDelay, float crosstalk) |
void | clearEffects () |
bool | canApplyEffect () const |
void | applyEffect (int16_t *audio, size_t frameCount, const ChannelMap &chanMap) const |
void | applyEffect (int32_t *audio, size_t frameCount, const ChannelMap &chanMap) const |
void | applyEffect (float *audio, size_t frameCount, const ChannelMap &chanMap) const |
Engine & | getEngine () |
Friends | |
class | Engine |
class | Voice |
class | Sequencer |
Intermediate mix of voices for applying auxiliary effects
Definition at line 20 of file Submix.hpp.
void amuse::Submix::applyEffect | ( | int16_t * | audio, |
size_t | frameCount, | ||
const ChannelMap & | chanMap | ||
) | const |
in/out transformation entry for audio effect
void amuse::Submix::applyEffect | ( | int32_t * | audio, |
size_t | frameCount, | ||
const ChannelMap & | chanMap | ||
) | const |
in/out transformation entry for audio effect
void amuse::Submix::applyEffect | ( | float * | audio, |
size_t | frameCount, | ||
const ChannelMap & | chanMap | ||
) | const |
in/out transformation entry for audio effect
|
inline |
Returns true when an effect callback is bound
Definition at line 91 of file Submix.hpp.
|
inline |
Remove and deallocate all effects from effect stack
Definition at line 88 of file Submix.hpp.
|
inline |
Obtain pointer to Submix's parent Submix
Definition at line 44 of file Submix.hpp.
EffectChorus& amuse::Submix::makeChorus | ( | uint32_t | baseDelay, |
uint32_t | variation, | ||
uint32_t | period | ||
) |
Add new chorus effect to effect stack and assume ownership
EffectDelay& amuse::Submix::makeDelay | ( | uint32_t | initDelay, |
uint32_t | initFeedback, | ||
uint32_t | initOutput | ||
) |
Add new delay effect to effect stack and assume ownership
|
inline |
Add new effect to effect stack and assume ownership
Definition at line 48 of file Submix.hpp.
EffectReverbHi& amuse::Submix::makeReverbHi | ( | float | coloration, |
float | mix, | ||
float | time, | ||
float | damping, | ||
float | preDelay, | ||
float | crosstalk | ||
) |
Add new high-quality reverb effect to effect stack and assume ownership
EffectReverbStd& amuse::Submix::makeReverbStd | ( | float | coloration, |
float | mix, | ||
float | time, | ||
float | damping, | ||
float | preDelay | ||
) |
Add new standard-quality reverb effect to effect stack and assume ownership