ardour.git
16 years agoextend filtering to VST + AU, tweak details, add filter-by-creator and by library
Paul Davis [Tue, 31 Jul 2007 16:03:35 +0000 (16:03 +0000)]
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

16 years agoGet MidiRegionView's hands on MidiModel for editing operations to come.
David Robillard [Tue, 31 Jul 2007 02:16:46 +0000 (02:16 +0000)]
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

16 years agoUse correct install path for powermate control surface module on x86_64. Fixes bug...
Tim Mayberry [Tue, 31 Jul 2007 02:00:23 +0000 (02:00 +0000)]
Use correct install path for powermate control surface module on x86_64. Fixes bug 1764.

git-svn-id: svn://localhost/ardour2/trunk@2195 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago- build fixes for OS X.
Taybin Rutkin [Tue, 31 Jul 2007 00:48:10 +0000 (00:48 +0000)]
- build fixes for OS X.
-- casts for vDSP in mix.cc
-- fix for PluginInsert::PluginControl usage
-- disable POWERMATE if POWERMATE=0

git-svn-id: svn://localhost/ardour2/trunk@2193 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agofix some aspects of midi region view event handling
Paul Davis [Mon, 30 Jul 2007 23:58:25 +0000 (23:58 +0000)]
fix some aspects of midi region view event handling

git-svn-id: svn://localhost/ardour2/trunk@2192 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoanother minor fix for gtkmm breakage with Gtk::Settings::get_default() in not-entirel...
Paul Davis [Mon, 30 Jul 2007 23:08:06 +0000 (23:08 +0000)]
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

16 years agoadd filtering to plugin selection dialog
Paul Davis [Mon, 30 Jul 2007 22:14:04 +0000 (22:14 +0000)]
add filtering to plugin selection dialog

git-svn-id: svn://localhost/ardour2/trunk@2189 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoCatch keyboard events on notes.
David Robillard [Mon, 30 Jul 2007 17:26:39 +0000 (17:26 +0000)]
Catch keyboard events on notes.

git-svn-id: svn://localhost/ardour2/trunk@2188 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoBasic canvas note event handling framework.
David Robillard [Mon, 30 Jul 2007 16:33:10 +0000 (16:33 +0000)]
Basic canvas note event handling framework.
Note dragging (non-functional).

git-svn-id: svn://localhost/ardour2/trunk@2187 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUse 'show contents' note range by default (fix uninitialized value).
David Robillard [Sat, 28 Jul 2007 09:01:19 +0000 (09:01 +0000)]
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

16 years agoPlayback from MIDI model, playback of clicked-in events.
David Robillard [Sat, 28 Jul 2007 07:09:21 +0000 (07:09 +0000)]
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

16 years agoProtect ardour from sessions with errant capture sources stored in the
Sampo Savolainen [Tue, 24 Jul 2007 19:17:29 +0000 (19:17 +0000)]
Protect ardour from sessions with errant capture sources stored in the
session state.

git-svn-id: svn://localhost/ardour2/trunk@2177 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoWorkaround / safeguard which should enable punching in more than once
Sampo Savolainen [Sat, 21 Jul 2007 13:16:36 +0000 (13:16 +0000)]
Workaround / safeguard which should enable punching in more than once
due to wrongly set last_recordable_frame.

git-svn-id: svn://localhost/ardour2/trunk@2170 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoben's fix for radio button grouping
Paul Davis [Fri, 20 Jul 2007 16:06:24 +0000 (16:06 +0000)]
ben's fix for radio button grouping

git-svn-id: svn://localhost/ardour2/trunk@2164 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove random access interface from MidiBuffer, towards killing fixed/limited event...
David Robillard [Fri, 20 Jul 2007 05:37:24 +0000 (05:37 +0000)]
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

16 years agoTrimmed some code by removing silly Java-isms.
David Robillard [Fri, 20 Jul 2007 04:30:21 +0000 (04:30 +0000)]
Trimmed some code by removing silly Java-isms.
Real men make references to functions, and like it!

git-svn-id: svn://localhost/ardour2/trunk@2158 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix absolutely atrocious memory leak on MIDI recording. I meeean... move along now...
David Robillard [Fri, 20 Jul 2007 03:18:36 +0000 (03:18 +0000)]
Fix absolutely atrocious memory leak on MIDI recording.  I meeean... move along now, nothing to see here.
Fix SMFSource to realloc a scratch read buffer as necessary, removing upper limit on single raw event size.
Remove public exposure of MidiBuffer::max_event_size (though it still exists internally).
Fix crash bug on MIDI record completion (transport stop).

git-svn-id: svn://localhost/ardour2/trunk@2157 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoAdded Note tool to Keymouse Actions menu and gave it a hotkey (n).
David Robillard [Fri, 20 Jul 2007 01:56:19 +0000 (01:56 +0000)]
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

16 years agoNote canvas event handling testing stuff.
David Robillard [Thu, 19 Jul 2007 21:00:09 +0000 (21:00 +0000)]
Note canvas event handling testing stuff.

git-svn-id: svn://localhost/ardour2/trunk@2154 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix for the crossfade editor due to type issues
Sampo Savolainen [Thu, 19 Jul 2007 07:10:45 +0000 (07:10 +0000)]
Fix for the crossfade editor due to type issues

git-svn-id: svn://localhost/ardour2/trunk@2151 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agostop audio clocks from vanishing when turned off
Paul Davis [Thu, 19 Jul 2007 01:01:09 +0000 (01:01 +0000)]
stop audio clocks from vanishing when turned off

git-svn-id: svn://localhost/ardour2/trunk@2149 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRestore position of the mixer window when it is reopened. #1277
Tim Mayberry [Wed, 18 Jul 2007 02:27:07 +0000 (02:27 +0000)]
Restore position of the mixer window when it is reopened. #1277

git-svn-id: svn://localhost/ardour2/trunk@2141 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoMidi pencil undo (not yet serializable).
David Robillard [Tue, 17 Jul 2007 01:48:42 +0000 (01:48 +0000)]
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

16 years agosupport for 16 bit native files, part II
Paul Davis [Mon, 16 Jul 2007 22:06:35 +0000 (22:06 +0000)]
support for 16 bit native files, part II

git-svn-id: svn://localhost/ardour2/trunk@2134 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agosupport for 16 bit native files
Paul Davis [Mon, 16 Jul 2007 22:04:52 +0000 (22:04 +0000)]
support for 16 bit native files

git-svn-id: svn://localhost/ardour2/trunk@2133 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix formatting of command stuff to adhere to The Guidelines(TM).
David Robillard [Mon, 16 Jul 2007 18:32:31 +0000 (18:32 +0000)]
Fix formatting of command stuff to adhere to The Guidelines(TM).

git-svn-id: svn://localhost/ardour2/trunk@2130 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoAdded missing tool_note.png (just a placeholder for now).
David Robillard [Sun, 15 Jul 2007 22:30:44 +0000 (22:30 +0000)]
Added missing tool_note.png (just a placeholder for now).

git-svn-id: svn://localhost/ardour2/trunk@2129 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoSelection of visible note range (full range vs fit contents, selectable from midi...
David Robillard [Sun, 15 Jul 2007 01:56:11 +0000 (01:56 +0000)]
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

16 years agoshow() widgets explicitly in the MixerUI window, fix UI::just_hide_it(), so that...
Doug McLain [Tue, 10 Jul 2007 19:11:59 +0000 (19:11 +0000)]
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

16 years agofinish show() stuff for mixer strip and friends
Doug McLain [Sat, 7 Jul 2007 09:36:56 +0000 (09:36 +0000)]
finish show() stuff for mixer strip and friends

git-svn-id: svn://localhost/ardour2/trunk@2126 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoLinear interpolation for MIDI CC (bar controller, line, and actual MIDI output all...
David Robillard [Sat, 7 Jul 2007 07:54:51 +0000 (07:54 +0000)]
Linear interpolation for MIDI CC (bar controller, line, and actual MIDI output all now obey linear/discrete mode).

git-svn-id: svn://localhost/ardour2/trunk@2125 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agomore show() stuff, and replaced strip->show_all(); untill its actually finished
Doug McLain [Sat, 7 Jul 2007 05:04:34 +0000 (05:04 +0000)]
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

16 years agoNote modes: note, percussion.
David Robillard [Sat, 7 Jul 2007 03:19:04 +0000 (03:19 +0000)]
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

16 years agoshow() widgets explicitly in the MixerStrip and IOSelector
Doug McLain [Fri, 6 Jul 2007 23:55:54 +0000 (23:55 +0000)]
show() widgets explicitly in the MixerStrip and IOSelector

git-svn-id: svn://localhost/ardour2/trunk@2122 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoshow() widgets explicitly in gtk2_ardour/ardour_ui.cc
Doug McLain [Fri, 6 Jul 2007 21:54:30 +0000 (21:54 +0000)]
show() widgets explicitly in gtk2_ardour/ardour_ui.cc

git-svn-id: svn://localhost/ardour2/trunk@2121 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoshow() widgets explicitly in gtk2_ardour/add_midi_cc_track_dialog.cc
Doug McLain [Fri, 6 Jul 2007 19:24:43 +0000 (19:24 +0000)]
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

16 years agoshow() widgets explicitly in gtk2_ardour/analysis_window.cc
Doug McLain [Fri, 6 Jul 2007 19:11:32 +0000 (19:11 +0000)]
show() widgets explicitly in gtk2_ardour/analysis_window.cc

git-svn-id: svn://localhost/ardour2/trunk@2119 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoshow() widgets explicitly, one little file at a time
Doug McLain [Fri, 6 Jul 2007 06:48:23 +0000 (06:48 +0000)]
show() widgets explicitly, one little file at a time

git-svn-id: svn://localhost/ardour2/trunk@2118 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix 'live' CC sending of bar controllers after loading session (previously only worke...
David Robillard [Fri, 6 Jul 2007 02:37:35 +0000 (02:37 +0000)]
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

16 years agoMidi CC automation sending (send points only, no linear interpolation yet).
David Robillard [Fri, 6 Jul 2007 00:09:53 +0000 (00:09 +0000)]
Midi CC automation sending (send points only, no linear interpolation yet).
Split buffer.cc into buffer.cc audio_buffer.cc midi_buffer.cc.
Renamed 'send_buffers' to 'mix_buffers'.
This is the first revision of Ardour where clicking around and drawing things can send MIDI and thus generate wonderful world-changing music.  Break out the champagne.

git-svn-id: svn://localhost/ardour2/trunk@2115 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agochange bus gainmeter text for light theme to black in trunk too
Doug McLain [Thu, 5 Jul 2007 20:03:53 +0000 (20:03 +0000)]
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

16 years agoScale MIDI track vertical range to match widgest range of notes in child regions.
David Robillard [Thu, 5 Jul 2007 07:02:24 +0000 (07:02 +0000)]
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

16 years agoReplace remaining references to 'param_id' (with 'parameter').
David Robillard [Thu, 5 Jul 2007 01:43:30 +0000 (01:43 +0000)]
Replace remaining references to 'param_id' (with 'parameter').

git-svn-id: svn://localhost/ardour2/trunk@2109 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove unneeded cruft from Curve.
David Robillard [Thu, 5 Jul 2007 01:31:43 +0000 (01:31 +0000)]
Remove unneeded cruft from Curve.

git-svn-id: svn://localhost/ardour2/trunk@2108 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoDisplay correct value for verbose control point cursor for Midi CC (int) and plugin...
David Robillard [Wed, 4 Jul 2007 22:57:13 +0000 (22:57 +0000)]
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

16 years agoChanged Processor interface to support out-of-place processors, for Panner.
David Robillard [Wed, 4 Jul 2007 22:32:28 +0000 (22:32 +0000)]
Changed Processor interface to support out-of-place processors, for Panner.

git-svn-id: svn://localhost/ardour2/trunk@2106 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoAdd AutomationControl::parameter() for terseness.
David Robillard [Wed, 4 Jul 2007 00:39:00 +0000 (00:39 +0000)]
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

16 years agoset powermate env keys in SConstruct, so that POWERMATE is set even if SURFACES=false
Paul Davis [Tue, 3 Jul 2007 22:22:04 +0000 (22:22 +0000)]
set powermate env keys in SConstruct, so that POWERMATE is set even if SURFACES=false

git-svn-id: svn://localhost/ardour2/trunk@2101 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoremove static Pango::FontDescriptions, they cause glib errors because of initializati...
Paul Davis [Tue, 3 Jul 2007 21:02:29 +0000 (21:02 +0000)]
remove static Pango::FontDescriptions, they cause glib errors because of initialization before Glib::thread_init() has been called

git-svn-id: svn://localhost/ardour2/trunk@2100 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agos/ParamID/Parameter/
David Robillard [Tue, 3 Jul 2007 18:39:09 +0000 (18:39 +0000)]
s/ParamID/Parameter/

git-svn-id: svn://localhost/ardour2/trunk@2098 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoPan automation/serialization fixes.
David Robillard [Tue, 3 Jul 2007 02:37:24 +0000 (02:37 +0000)]
Pan automation/serialization fixes.
"Live" Midi CC sending from Midi CC automation track controllers.

git-svn-id: svn://localhost/ardour2/trunk@2097 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoPan automation work. Almost, but not quite, working.
David Robillard [Sat, 30 Jun 2007 22:08:39 +0000 (22:08 +0000)]
Pan automation work.  Almost, but not quite, working.

git-svn-id: svn://localhost/ardour2/trunk@2093 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoAnother not-quite-there-but-better commit.
David Robillard [Sat, 30 Jun 2007 18:41:50 +0000 (18:41 +0000)]
Another not-quite-there-but-better commit.
Brought plugin automation into the fold of new automation system.
Fixed plugin automation, broke panner automation :] (pending Panner work).
Made AutomationController better at automatically following it's controller value (mimic what gain meter does).
Fixed some visible automation track bugs (but still broken WRT serialization).

git-svn-id: svn://localhost/ardour2/trunk@2092 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoonly do the widget packing style hack once, instead of everytime there is a theme...
Doug McLain [Fri, 29 Jun 2007 21:12:52 +0000 (21:12 +0000)]
only do the widget packing style hack once, instead of everytime there is a theme change

git-svn-id: svn://localhost/ardour2/trunk@2091 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agofix compiler warning
Doug McLain [Fri, 29 Jun 2007 20:29:39 +0000 (20:29 +0000)]
fix compiler warning

git-svn-id: svn://localhost/ardour2/trunk@2090 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoremove color.h
Doug McLain [Fri, 29 Jun 2007 20:05:50 +0000 (20:05 +0000)]
remove color.h

git-svn-id: svn://localhost/ardour2/trunk@2089 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agofixed typo
Doug McLain [Fri, 29 Jun 2007 18:13:34 +0000 (18:13 +0000)]
fixed typo

git-svn-id: svn://localhost/ardour2/trunk@2088 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoMoved canvas colors and theme file selection into new ui specific config system,...
Doug McLain [Fri, 29 Jun 2007 17:33:35 +0000 (17:33 +0000)]
Moved canvas colors and theme file selection into new ui specific config system, added rest of the files

git-svn-id: svn://localhost/ardour2/trunk@2087 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoMoved canvas colors and theme file selection into new ui specific config system
Doug McLain [Fri, 29 Jun 2007 17:13:09 +0000 (17:13 +0000)]
Moved canvas colors and theme file selection into new ui specific config system

git-svn-id: svn://localhost/ardour2/trunk@2086 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoquick fix for weird colorselection bug where alpha gets set to 0 if it wasnt changed...
Doug McLain [Fri, 29 Jun 2007 09:30:10 +0000 (09:30 +0000)]
quick fix for weird colorselection bug where alpha gets set to 0 if it wasnt changed from previous value

git-svn-id: svn://localhost/ardour2/trunk@2083 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoReduce overhead of multi-type-ness (last Summer's SoC):
David Robillard [Fri, 29 Jun 2007 06:58:07 +0000 (06:58 +0000)]
Reduce overhead of multi-type-ness (last Summer's SoC):
Use uint32_t instead of size_t counts (halves size of ChanCount on 64-bit).
Shift DataType values down to eliminate subtraction every index of a ChanCount or *Set.

Allow using DataType directly as an array index (prettier/terser).
Fix some mixed spaces/tabs in file comment headers.

git-svn-id: svn://localhost/ardour2/trunk@2082 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoSeparate MidiBuffer and AudioBuffer into separate headers (trims the dependency tree...
David Robillard [Fri, 29 Jun 2007 04:40:41 +0000 (04:40 +0000)]
Separate MidiBuffer and AudioBuffer into separate headers (trims the dependency tree, and too large to be in one anyway).

git-svn-id: svn://localhost/ardour2/trunk@2081 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoFurther automation refactoring - bring in the concept of Controllable, work towards
David Robillard [Fri, 29 Jun 2007 04:02:58 +0000 (04:02 +0000)]
Further automation refactoring - bring in the concept of Controllable, work towards
making automation + GUI + play/write/touch generic and easily reusable.
Added bar controller to automation track controls (mostly relevant for MIDI CC, but added for gain and pan too Just Because).
Fixed glaring "redirect" list errors.
Fix plugin controls/automation loading.

git-svn-id: svn://localhost/ardour2/trunk@2080 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoremove inadvertently committed objects
Paul Davis [Thu, 28 Jun 2007 19:38:20 +0000 (19:38 +0000)]
remove inadvertently committed objects

git-svn-id: svn://localhost/ardour2/trunk@2079 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoadd basic support for the griffin powermate (a control surface) (from ben loftis)
Paul Davis [Thu, 28 Jun 2007 19:35:48 +0000 (19:35 +0000)]
add basic support for the griffin powermate (a control surface) (from ben loftis)

git-svn-id: svn://localhost/ardour2/trunk@2078 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoUse the file name as the track name when importing audio files, as per bug #1622
Tim Mayberry [Thu, 28 Jun 2007 13:04:43 +0000 (13:04 +0000)]
Use the file name as the track name when importing audio files, as per bug #1622

git-svn-id: svn://localhost/ardour2/trunk@2076 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoallow user tweaking of everything that might have inherent latency; add GUI for track...
Paul Davis [Wed, 27 Jun 2007 22:06:35 +0000 (22:06 +0000)]
allow user tweaking of everything that might have inherent latency; add GUI for track level adjustment and widget that can be (but is not yet) embedded in a plugin GUI

git-svn-id: svn://localhost/ardour2/trunk@2075 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoAdded missing AddMidiCCTrackDialog files.
David Robillard [Wed, 27 Jun 2007 21:58:12 +0000 (21:58 +0000)]
Added missing AddMidiCCTrackDialog files.

git-svn-id: svn://localhost/ardour2/trunk@2074 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoAdded dialog to allow adding any Midi CC track.
David Robillard [Wed, 27 Jun 2007 21:37:08 +0000 (21:37 +0000)]
Added dialog to allow adding any Midi CC track.
Fix display/menu generation when adding a MIDI CC track.
Fix crash bug triggered by recording MIDI track with visible CC child track.

git-svn-id: svn://localhost/ardour2/trunk@2073 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoplugin_automation_line.[h|cc] -> processor_automation_line.[h|cc]
David Robillard [Wed, 27 Jun 2007 20:36:58 +0000 (20:36 +0000)]
plugin_automation_line.[h|cc] -> processor_automation_line.[h|cc]

git-svn-id: svn://localhost/ardour2/trunk@2072 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoRenamed Insert to Processor and Redirect to IOProcessor.
David Robillard [Wed, 27 Jun 2007 20:23:48 +0000 (20:23 +0000)]
Renamed Insert to Processor and Redirect to IOProcessor.

git-svn-id: svn://localhost/ardour2/trunk@2071 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoFix annoying warning from canvas var stuff.
David Robillard [Wed, 27 Jun 2007 16:45:57 +0000 (16:45 +0000)]
Fix annoying warning from canvas var stuff.

git-svn-id: svn://localhost/ardour2/trunk@2070 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoBig ol' automation refactor.
David Robillard [Wed, 27 Jun 2007 15:51:50 +0000 (15:51 +0000)]
Big ol' automation refactor.
Things with automation parameters now inherit from Automatable, which handles serialization, fetching/adding/removing parameters, etc.
Use AutomationList everywhere instead of Curve, make Curve a member of AutomationList instead (towards other types of "Curve" needed for CC, among other things).
Work towards MIDI CC sending "automation" tracks.

git-svn-id: svn://localhost/ardour2/trunk@2069 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoRemove functions from ardour/ardour.h that are now unused
Tim Mayberry [Wed, 27 Jun 2007 12:12:54 +0000 (12:12 +0000)]
Remove functions from ardour/ardour.h that are now unused

git-svn-id: svn://localhost/ardour2/trunk@2068 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoUse PBD::find_file_in_search_path and ardour/filesystem_paths.h to find splash image...
Tim Mayberry [Wed, 27 Jun 2007 12:12:52 +0000 (12:12 +0000)]
Use PBD::find_file_in_search_path and ardour/filesystem_paths.h to find splash image in About dialog

git-svn-id: svn://localhost/ardour2/trunk@2067 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoUse ARDOUR::system_data_search_path instead of get_system_data_path in ARDOUR::system...
Tim Mayberry [Wed, 27 Jun 2007 12:12:51 +0000 (12:12 +0000)]
Use ARDOUR::system_data_search_path instead of get_system_data_path in ARDOUR::system_template_directory

git-svn-id: svn://localhost/ardour2/trunk@2066 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoRemove two directories from ARDOUR_PATH that now longer need to be included explicitly
Tim Mayberry [Wed, 27 Jun 2007 12:12:49 +0000 (12:12 +0000)]
Remove two directories from ARDOUR_PATH that now longer need to be included explicitly

git-svn-id: svn://localhost/ardour2/trunk@2065 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoUse PBD::find_file_in_search_path and ardour/filesystem_paths.h to find icons
Tim Mayberry [Wed, 27 Jun 2007 12:12:48 +0000 (12:12 +0000)]
Use PBD::find_file_in_search_path and ardour/filesystem_paths.h to find icons

git-svn-id: svn://localhost/ardour2/trunk@2064 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoUse PBD::find_file_in_search_path and ardour/filesystem_paths.h to find pixmaps
Tim Mayberry [Wed, 27 Jun 2007 12:12:44 +0000 (12:12 +0000)]
Use PBD::find_file_in_search_path and ardour/filesystem_paths.h to find pixmaps

git-svn-id: svn://localhost/ardour2/trunk@2063 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoAdd ARDOUR::system_data_search_path to ardour/filesystem_paths.h
Tim Mayberry [Wed, 27 Jun 2007 12:12:43 +0000 (12:12 +0000)]
Add ARDOUR::system_data_search_path to ardour/filesystem_paths.h

git-svn-id: svn://localhost/ardour2/trunk@2062 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoRemove unused function ARDOUR::find_config_file
Tim Mayberry [Wed, 27 Jun 2007 12:12:41 +0000 (12:12 +0000)]
Remove unused function ARDOUR::find_config_file

git-svn-id: svn://localhost/ardour2/trunk@2061 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoUse signal_toggled instead of signal_clicked in ThemeManager so a theme is only ...
Tim Mayberry [Wed, 27 Jun 2007 12:12:39 +0000 (12:12 +0000)]
Use signal_toggled instead of signal_clicked in ThemeManager so a theme is only "loaded" once.

git-svn-id: svn://localhost/ardour2/trunk@2060 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoMove some code from ARDOUR_UI::setup_theme to ThemeManager::setup_theme
Tim Mayberry [Wed, 27 Jun 2007 12:12:38 +0000 (12:12 +0000)]
Move some code from ARDOUR_UI::setup_theme to ThemeManager::setup_theme

git-svn-id: svn://localhost/ardour2/trunk@2059 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoUse PBD::find_file_in_search_path instead of ARDOUR::find_config_file to find key...
Tim Mayberry [Wed, 27 Jun 2007 12:12:36 +0000 (12:12 +0000)]
Use PBD::find_file_in_search_path instead of ARDOUR::find_config_file to find key bindings file

git-svn-id: svn://localhost/ardour2/trunk@2058 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoMove ARDOUR_UI::ThemeChanged signal into Gtkmm2ext::UI
Tim Mayberry [Wed, 27 Jun 2007 12:12:34 +0000 (12:12 +0000)]
Move ARDOUR_UI::ThemeChanged signal into Gtkmm2ext::UI

This means ThemeManager no longer depends on ARDOUR_UI

git-svn-id: svn://localhost/ardour2/trunk@2057 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoUse PBD::find_file_in_search_path in ThemeManager to find the rc file.
Tim Mayberry [Wed, 27 Jun 2007 12:12:31 +0000 (12:12 +0000)]
Use PBD::find_file_in_search_path in ThemeManager to find the rc file.

git-svn-id: svn://localhost/ardour2/trunk@2056 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoUse PBD::find_file_in_search_path instead of find_config_file in ActionManager::init
Tim Mayberry [Wed, 27 Jun 2007 12:12:29 +0000 (12:12 +0000)]
Use PBD::find_file_in_search_path instead of find_config_file in ActionManager::init

git-svn-id: svn://localhost/ardour2/trunk@2055 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoAdd ARDOUR::ardour_search_path that contains the directories in the ARDOUR_PATH envir...
Tim Mayberry [Wed, 27 Jun 2007 12:12:28 +0000 (12:12 +0000)]
Add ARDOUR::ardour_search_path that contains the directories in the ARDOUR_PATH environment variable.

Rename ARDOUR::config_search_path to ARDOUR::system_config_search_path

Use PBD::find_file_in_search_path in Configuration::load_state

git-svn-id: svn://localhost/ardour2/trunk@2054 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoAdd ARDOUR::config_search_path
Tim Mayberry [Wed, 27 Jun 2007 12:12:26 +0000 (12:12 +0000)]
Add ARDOUR::config_search_path

git-svn-id: svn://localhost/ardour2/trunk@2053 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoRename ARDOUR::system_module_directory ARDOUR::ardour_module_directory
Tim Mayberry [Wed, 27 Jun 2007 12:12:24 +0000 (12:12 +0000)]
Rename ARDOUR::system_module_directory ARDOUR::ardour_module_directory

git-svn-id: svn://localhost/ardour2/trunk@2052 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoAdd PBD::system_data_directories and PBD::system_config_directories
Tim Mayberry [Wed, 27 Jun 2007 12:12:22 +0000 (12:12 +0000)]
Add PBD::system_data_directories and PBD::system_config_directories

These two functions are for convenience and wrap the glib functions
g_get_system_data_dirs and g_get_system_config_dirs.

git-svn-id: svn://localhost/ardour2/trunk@2051 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoUse sys::path and ARDOUR::user_config_directory in VSTPlugin::get_state
Tim Mayberry [Wed, 27 Jun 2007 12:12:20 +0000 (12:12 +0000)]
Use sys::path and ARDOUR::user_config_directory in VSTPlugin::get_state

This is so I can remove ARDOUR::get_user_ardour_path which is replaced by
ARDOUR::user_config_directory

git-svn-id: svn://localhost/ardour2/trunk@2050 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoReplace code for finding ControlProtocols/Surface plugins with a portable equivalent.
Tim Mayberry [Wed, 27 Jun 2007 12:12:18 +0000 (12:12 +0000)]
Replace code for finding ControlProtocols/Surface plugins with a portable equivalent.

Remove Session::control_protocol_path and the supporting non-portable
Session::suffixed_search_path from Session.

Add ARDOUR::control_protocol_search_path which is used in place of
Session::control_protocol_path

Replace ARDOUR::get_system_module_path with ARDOUR::system_module_directory which
is used by ARDOUR::control_protocol_search_path

Export ARDOUR_SURFACES_PATH in gtk2_ardour/ardev_common.sh which is returned
by ARDOUR::control_protocol_search_path if defined. This means the control surfaces
in the libs/surfaces/* directories can now be used without installing them.

Add pbd/file_utils.h/cc containing functions for finding files matching a certain
pattern

Update documentation in SearchPath and add another constructor that takes
a sys::path

git-svn-id: svn://localhost/ardour2/trunk@2049 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoRemove AudioLibrary::uri2path and use Glib::filename_from_path in its place
Tim Mayberry [Wed, 27 Jun 2007 12:12:14 +0000 (12:12 +0000)]
Remove AudioLibrary::uri2path and use Glib::filename_from_path in its place

git-svn-id: svn://localhost/ardour2/trunk@2048 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoRemove AudioLibrary::path2uri and use Glib::filename_to_uri instead
Tim Mayberry [Wed, 27 Jun 2007 12:12:12 +0000 (12:12 +0000)]
Remove AudioLibrary::path2uri and use Glib::filename_to_uri instead

git-svn-id: svn://localhost/ardour2/trunk@2047 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoUse sys::path and ARDOUR::user_config_directory in AudioLibrary for portablility
Tim Mayberry [Wed, 27 Jun 2007 12:12:10 +0000 (12:12 +0000)]
Use sys::path and ARDOUR::user_config_directory in AudioLibrary for portablility

Use Glib::filename_to_uri to create the src uri(which didn't look valid as it was)

git-svn-id: svn://localhost/ardour2/trunk@2046 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoUse sys::path and ARDOUR::user_config_directory in ARDOUR::read/write_recent_sessions
Tim Mayberry [Wed, 27 Jun 2007 12:12:09 +0000 (12:12 +0000)]
Use sys::path and ARDOUR::user_config_directory in ARDOUR::read/write_recent_sessions

git-svn-id: svn://localhost/ardour2/trunk@2045 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoUse sys::path and ARDOUR::user_config_directory in Configuration::save_state for...
Tim Mayberry [Wed, 27 Jun 2007 12:12:07 +0000 (12:12 +0000)]
Use sys::path and ARDOUR::user_config_directory in Configuration::save_state for portability

git-svn-id: svn://localhost/ardour2/trunk@2044 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoUse ARDOUR::user_config_directory in Configuration::*instant_xml
Tim Mayberry [Wed, 27 Jun 2007 12:12:06 +0000 (12:12 +0000)]
Use ARDOUR::user_config_directory in Configuration::*instant_xml

Stateful::add_instant_xml was modified so it would create the user
config directory if it doesn't exist, create_directories may throw
if it cannot be created. This isn't a change in behaviour as
ARDOUR::get_user_ardour_path also throws an exception(although I
can't see any existing code to handle it)

git-svn-id: svn://localhost/ardour2/trunk@2043 d708f5d6-7413-0410-9779-e7cbd77b26cf

17 years agoUse ARDOUR::user_config_directory in ARDOUR::user_template_directory
Tim Mayberry [Wed, 27 Jun 2007 12:12:03 +0000 (12:12 +0000)]
Use ARDOUR::user_config_directory in ARDOUR::user_template_directory

git-svn-id: svn://localhost/ardour2/trunk@2042 d708f5d6-7413-0410-9779-e7cbd77b26cf