#include <OperatorModule.h>
Inheritance diagram for syn::OperatorModule:
Public Methods | |
OperatorModule () | |
virtual | ~OperatorModule () |
virtual void | update () |
virtual bool | open () |
open the stream and set the audio format of this module read from the stream(s) by getting the right output terminal. More... | |
virtual bool | isOpen () |
virtual void | close () |
virtual Module* | clone () const |
get an exact copy of me. More... | |
void | setConstant (float constant) |
when only one input is attached, use this scalar value in place of the missing input terminal. More... | |
float | constant () const |
get the constant. More... | |
parameter access | |
virtual void | getParam (const std::string &key, MultivariateType &value) |
a way to get module params without knowing the real funcs. More... | |
virtual void | setParam (const std::string &key, const MultivariateType &value) |
a way to set module params without knowing the real funcs. More... |
There are a few predefined operators you can use:
can also modify a single input with a scalar value. The operator operates on the two inputs in this way:
Definition at line 61 of file OperatorModule.h.
|
Definition at line 64 of file OperatorModule.h. |
|
Definition at line 75 of file OperatorModule.h. |
|
Reimplemented from syn::Module. Definition at line 141 of file OperatorModule.h. |
|
open the stream and set the audio format of this module read from the stream(s) by getting the right output terminal.
Reimplemented from syn::Module. Definition at line 77 of file OperatorModule.h. |
|
Definition at line 78 of file OperatorModule.h. |
|
Reimplemented from syn::Module. Definition at line 79 of file OperatorModule.h. |
|
get an exact copy of me.
Reimplemented from syn::Module. Definition at line 84 of file OperatorModule.h. |
|
when only one input is attached, use this scalar value in place of the missing input terminal.
Definition at line 94 of file OperatorModule.h. Referenced by setParam().
|
|
get the constant.
Definition at line 100 of file OperatorModule.h. |
|
a way to get module params without knowing the real funcs.
Reimplemented from syn::Module. Definition at line 105 of file OperatorModule.h. |
|
a way to set module params without knowing the real funcs.
Reimplemented from syn::Module. Definition at line 112 of file OperatorModule.h. |