Nu:Tekt NTS-1 digital SDK
v1.1-0
|
C interface header for user oscillators. More...
Go to the source code of this file.
Classes | |
struct | user_osc_param |
Internal realtime parameters. More... | |
Macros | |
#define | param_val_to_f32(val) ((uint16_t)val * 9.77517106549365e-004f) |
Convert 10bit parameter values to float. | |
Typedefs | |
typedef struct user_osc_param | user_osc_param_t |
Internal realtime parameters. | |
Enumerations | |
enum | user_osc_param_id_t { k_user_osc_param_id1 = 0, k_user_osc_param_id2, k_user_osc_param_id3, k_user_osc_param_id4, k_user_osc_param_id5, k_user_osc_param_id6, k_user_osc_param_shape, k_user_osc_param_shiftshape, k_num_user_osc_param_id } |
User facing osc-specific parameters. More... | |
Core API | |
#define | OSC_INIT __attribute__((used)) _hook_init |
#define | OSC_CYCLE __attribute__((used)) _hook_cycle |
#define | OSC_NOTEON __attribute__((used)) _hook_on |
#define | OSC_NOTEOFF __attribute__((used)) _hook_off |
#define | OSC_MUTE __attribute__((used)) _hook_mute |
#define | OSC_VALUE __attribute__((used)) _hook_value |
#define | OSC_PARAM __attribute__((used)) _hook_param |
void | _hook_init (uint32_t platform, uint32_t api) |
Initialization callback. More... | |
void | _hook_cycle (const user_osc_param_t *const params, int32_t *yn, const uint32_t frames) |
Rendering callback. More... | |
void | _hook_on (const user_osc_param_t *const params) |
Note on callback. More... | |
void | _hook_off (const user_osc_param_t *const params) |
Note off callback. More... | |
void | _hook_param (uint16_t index, uint16_t value) |
Parameter change callback. More... | |
C interface header for user oscillators.
Definition in file userosc.h.