use c++ note queue in synthpp_poly
This commit is contained in:
parent
6e1212d8f5
commit
af5dbc0a1c
1
TODO
1
TODO
@ -2,6 +2,7 @@
|
|||||||
-----
|
-----
|
||||||
|
|
||||||
code:
|
code:
|
||||||
|
* synth poly stuck notes
|
||||||
* osc post filter (and one pole init, slew rate, etc.) val from input? set state instead?
|
* osc post filter (and one pole init, slew rate, etc.) val from input? set state instead?
|
||||||
* audio rate optional pulse width/slope inputs?
|
* audio rate optional pulse width/slope inputs?
|
||||||
* should rather use backward Euler in bw_onepole?
|
* should rather use backward Euler in bw_onepole?
|
||||||
|
@ -145,7 +145,7 @@ void bw_example_synthpp_poly_process(bw_example_synthpp_poly *instance, const fl
|
|||||||
for (int i = 0; i < N_VOICES; i++)
|
for (int i = 0; i < N_VOICES; i++)
|
||||||
voices[i] = (void *)(instance->voices + i);
|
voices[i] = (void *)(instance->voices + i);
|
||||||
bw_voice_alloc(&alloc_opts, &instance->noteQueue.queue, voices, N_VOICES);
|
bw_voice_alloc(&alloc_opts, &instance->noteQueue.queue, voices, N_VOICES);
|
||||||
bw_note_queue_clear(&instance->noteQueue.queue);
|
instance->noteQueue.clear();
|
||||||
|
|
||||||
const float df1 =
|
const float df1 =
|
||||||
6.f * instance->params[p_vco1_coarse] - 3.f
|
6.f * instance->params[p_vco1_coarse] - 3.f
|
||||||
|
Loading…
Reference in New Issue
Block a user