|
LMMS
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include <ladspa.h>#include "tap_platform.h"#include "tap_utils.h"Classes | |
| struct | ChorusFlanger |
Macros | |
| #define | ID_STEREO 2159 |
| #define | FREQ 0 |
| #define | PHASE 1 |
| #define | DEPTH 2 |
| #define | DELAY 3 |
| #define | CONTOUR 4 |
| #define | DRYLEVEL 5 |
| #define | WETLEVEL 6 |
| #define | INPUT_L 7 |
| #define | INPUT_R 8 |
| #define | OUTPUT_L 9 |
| #define | OUTPUT_R 10 |
| #define | PORTCOUNT_STEREO 11 |
| #define | DEPTH_BUFLEN 450 |
| #define | DELAY_BUFLEN 19200 |
| #define | MAX_FREQ 5.0f |
| #define | HP_BW 1 |
| #define | COS_TABLE_SIZE 1024 |
Functions | |
| LADSPA_Handle | instantiate_ChorusFlanger (const LADSPA_Descriptor *Descriptor, unsigned long sample_rate) |
| void | activate_ChorusFlanger (LADSPA_Handle Instance) |
| void | connect_port_ChorusFlanger (LADSPA_Handle Instance, unsigned long Port, LADSPA_Data *data) |
| void | run_ChorusFlanger (LADSPA_Handle Instance, unsigned long SampleCount) |
| void | set_run_adding_gain_ChorusFlanger (LADSPA_Handle Instance, LADSPA_Data gain) |
| void | run_adding_ChorusFlanger (LADSPA_Handle Instance, unsigned long SampleCount) |
| void | cleanup_ChorusFlanger (LADSPA_Handle Instance) |
| void __CONSTRUCTOR | tap_init () |
| void | delete_descriptor (LADSPA_Descriptor *descriptor) |
| void __DESTRUCTOR | tap_fini () |
| const LADSPA_Descriptor * | ladspa_descriptor (unsigned long Index) |
| __INIT_FINI (tap_init, tap_fini) | |
Variables | |
| LADSPA_Data | cos_table [COS_TABLE_SIZE] |
| LADSPA_Descriptor * | stereo_descriptor = NULL |
| #define CONTOUR 4 |
| #define COS_TABLE_SIZE 1024 |
| #define DELAY 3 |
| #define DELAY_BUFLEN 19200 |
| #define DEPTH 2 |
| #define DEPTH_BUFLEN 450 |
| #define DRYLEVEL 5 |
| #define FREQ 0 |
| #define HP_BW 1 |
| #define ID_STEREO 2159 |
| #define INPUT_L 7 |
| #define INPUT_R 8 |
| #define MAX_FREQ 5.0f |
| #define OUTPUT_L 9 |
| #define OUTPUT_R 10 |
| #define PHASE 1 |
| #define PORTCOUNT_STEREO 11 |
| #define WETLEVEL 6 |
| void activate_ChorusFlanger | ( | LADSPA_Handle | Instance | ) |
| void cleanup_ChorusFlanger | ( | LADSPA_Handle | Instance | ) |
| void connect_port_ChorusFlanger | ( | LADSPA_Handle | Instance, |
| unsigned long | Port, | ||
| LADSPA_Data * | data ) |
| void delete_descriptor | ( | LADSPA_Descriptor * | descriptor | ) |
| LADSPA_Handle instantiate_ChorusFlanger | ( | const LADSPA_Descriptor * | Descriptor, |
| unsigned long | sample_rate ) |
| const LADSPA_Descriptor * ladspa_descriptor | ( | unsigned long | Index | ) |
| void run_adding_ChorusFlanger | ( | LADSPA_Handle | Instance, |
| unsigned long | SampleCount ) |
| void run_ChorusFlanger | ( | LADSPA_Handle | Instance, |
| unsigned long | SampleCount ) |
| void set_run_adding_gain_ChorusFlanger | ( | LADSPA_Handle | Instance, |
| LADSPA_Data | gain ) |
| void __DESTRUCTOR tap_fini | ( | ) |
| void __CONSTRUCTOR tap_init | ( | ) |
| LADSPA_Data cos_table[COS_TABLE_SIZE] |
| LADSPA_Descriptor* stereo_descriptor = NULL |