ofxPDSP
|
FM operator based on a wavetable sine. More...
#include <FMOperator.h>
Public Member Functions | |
FMOperator (const FMOperator &Other) | |
FMOperator & | operator= (const FMOperator &Other) |
Patchable & | in_fm () |
Sets "fm" as selected input and returns this module ready to be patched. This is the default input. This is the operator fm input, we say "FM" but it's really phase-modulation. I suggest keeping the total input signal in the [-4.0f 4.0f] range. | |
Patchable & | in_pitch () |
Sets "pitch" as selected input and returns this module ready to be patched. This is the operator pitch input. | |
Patchable & | in_ratio () |
Sets "ratio" as selected input and returns this module ready to be patched. This is the operator ratio in respect to in_pitch() | |
Patchable & | in_fb () |
Sets "fb" as selected input and returns this module ready to be patched. This is the operator FM-feedback input. | |
Patchable & | in_sync () |
Sets "sync" as selected input and returns this module ready to be patched. This is the operator oscillator sync input, you have to patch an out_sync to this for slaving this operator to anoter oscillator clock. | |
Patchable & | out_signal () |
Sets "signal" as selected output and returns this Unit ready to be patched. This is the default output. This is the operator waveform output. | |
Patchable & | out_sync () |
Sets "sync" as selected output and returns this Unit ready to be patched. This is the operator oscillator sync output, you can connect it to an in_sync() for slaving another oscillator to this. | |
float | meter_pitch () const |
meters the oscillator pitch. This method is thread-safe. | |
Public Member Functions inherited from pdsp::Patchable | |
void | resetInputToDefault () |
resets the selected input to the default. | |
void | resetOutputToDefault () |
resets the selected output to the default. | |
Patchable & | in (const char *tag) |
sets the selected input to the one tagged with "tag", if tag is a valid string, and returns this Patchable ready to be patched. More... | |
Patchable & | out (const char *tag) |
sets the selected output to the one tagged with "tag", if tag is a valid string, and returns this Patchable ready to be patched. More... | |
void | disconnectIn () |
disconnects all the outputs connected to the selected input, then resets the selected input to the default. | |
void | disconnectOut () |
disconnects all the inputs connected to the selected output, then resets the selected output to the default. | |
void | disconnectAll () |
disconnects all the inputs and outputs to their connected outputs and inputs. Also resets the selected input and output to the default. | |
InputNode & | getSelectedInput () |
returns the selected input, you can patch a Patchable or OutputNode to it with the >> operator. | |
OutputNode & | getSelectedOutput () |
returns the selected output, you can patch it to another Patchable or InputNode with the >> operator. | |
std::vector< std::string > | getInputsList () |
returns a vector of the valid input tags | |
std::vector< std::string > | getOutputsList () |
returns a vector of the valid input tags | |
Additional Inherited Members | |
Protected Member Functions inherited from pdsp::Patchable | |
void | addOutput (const char *tag, OutputNode &output) |
method to add outputs when constructing a Unit More... | |
void | addInput (const char *tag, InputNode &input) |
method to add inputs when constructing a Unit More... | |
void | addModuleOutput (const char *tag, Patchable &unit) |
method to add outputs when constructing a module More... | |
void | addModuleInput (const char *tag, Patchable &unit) |
method to add outputs when constructing a module More... | |
FM operator based on a wavetable sine.