|
virtual void | buttonChanged (PatchButtonId bid, uint16_t value, uint16_t samples) |
|
AudioBuffer * | createMemoryBuffer (int channels, int samples) |
|
virtual void | encoderChanged (PatchParameterId pid, int16_t delta, uint16_t samples) |
|
int | getBlockSize () |
|
float | getElapsedBlockTime () |
|
int | getElapsedCycles () |
|
FloatParameter | getFloatParameter (const char *name, float min, float max, float defaultValue=0.0f, float lambda=0.0f, float delta=0.0, float skew=LIN) |
|
IntParameter | getIntParameter (const char *name, int min, int max, int defaultValue=0, float lambda=0.0f, float delta=0.0, float skew=LIN) |
|
int | getNumberOfChannels () |
|
FloatParameter | getParameter (const char *name, float defaultValue) |
|
float | getParameterValue (PatchParameterId pid) |
|
float | getSampleRate () |
|
int | getSamplesSinceButtonPressed (PatchButtonId bid) |
|
bool | isButtonPressed (PatchButtonId bid) |
|
| Patch () |
|
virtual void | processAudio (AudioBuffer &audio)=0 |
|
void | registerParameter (PatchParameterId pid, const char *name) |
|
void | registerParameter (PatchParameterId pid, const char *name, const char *desc) |
|
void | setButton (PatchButtonId bid, uint16_t value, uint16_t samples=0) |
|
void | setParameterValue (PatchParameterId pid, float value) |
|
virtual | ~Patch () |
|
|
static const float | EXP = 0.5 |
| constant skew values for exponential, linear and logarithmic parameters More...
|
|
static const float | LIN = 1.0 |
|
static const float | LOG = 2.0 |
|
static const uint16_t | OFF = 0 |
|
static const uint16_t | ON = 4095 |
|
Definition at line 30 of file Patch.h.
virtual void Patch::buttonChanged |
( |
PatchButtonId |
bid, |
|
|
uint16_t |
value, |
|
|
uint16_t |
samples |
|
) |
| |
|
inlinevirtual |
AudioBuffer * Patch::createMemoryBuffer |
( |
int |
channels, |
|
|
int |
samples |
|
) |
| |
virtual void Patch::encoderChanged |
( |
PatchParameterId |
pid, |
|
|
int16_t |
delta, |
|
|
uint16_t |
samples |
|
) |
| |
|
inlinevirtual |
int Patch::getBlockSize |
( |
| ) |
|
float Patch::getElapsedBlockTime |
( |
| ) |
|
int Patch::getElapsedCycles |
( |
| ) |
|
FloatParameter Patch::getFloatParameter |
( |
const char * |
name, |
|
|
float |
min, |
|
|
float |
max, |
|
|
float |
defaultValue = 0.0f , |
|
|
float |
lambda = 0.0f , |
|
|
float |
delta = 0.0 , |
|
|
float |
skew = LIN |
|
) |
| |
IntParameter Patch::getIntParameter |
( |
const char * |
name, |
|
|
int |
min, |
|
|
int |
max, |
|
|
int |
defaultValue = 0 , |
|
|
float |
lambda = 0.0f , |
|
|
float |
delta = 0.0 , |
|
|
float |
skew = LIN |
|
) |
| |
int Patch::getNumberOfChannels |
( |
| ) |
|
FloatParameter Patch::getParameter |
( |
const char * |
name, |
|
|
float |
defaultValue |
|
) |
| |
float Patch::getSampleRate |
( |
| ) |
|
virtual void Patch::processAudio |
( |
AudioBuffer & |
audio | ) |
|
|
pure virtual |
void Patch::registerParameter |
( |
PatchParameterId |
pid, |
|
|
const char * |
name, |
|
|
const char * |
desc |
|
) |
| |
|
inline |
void Patch::setButton |
( |
PatchButtonId |
bid, |
|
|
uint16_t |
value, |
|
|
uint16_t |
samples = 0 |
|
) |
| |
const float Patch::EXP = 0.5 |
|
static |
constant skew values for exponential, linear and logarithmic parameters
Definition at line 35 of file Patch.h.
const float Patch::LIN = 1.0 |
|
static |
const float Patch::LOG = 2.0 |
|
static |
const uint16_t Patch::OFF = 0 |
|
static |
const uint16_t Patch::ON = 4095 |
|
static |
The documentation for this class was generated from the following files: