13
0
Commit Graph

619 Commits

Author SHA1 Message Date
c1b73d4a41 Theme-ified MIDI note colours, implemented automagic crossfading thereof.
git-svn-id: svn://localhost/ardour2/trunk@2243 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-04 18:43:32 +00:00
7185f8e53f Fix vertical note dragging 'double distance' bug.
Obey snap for note dragging.


git-svn-id: svn://localhost/ardour2/trunk@2242 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-04 17:02:24 +00:00
2f7bb09453 Line up percussion hits correctly.
git-svn-id: svn://localhost/ardour2/trunk@2241 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-04 15:51:04 +00:00
a5abcd306b Obey snap setting for MIDI stuff.
git-svn-id: svn://localhost/ardour2/trunk@2238 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-04 05:34:51 +00:00
604a0079ce Moved note height/range/etc stuff from MidiRegionView to MidiStreamView, since it's all shared anyway.
Fixed positioning of percussion hits.
Note row separator lines (ie a "piano roll".. if it counts as a piano roll without an actual piano on the side of it, anyway).


git-svn-id: svn://localhost/ardour2/trunk@2237 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-04 04:18:34 +00:00
93dbcbd606 Switched to right mouse button for note adding.
Added creation of notes of arbitrary duration via right drag.
Removed a bunch of redundant height calculation, etc. stuff.


git-svn-id: svn://localhost/ardour2/trunk@2236 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-04 01:07:21 +00:00
53415b270c Little MidiEvent prettification additions, ifdef'd non-realtime aspects (for future purposes).
Fix MIDI recording crash bug.


git-svn-id: svn://localhost/ardour2/trunk@2228 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-02 21:08:18 +00:00
89b6edb0ce fix bad dynamic cast
git-svn-id: svn://localhost/ardour2/trunk@2226 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-02 19:57:42 +00:00
8a58d67a25 UI RC files are now generated by scons
git-svn-id: svn://localhost/ardour2/trunk@2223 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-02 19:23:38 +00:00
a2da4bc42b add theme files to default target, and install using target names
git-svn-id: svn://localhost/ardour2/trunk@2222 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-02 19:18:40 +00:00
3c22c8f2d5 Functional note moving.
Better vertical note snap, don't let the mouse drift away from the note on fast drags.


git-svn-id: svn://localhost/ardour2/trunk@2218 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-02 04:43:43 +00:00
c96b558320 Snap note dragging vertically to note values (rows).
git-svn-id: svn://localhost/ardour2/trunk@2217 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-02 02:05:00 +00:00
874f3bbf8b Fix note delete crash bug.
Fix midi recording crash bug.


git-svn-id: svn://localhost/ardour2/trunk@2216 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-01 23:18:56 +00:00
6698f5f686 use XML state to store processors in mixer (strips) and fixup crash caused by missing AutomationController for integer LADSPA plugin params
git-svn-id: svn://localhost/ardour2/trunk@2215 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-01 22:18:46 +00:00
4d1542d1e5 Note deleting.
Press delete on a single note to delete it.
Hold delete and mouse over a number of notes to delete them all in a single operation.


git-svn-id: svn://localhost/ardour2/trunk@2214 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-01 21:59:07 +00:00
d7db3f757f Better MidiModel command framework, ready to go for all your canvas editing needs.
Rewrote MidiEvent to be a well-behaved self-contained object that optionally owns it's buffer, has proper copying semantics, etc.
Fixed crazy bugs triggered by adding lots of events with varying times to a region.
Speed up initial session display significantly (don't redraw each MIDI region tons of times, though still happens more than once and can use fixing...).


git-svn-id: svn://localhost/ardour2/trunk@2213 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-01 20:50:09 +00:00
41c0847c57 extend filtering to VST + AU, tweak details, add filter-by-creator and by library
git-svn-id: svn://localhost/ardour2/trunk@2199 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-31 16:03:35 +00:00
bb33e5d9f8 Get MidiRegionView's hands on MidiModel for editing operations to come.
MIDI select rectangle.
Add notes on a proper click only (not mouse down).
Fix crash when dragging from region to outside region.


git-svn-id: svn://localhost/ardour2/trunk@2196 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-31 02:16:46 +00:00
9e1eed55aa fix some aspects of midi region view event handling
git-svn-id: svn://localhost/ardour2/trunk@2192 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-30 23:58:25 +00:00
f59870b49f another minor fix for gtkmm breakage with Gtk::Settings::get_default() in not-entirely current gtkmm releases
git-svn-id: svn://localhost/ardour2/trunk@2191 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-30 23:08:06 +00:00
abffdbe645 add filtering to plugin selection dialog
git-svn-id: svn://localhost/ardour2/trunk@2189 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-30 22:14:04 +00:00
991fab113f Catch keyboard events on notes.
git-svn-id: svn://localhost/ardour2/trunk@2188 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-30 17:26:39 +00:00
2cbaa2751c Basic canvas note event handling framework.
Note dragging (non-functional).


git-svn-id: svn://localhost/ardour2/trunk@2187 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-30 16:33:10 +00:00
633d9131af Use 'show contents' note range by default (fix uninitialized value).
Obey note mode on playback (note offs are not sent in Percussive mode).
Vary note colour/opacity with velocity (needs theization/tweaking, but hey, it's something).


git-svn-id: svn://localhost/ardour2/trunk@2184 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-28 09:01:19 +00:00
6e167cb1a8 Playback from MIDI model, playback of clicked-in events.
Note the diskstream chunk size affects reading of clicked-in, so you may need to seek away and back again to have new events read (this will be fixed).


git-svn-id: svn://localhost/ardour2/trunk@2183 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-28 07:09:21 +00:00
a485d10615 ben's fix for radio button grouping
git-svn-id: svn://localhost/ardour2/trunk@2164 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-20 16:06:24 +00:00
823a1d36c1 Remove random access interface from MidiBuffer, towards killing fixed/limited event size assumption.
git-svn-id: svn://localhost/ardour2/trunk@2159 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-20 05:37:24 +00:00
6a4bd8e926 Added Note tool to Keymouse Actions menu and gave it a hotkey (n).
Removed excessive MIDI debug messages.
Fixed stuck note resolution bug, rewrote MidiModel "recording" stuff to be stronger, faster, better.
We have the technology.


git-svn-id: svn://localhost/ardour2/trunk@2156 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-20 01:56:19 +00:00
1aba241919 Note canvas event handling testing stuff.
git-svn-id: svn://localhost/ardour2/trunk@2154 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-19 21:00:09 +00:00
Sampo Savolainen
6da421be5d Fix for the crossfade editor due to type issues
git-svn-id: svn://localhost/ardour2/trunk@2151 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-19 07:10:45 +00:00
9e1ec9dd56 stop audio clocks from vanishing when turned off
git-svn-id: svn://localhost/ardour2/trunk@2149 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-19 01:01:09 +00:00
3e1a097180 Restore position of the mixer window when it is reopened. #1277
git-svn-id: svn://localhost/ardour2/trunk@2141 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-18 02:27:07 +00:00
f542fa693c Midi pencil undo (not yet serializable).
Formatting fixes for session.h (ie kill more of those damned 8 space expanded tabs).


git-svn-id: svn://localhost/ardour2/trunk@2135 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-17 01:48:42 +00:00
323438965e support for 16 bit native files
git-svn-id: svn://localhost/ardour2/trunk@2133 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-16 22:04:52 +00:00
155bc17e2b Added missing tool_note.png (just a placeholder for now).
git-svn-id: svn://localhost/ardour2/trunk@2129 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-15 22:30:44 +00:00
332a3d9813 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
2007-07-15 01:56:11 +00:00
Doug McLain
74eded425a show() widgets explicitly in the MixerUI window, fix UI::just_hide_it(), so that it only hides the requested widget
git-svn-id: svn://localhost/ardour2/trunk@2127 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-10 19:11:59 +00:00
Doug McLain
8144a70087 finish show() stuff for mixer strip and friends
git-svn-id: svn://localhost/ardour2/trunk@2126 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-07 09:36:56 +00:00
Doug McLain
af8acbcc88 more show() stuff, and replaced strip->show_all(); untill its actually finished
git-svn-id: svn://localhost/ardour2/trunk@2124 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-07 05:04:34 +00:00
68653307e6 Note modes: note, percussion.
Percussion tracks display diamonds.
	Separated/fixed MIDI and audio mode menus.
CC automation modes: discrete, line.
	Bar controllers follow setting (hard steps or line) on playback.
	Sent CC data is always discrete (line not implemented yet).
	Discrete tracks show no lines, and always show control points.
Separated ControlPoint from AutomationLine.
Added some basic information (range) to Parameter (to be fleshed out..).


git-svn-id: svn://localhost/ardour2/trunk@2123 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-07 03:19:04 +00:00
Doug McLain
f87954eeb5 show() widgets explicitly in the MixerStrip and IOSelector
git-svn-id: svn://localhost/ardour2/trunk@2122 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-06 23:55:54 +00:00
Doug McLain
341c03e984 show() widgets explicitly in gtk2_ardour/ardour_ui.cc
git-svn-id: svn://localhost/ardour2/trunk@2121 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-06 21:54:30 +00:00
Doug McLain
b1541d329e show() widgets explicitly in gtk2_ardour/add_midi_cc_track_dialog.cc
git-svn-id: svn://localhost/ardour2/trunk@2120 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-06 19:24:43 +00:00
Doug McLain
e0b7de13b7 show() widgets explicitly in gtk2_ardour/analysis_window.cc
git-svn-id: svn://localhost/ardour2/trunk@2119 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-06 19:11:32 +00:00
Doug McLain
fda1de74a1 show() widgets explicitly, one little file at a time
git-svn-id: svn://localhost/ardour2/trunk@2118 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-06 06:48:23 +00:00
b942d3613e Fix 'live' CC sending of bar controllers after loading session (previously only worked when immediately created by user).
git-svn-id: svn://localhost/ardour2/trunk@2116 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-06 02:37:35 +00:00
Doug McLain
40f353f151 change bus gainmeter text for light theme to black in trunk too
git-svn-id: svn://localhost/ardour2/trunk@2114 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-05 20:03:53 +00:00
cfe29a14ee Scale MIDI track vertical range to match widgest range of notes in child regions.
Fiddled with canvas theme a bit to make tempo more visible and probably annoy pure audio MIDI/tempo haters.
Fix track-specific-color display on mixer strips for MIDI tracks.


git-svn-id: svn://localhost/ardour2/trunk@2112 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-05 07:02:24 +00:00
b57510a3a9 Display correct value for verbose control point cursor for Midi CC (int) and plugin automation (map to parameter range).
Use double throughout for automation control point y coordinate instead of casting to this and that losing precision.
Fix crash bug in route automation menu.


git-svn-id: svn://localhost/ardour2/trunk@2107 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-04 22:57:13 +00:00
2177f00841 Add AutomationControl::parameter() for terseness.
Future-proof automation track GUI 'extra' XML (<GUI><AutomationChild automation-id="gain"> instead of <GUI><gain> so Parameter.to_string isn't used as an XML node name).
Fix automation track controller bar shown/hidden state.
Fix automation track initial show bug.


git-svn-id: svn://localhost/ardour2/trunk@2103 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-07-04 00:39:00 +00:00