volumen y envíos en logarítmico auténtico, entre -85dB y 0.

SLiders en UI para los envíos (sólo 2, estáticos, hay que meter un bucle
con el número de envíos).
This commit is contained in:
snt 2024-05-21 18:17:55 +02:00
parent f0f6e595fb
commit 200dcf86d4
11 changed files with 108 additions and 47 deletions

View file

@ -10,9 +10,9 @@
#define FORMAT ma_format_f32 /* Must always be f32. */
#define CHANNELS 2
#define SAMPLE_RATE 48000
#define UI_REFRESH_TIME 100
#define UI_REFRESH_TIME 97
#define FADE_TIME 25 // DMX Frame time, 40 fps, avoid clicks
#define FILTER_CHANNELS 13 // number of dmx channels dedicated to filters by layer
#define FILTER_CHANNELS 16 // number of dmx channels dedicated to filters by layer
struct dmxSetting {
int address;
@ -38,7 +38,9 @@ enum Slider
Volume,
Pan,
Pitch,
Bypass
Bypass,
Bus1,
Bus2
};
#ifdef __cplusplus
@ -71,6 +73,8 @@ struct layerData {
int address;
unsigned int universe;
int device;
int bus1Vol;
int bus2Vol;
};
#endif // __cplusplus
#endif // DEFINES_H