LMMS
Loading...
Searching...
No Matches
tap_rotspeak.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ladspa.h>
#include "tap_platform.h"
#include "tap_utils.h"

Classes

struct  RotSpkr

Macros

#define ID_STEREO   2149
#define BASSFREQ   0
#define HORNFREQ   1
#define STWIDTH   2
#define HRBAL   3
#define LATENCY   4
#define INPUT_L   5
#define INPUT_R   6
#define OUTPUT_L   7
#define OUTPUT_R   8
#define PORTCOUNT_STEREO   9
#define PM_DEPTH   9200
#define PM_FREQ   30.0f
#define SPLIT_FREQ   1000.0f
#define SPLIT_BW   1.0f
#define C_AIR   340.0f
#define FREQ_PITCH   1.6f

Functions

void cleanup_RotSpkr (LADSPA_Handle Instance)
LADSPA_Handle instantiate_RotSpkr (const LADSPA_Descriptor *Descriptor, unsigned long sample_rate)
void activate_RotSpkr (LADSPA_Handle Instance)
void connect_port_RotSpkr (LADSPA_Handle Instance, unsigned long Port, LADSPA_Data *DataLocation)
void run_RotSpkr (LADSPA_Handle Instance, unsigned long SampleCount)
void set_run_adding_gain_RotSpkr (LADSPA_Handle Instance, LADSPA_Data gain)
void run_adding_RotSpkr (LADSPA_Handle Instance, unsigned long SampleCount)
void __CONSTRUCTOR tap_init ()
void delete_descriptor (LADSPA_Descriptor *descriptor)
void __DESTRUCTOR tap_fini ()
const LADSPA_Descriptorladspa_descriptor (unsigned long Index)
 __INIT_FINI (tap_init, tap_fini)

Variables

LADSPA_Data cos_table [1024]
LADSPA_Descriptorstereo_descriptor = NULL

Macro Definition Documentation

◆ BASSFREQ

#define BASSFREQ   0

◆ C_AIR

#define C_AIR   340.0f

◆ FREQ_PITCH

#define FREQ_PITCH   1.6f

◆ HORNFREQ

#define HORNFREQ   1

◆ HRBAL

#define HRBAL   3

◆ ID_STEREO

#define ID_STEREO   2149

◆ INPUT_L

#define INPUT_L   5

◆ INPUT_R

#define INPUT_R   6

◆ LATENCY

#define LATENCY   4

◆ OUTPUT_L

#define OUTPUT_L   7

◆ OUTPUT_R

#define OUTPUT_R   8

◆ PM_DEPTH

#define PM_DEPTH   9200

◆ PM_FREQ

#define PM_FREQ   30.0f

◆ PORTCOUNT_STEREO

#define PORTCOUNT_STEREO   9

◆ SPLIT_BW

#define SPLIT_BW   1.0f

◆ SPLIT_FREQ

#define SPLIT_FREQ   1000.0f

◆ STWIDTH

#define STWIDTH   2

Function Documentation

◆ __INIT_FINI()

__INIT_FINI ( tap_init ,
tap_fini  )

◆ activate_RotSpkr()

void activate_RotSpkr ( LADSPA_Handle Instance)

◆ cleanup_RotSpkr()

void cleanup_RotSpkr ( LADSPA_Handle Instance)

◆ connect_port_RotSpkr()

void connect_port_RotSpkr ( LADSPA_Handle Instance,
unsigned long Port,
LADSPA_Data * DataLocation )

◆ delete_descriptor()

void delete_descriptor ( LADSPA_Descriptor * descriptor)

◆ instantiate_RotSpkr()

LADSPA_Handle instantiate_RotSpkr ( const LADSPA_Descriptor * Descriptor,
unsigned long sample_rate )

◆ ladspa_descriptor()

const LADSPA_Descriptor * ladspa_descriptor ( unsigned long Index)

◆ run_adding_RotSpkr()

void run_adding_RotSpkr ( LADSPA_Handle Instance,
unsigned long SampleCount )

◆ run_RotSpkr()

void run_RotSpkr ( LADSPA_Handle Instance,
unsigned long SampleCount )

◆ set_run_adding_gain_RotSpkr()

void set_run_adding_gain_RotSpkr ( LADSPA_Handle Instance,
LADSPA_Data gain )

◆ tap_fini()

void __DESTRUCTOR tap_fini ( )

◆ tap_init()

void __CONSTRUCTOR tap_init ( )

Variable Documentation

◆ cos_table

LADSPA_Data cos_table[1024]

◆ stereo_descriptor

LADSPA_Descriptor* stereo_descriptor = NULL