Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: wcalvert

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    223

    Your synth has one voice, and you are checking if...

    Your synth has one voice, and you are checking if the envelope is active before letting another note play with this bit of code:

    if (envelope1.isActive() == false)

    If you remove the condition...
  2. Replies
    3
    Views
    223

    Well, I don't know what you mean by latency...

    Well, I don't know what you mean by latency problem, but I think you might have a logic problem in your code.


    ...
    mixer1.gain(2, (float)knob3/1024.);
    ...
    float sustain = (float(knob3)/1024.);...
Results 1 to 2 of 2