 {
   function = new DU_Quantizer_Function();
 
-  triggered = false;
-
   function->begin();
 }
 

    }
    container_notes_->attach_click_callback_array(notes_click_callback);

    trigger_mode = false;
    key = 0;
    scale_id = 0;

    }
  }

  void trig_callback()
  {
    triggered = true;
  }

  void widget_trigger_mode_scroll_callback(int delta)
  {
    trigger_mode = delta > 0;
