|
LMMS
|
#include <audio_fx.h>
Public Member Functions | |
| simple_lfo () | |
| void | set_params (float f, int m, float o, uint32_t sr, float amount=1.f, float pwidth=1.f) |
| void | set_freq (float f) |
| void | set_mode (int m) |
| void | set_amount (float a) |
| void | set_offset (float o) |
| void | set_pwidth (float p) |
| float | get_value () |
| void | advance (uint32_t count) |
| void | set_phase (float ph) |
| void | activate () |
| void | deactivate () |
| float | get_value_from_phase (float ph) const |
| bool | get_graph (float *data, int points, calf_plugins::cairo_iface *context, int *mode) const |
| bool | get_dot (float &x, float &y, int &size, calf_plugins::cairo_iface *context) const |
Private Attributes | |
| float | phase |
| float | freq |
| float | offset |
| float | amount |
| float | pwidth |
| int | mode |
| uint32_t | srate |
| bool | is_active |
LFO module by Markus This module provides simple LFO's (sine=0, triangle=1, square=2, saw_up=3, saw_down=4) get_value() returns a value between -1 and 1
| simple_lfo::simple_lfo | ( | ) |
| void simple_lfo::activate | ( | ) |
| void simple_lfo::deactivate | ( | ) |
| bool simple_lfo::get_dot | ( | float & | x, |
| float & | y, | ||
| int & | size, | ||
| calf_plugins::cairo_iface * | context ) const |
| bool simple_lfo::get_graph | ( | float * | data, |
| int | points, | ||
| calf_plugins::cairo_iface * | context, | ||
| int * | mode ) const |
| float simple_lfo::get_value | ( | ) |
| float simple_lfo::get_value_from_phase | ( | float | ph | ) | const |
| void simple_lfo::set_amount | ( | float | a | ) |
| void simple_lfo::set_freq | ( | float | f | ) |
| void simple_lfo::set_offset | ( | float | o | ) |
| void simple_lfo::set_params | ( | float | f, |
| int | m, | ||
| float | o, | ||
| uint32_t | sr, | ||
| float | amount = 1.f, | ||
| float | pwidth = 1.f ) |
| void simple_lfo::set_phase | ( | float | ph | ) |
| void simple_lfo::set_pwidth | ( | float | p | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |