|
LMMS
|
#include <audio_fx.h>
Public Member Functions | |
| tap_distortion () | |
| void | activate () |
| void | deactivate () |
| void | set_params (float blend, float drive) |
| void | set_sample_rate (uint32_t sr) |
| float | process (float in) |
| float | get_distortion_level () |
Static Public Member Functions | |
| static float | M (float x) |
| static float | D (float x) |
Public Attributes | |
| uint32_t | srate |
| bool | is_active |
Private Attributes | |
| float | blend_old |
| float | drive_old |
| float | meter |
| float | rdrive |
| float | rbdr |
| float | kpa |
| float | kpb |
| float | kna |
| float | knb |
| float | ap |
| float | an |
| float | imr |
| float | kc |
| float | srct |
| float | sq |
| float | pwrq |
| int | over |
| float | prev_med |
| float | prev_out |
| resampleN | resampler |
Tom Szilagyi's distortion code, used with permission KF: I'm not 100% sure how this is supposed to work, but it does. I'm planning to rewrite it using more modular approach when I have more time.
| tap_distortion::tap_distortion | ( | ) |
Distortion Module by Tom Szilagyi
This module provides a blendable saturation stage
| void tap_distortion::activate | ( | ) |
|
inlinestatic |
| void tap_distortion::deactivate | ( | ) |
| float tap_distortion::get_distortion_level | ( | ) |
|
inlinestatic |
| float tap_distortion::process | ( | float | in | ) |
| void tap_distortion::set_params | ( | float | blend, |
| float | drive ) |
|
private |
|
private |
|
private |
|
private |
|
private |
| bool dsp::tap_distortion::is_active |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
| uint32_t dsp::tap_distortion::srate |
|
private |