40 lines
707 B
Plaintext
40 lines
707 B
Plaintext
#ifndef super_saw_peg
|
|
#define super_saw_peg
|
|
|
|
|
|
#ifndef PEG_STRUCT
|
|
#define PEG_STRUCT
|
|
typedef struct {
|
|
float min;
|
|
float max;
|
|
float default_value;
|
|
char toggled;
|
|
char integer;
|
|
char logarithmic;
|
|
} peg_data_t;
|
|
#endif
|
|
|
|
/* <http://example.org/super_saw> */
|
|
|
|
static const char p_uri[] = "http://example.org/super_saw";
|
|
|
|
enum p_port_enum {
|
|
p_midi,
|
|
p_Detune,
|
|
p_Mix,
|
|
p_left,
|
|
p_right,
|
|
p_n_ports
|
|
};
|
|
|
|
static const peg_data_t p_ports[] = {
|
|
{ -3.40282e+38, 3.40282e+38, -3.40282e+38, 0, 0, 0 },
|
|
{ 0, 0.9, 0.5, 0, 0, 0 },
|
|
{ 0, 1, 0.5, 0, 0, 0 },
|
|
{ -3.40282e+38, 3.40282e+38, -3.40282e+38, 0, 0, 0 },
|
|
{ -3.40282e+38, 3.40282e+38, -3.40282e+38, 0, 0, 0 },
|
|
};
|
|
|
|
|
|
#endif /* super_saw_peg */
|