|
ape
0.5.0
Audio Programming Environment
|
A generator is a processor that only creates sounds (so it has no inputs).
#include <generator.h>
Protected Member Functions | |
| Generator () | |
| virtual void | process (umatrix< float > buffer, size_t frames) |
| Override this to emit sound. More... | |
Protected Member Functions inherited from ape::Processor | |
| Processor () | |
| virtual void | processingHook () |
| Internal use only More... | |
| void | setTriggeringChannel (int channel) |
| Request the oscilloscope to trigger on a specific channel (default is the first output channel from the plugin). More... | |
| void | defaultProcess (umatrix< const float > inputs, umatrix< float > outputs, size_t frames) |
Copy the number of shared channels from inputs to outputs , clearing any extra outputs in outputs .
| |
| virtual void | start (const IOConfig &config) |
| Start processing with a certain configuration. Resources can be allocated here. More... | |
| virtual void | stop () |
| Stop processing. Here's a good place to release any large resources. More... | |
Additional Inherited Members | |
Public Member Functions inherited from ape::Processor | |
| void | init () |
| Called after every constructor in the inheritance chain has run More... | |
| void | close () |
| Called just before any destructor is run. More... | |
| void | processFrames (umatrix< const float > inputs, umatrix< float > outputs, size_t frames) |
| Trigger processing of the inputs into the outputs .
More... | |
| virtual Status | onEvent (Event *e) |
| Send an event to this processor. More... | |
| virtual | ~Processor () |
| Polymorphically destruct this processor More... | |
| const IOConfig & | config () const |
| Return the configuration this processor is initialized with. More... | |
| std::size_t | sharedChannels () const noexcept |
| Returns the minimum number of shared channels between inputs and outputs. More... | |
A generator is a processor that only creates sounds (so it has no inputs).
|
inlineprotected |
|
inlineprotectedvirtual |
Override this to emit sound.
| frames | The number of sample frames to be processed. |
1.8.16