diff options
author | David Robillard <d@drobilla.net> | 2015-03-01 13:33:25 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-03-05 17:30:31 -0500 |
commit | a8aae56d92699e4545b5f8a69742f9a1c75ad238 (patch) | |
tree | ae3c14f1b78fbfddf126b44e533692b137d93f28 /libs/ardour/ardour/midi_region.h | |
parent | 09f1571fc0c9dd164601cfd3d12fac31a084b9f6 (diff) |
Handle edits while playing precisely.
This avoids stuck notes if active notes are edited, but without stopping all
active notes in the region on any edit as before.
This implementation injects note ons in places that aren't actually note
starts. Depending on how percussive the instrument is, this may not be
desired. In the future, an option for this would be an improvement, but there
are other places where "start notes in the middle" is a reasonable option. I
think that should be handled universally if we're to do it at all, so not
considering it a part of this fix for now.
Diffstat (limited to 'libs/ardour/ardour/midi_region.h')
-rw-r--r-- | libs/ardour/ardour/midi_region.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/ardour/ardour/midi_region.h b/libs/ardour/ardour/midi_region.h index ece23b65f0..f7e6c97ea0 100644 --- a/libs/ardour/ardour/midi_region.h +++ b/libs/ardour/ardour/midi_region.h @@ -32,11 +32,6 @@ class XMLNode; namespace ARDOUR { namespace Properties { - /* this is pseudo-property: nothing has this as an actual - property, but it allows us to signal changes to the - MidiModel used by the MidiRegion - */ - LIBARDOUR_API extern PBD::PropertyDescriptor<void*> midi_data; LIBARDOUR_API extern PBD::PropertyDescriptor<Evoral::Beats> start_beats; LIBARDOUR_API extern PBD::PropertyDescriptor<Evoral::Beats> length_beats; } @@ -141,7 +136,6 @@ class LIBARDOUR_API MidiRegion : public Region void model_changed (); void model_automation_state_changed (Evoral::Parameter const &); - void model_contents_changed (); void set_start_beats_from_start_frames (); void update_after_tempo_map_change (); |