diff options
author | David Robillard <d@drobilla.net> | 2007-07-15 01:56:11 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-15 01:56:11 +0000 |
commit | 332a3d98138e94903ad9c6d35048b0201ff178c8 (patch) | |
tree | 107ac2a68b8c461a534e82d41e47fedfc5ed9178 /libs/ardour/midi_source.cc | |
parent | 74eded425a5244831c80968c1781c3f81f90e996 (diff) |
Selection of visible note range (full range vs fit contents, selectable from midi track menu).
Added note pencil tool, mock note adding (notes can be added visually but don't yet play).
Reworked MidiModel to be notes w/ duration instead of realtime style MIDI events.
Moved layering (stacked/overlaid) from auto time axis down to route time axis since it applies
to MIDI tracks as well.
git-svn-id: svn://localhost/ardour2/trunk@2128 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/midi_source.cc')
-rw-r--r-- | libs/ardour/midi_source.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/midi_source.cc b/libs/ardour/midi_source.cc index 2b4f8a8255..a346bfd4f2 100644 --- a/libs/ardour/midi_source.cc +++ b/libs/ardour/midi_source.cc @@ -45,6 +45,7 @@ sigc::signal<void,MidiSource *> MidiSource::MidiSourceCreated; MidiSource::MidiSource (Session& s, string name) : Source (s, name, DataType::MIDI) , _model(new MidiModel()) + , _model_loaded (false) { _read_data_count = 0; _write_data_count = 0; @@ -53,6 +54,7 @@ MidiSource::MidiSource (Session& s, string name) MidiSource::MidiSource (Session& s, const XMLNode& node) : Source (s, node) , _model(new MidiModel()) + , _model_loaded (false) { _read_data_count = 0; _write_data_count = 0; |