Exemplo n.º 1
0
 void buttonChanged(PatchButtonId bid, uint16_t value, uint16_t samples){
   if(bid == PUSHBUTTON){
     eg1.gate(value, samples);
     eg2.gate(value, samples);
   }
 }
Exemplo n.º 2
0
 void gate(bool state){
   env.gate(state);
 }