|
ape
0.5.0
Audio Programming Environment
|
Go to the documentation of this file. 1 #ifndef CPPAPE_GENERATOR_H
2 #define CPPAPE_GENERATOR_H
68 template<
class TGenerator>
73 static_assert(std::is_base_of<Generator, TGenerator>::value || std::is_base_of<TransportGenerator, TGenerator>::value,
"Embedded generators must derive from a generator");
77 this->
processor.processFrames(buffer, buffer, frames);
TGenerator processor
Definition: processor.h:358
TransportGenerator()
Definition: generator.h:44
A container representing a 2d rectangular array (and can be used syntactically like one)....
Definition: misc.h:212
A utility class to embed another Generator inside your own. It takes care of initialization....
Definition: generator.h:69
Generator()
Definition: generator.h:19
virtual void process(umatrix< float > buffer, size_t frames)
Override this to emit sound.
Definition: generator.h:50
Definition: audiofile.h:7
virtual void process(umatrix< float > buffer, size_t frames)
Override this to emit sound.
Definition: generator.h:25
A Processor with additional access to the transport / playhead of the host.
Definition: processor.h:206
void process(umatrix< float > buffer, size_t frames)
Definition: generator.h:75
A generator is a processor that only creates sounds (so it has no inputs). GlobalData,...
Definition: generator.h:15
Definition: processor.h:41
Class for easily embedding processors within your processor. Base functionality for EmbeddedEffect an...
Definition: processor.h:280
A generator is a processor that only creates sounds (so it has no inputs). GlobalData,...
Definition: generator.h:40