LMMS
Loading...
Searching...
No Matches
syndrum.cpp File Reference
#include <cmath>
#include <cstdlib>
#include "cmt.h"

Classes

class  SynDrum

Macros

#define PORT_OUT   0
#define PORT_TRIGGER   1
#define PORT_VELOCITY   2
#define PORT_FREQ   3
#define PORT_RESONANCE   4
#define PORT_RATIO   5
#define NUM_PORTS   6
#define PI   3.14159265358979

Functions

void initialise_syndrum ()

Variables

static LADSPA_PortDescriptor g_psPortDescriptors []
static const char *const g_psPortNames []
static LADSPA_PortRangeHint g_psPortRangeHints []

Macro Definition Documentation

◆ NUM_PORTS

#define NUM_PORTS   6

◆ PI

#define PI   3.14159265358979

◆ PORT_FREQ

#define PORT_FREQ   3

◆ PORT_OUT

#define PORT_OUT   0

◆ PORT_RATIO

#define PORT_RATIO   5

◆ PORT_RESONANCE

#define PORT_RESONANCE   4

◆ PORT_TRIGGER

#define PORT_TRIGGER   1

◆ PORT_VELOCITY

#define PORT_VELOCITY   2

Function Documentation

◆ initialise_syndrum()

void initialise_syndrum ( )

Variable Documentation

◆ g_psPortDescriptors

LADSPA_PortDescriptor g_psPortDescriptors[]
static
Initial value:
=
{
}
#define LADSPA_PORT_INPUT
Definition ladspa.h:155
#define LADSPA_PORT_OUTPUT
Definition ladspa.h:158
#define LADSPA_PORT_CONTROL
Definition ladspa.h:162
#define LADSPA_PORT_AUDIO
Definition ladspa.h:166

◆ g_psPortNames

const char* const g_psPortNames[]
static
Initial value:
=
{
"Out",
"Trigger",
"Velocity",
"Frequency (Hz)",
"Resonance",
"Frequency Ratio"
}

◆ g_psPortRangeHints

LADSPA_PortRangeHint g_psPortRangeHints[]
static
Initial value:
=
{
{ 0, 0.0, 0.0 },
{ LADSPA_HINT_TOGGLED, 0.0, 0.0 },
}
#define LADSPA_HINT_BOUNDED_ABOVE
Definition ladspa.h:216
#define LADSPA_HINT_TOGGLED
Definition ladspa.h:224
#define LADSPA_HINT_BOUNDED_BELOW
Definition ladspa.h:208