void note_off_event_handler (int note);
void rest_event_handler ();
- Evoral::MusicalTime note_length();
+ Evoral::Beats note_length();
uint8_t note_velocity() const;
uint8_t note_channel() const;
int current_octave () const { return (int) floor (octave_adjustment.get_value()); }
private:
- Evoral::MusicalTime _current_note_length;
+ Evoral::Beats _current_note_length;
uint8_t _current_note_velocity;
Gtk::VBox packer;
/* actions */
void register_actions ();
- Gtkmm2ext::ActionMap myactions;
void insert_note (uint8_t);
void insert_rest ();
bool radio_button_release (GdkEventButton*, Gtk::RadioButton*, int);
void load_bindings ();
- Gtkmm2ext::Bindings bindings;
+ Gtkmm2ext::ActionMap myactions;
+ Gtkmm2ext::Bindings* bindings;
void inc_note_velocity ();
void dec_note_velocity ();