Component capable of altering samples in some way.
More...
#include <synthclone/effect.h>
Component capable of altering samples in some way.
◆ Effect()
synthclone::Effect::Effect |
( |
const QString & |
name, |
|
|
QObject * |
parent = 0 |
|
) |
| |
|
explicitprotected |
Constructs a new Effect object.
This constructor cannot be called directly; instead, subclasses should call this constructor in their constructors.
- Parameters
-
name | The initial name for the effect. |
parent | The parent object of the effect. |
◆ ~Effect()
virtual synthclone::Effect::~Effect |
( |
| ) |
|
|
protectedvirtual |
◆ process()
Called to apply this Effect to audio data.
The Component::progressChanged() and Component::statusChanged() signals should be used to indicate progress in applying the Effect.
- Parameters
-
zone | The Zone for which the Effect is being applied. An Effect can use the Zone with its ZonePropertyMap to get ZoneProperty values that are specific to the zone. |
inputStream | Contains the audio data to which this Effect should be applied. |
outputStream | Processed audio data is written to this stream. |
- Note
- This method will not be called by the main thread. Effect processing is handled in a separate thread in an attempt to make sure that the GUI is responsive even when effects are being applied.
The documentation for this class was generated from the following file: