ofxPDSP
|
Chorus loosely based on Roland Dimension C-D models. More...
#include <DimensionChorus.h>
Public Member Functions | |
DimensionChorus (const DimensionChorus &other) | |
DimensionChorus & | operator= (const DimensionChorus &other) |
Patchable & | ch (size_t index) |
Uses the selected channel as input/output for the patching operation. 0 is for the left channel (default input/output) and 1 is for the right channel. Index values outside of range are remapped to 0 or 1. More... | |
Patchable & | in_speed () |
Sets "speed" as selected input and returns this module ready to be patched. This is the chorus modulation rate in hertz. Init default value is 0.25hz. | |
Patchable & | in_depth () |
Sets "depth" as selected input and returns this module ready to be patched. This is the chorus (bipolar) modulation amount in milliseconds. Init default value is 10ms. | |
Patchable & | in_delay () |
Sets "delay" as selected input and returns this module ready to be patched. This is the chorus delay lines delay. Init default value is 80ms. | |
float | meter_lfo () const |
returns a value between -1.0f and 1.0f that rapresent the LFO output signal. 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... | |
Chorus loosely based on Roland Dimension C-D models.
pdsp::Patchable & pdsp::DimensionChorus::ch | ( | size_t | index | ) |
Uses the selected channel as input/output for the patching operation. 0 is for the left channel (default input/output) and 1 is for the right channel. Index values outside of range are remapped to 0 or 1.
[in] | index | channel index |