ardour.git
16 years agoReading of MIDI CC from MIDI regions (MidiModel). UI still needs work though..
David Robillard [Fri, 31 Aug 2007 05:02:45 +0000 (05:02 +0000)]
Reading of MIDI CC from MIDI regions (MidiModel).  UI still needs work though..
Various fixes for linear/integer AutomationList interpolation (for CC).

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

16 years agoSplit MidiModel::Note out to ARDOUR::Note in it's own file (midi_model.h was getting...
David Robillard [Tue, 28 Aug 2007 17:48:37 +0000 (17:48 +0000)]
Split MidiModel::Note out to ARDOUR::Note in it's own file (midi_model.h was getting fat).
Initial work on MidiModel iterator.

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

16 years agoRestrict template filechooser to displaying only template files. Fixes bug 1823.
Tim Mayberry [Mon, 27 Aug 2007 11:21:55 +0000 (11:21 +0000)]
Restrict template filechooser to displaying only template files. Fixes bug 1823.

It previously allowed ardour session files and session backup files to be
selected as templates, this was causing strange behaviour or segmentation
faults. see bug report for more details.

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

16 years agoAdd contact information to the contribution page in manual
Tim Mayberry [Mon, 27 Aug 2007 01:03:55 +0000 (01:03 +0000)]
Add contact information to the contribution page in manual

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

16 years agoRemove any backup files resulting from formatting the manual in make clean
Tim Mayberry [Sun, 19 Aug 2007 02:45:27 +0000 (02:45 +0000)]
Remove any backup files resulting from formatting the manual in make clean

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

16 years agoModify the format make target to correctly find all xml files in the xml/ directory...
Tim Mayberry [Sun, 19 Aug 2007 02:45:24 +0000 (02:45 +0000)]
Modify the format make target to correctly find all xml files in the xml/ directory and any subdirectories

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

16 years agoFix the formatting of appendix elements in the manual
Tim Mayberry [Sun, 19 Aug 2007 02:45:16 +0000 (02:45 +0000)]
Fix the formatting of appendix elements in the manual

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

16 years agoPer-region MIDI CC "automation".
David Robillard [Fri, 17 Aug 2007 17:25:20 +0000 (17:25 +0000)]
Per-region MIDI CC "automation".
Extremely broken in several ways.
This commit brought to you by the letters D, R, and my need to switch machines.

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

16 years agoAdd warning to manual help target about running scons before building the manual
Tim Mayberry [Thu, 16 Aug 2007 01:53:50 +0000 (01:53 +0000)]
Add warning to manual help target about running scons before building the manual

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

16 years agoFix the ARDOUR_COMMAND entity in manual entities file
Tim Mayberry [Thu, 16 Aug 2007 01:53:47 +0000 (01:53 +0000)]
Fix the ARDOUR_COMMAND entity in manual entities file

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

16 years agoUse scons to generate manual entities so the manual version is consistant with the...
Tim Mayberry [Thu, 16 Aug 2007 01:53:44 +0000 (01:53 +0000)]
Use scons to generate manual entities so the manual version is consistant with the Ardour version

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

16 years agoMake SMFSource suck significantly less.
David Robillard [Thu, 16 Aug 2007 01:25:58 +0000 (01:25 +0000)]
Make SMFSource suck significantly less.
Read from MidiRingbuffer directly into model, don't read MidiRingBuffer into a new midi buffer, then into the model.
Pass rec data to UI via model instead of a separate buffer.
Read MIDI CC data into MidiModel (though not actually used yet).
Made quantization toggle edited flag so model is saved.

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

16 years agofix invisible tearoff arrow for light theme
Doug McLain [Wed, 15 Aug 2007 04:29:35 +0000 (04:29 +0000)]
fix invisible tearoff arrow for light theme

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

16 years agoFix segfault due to uninitialised variable
Carl Hetherington [Tue, 14 Aug 2007 10:49:29 +0000 (10:49 +0000)]
Fix segfault due to uninitialised variable

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

16 years agoRemove redundant view <-> model value mapping stuff from AudioRegionGainLine.
David Robillard [Mon, 13 Aug 2007 21:38:04 +0000 (21:38 +0000)]
Remove redundant view <-> model value mapping stuff from AudioRegionGainLine.

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

16 years agoFix region gain envelope line colour (was 100% transparent).
David Robillard [Mon, 13 Aug 2007 21:19:29 +0000 (21:19 +0000)]
Fix region gain envelope line colour (was 100% transparent).

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

16 years agoRemove excessive SMF "Wrote EOT" printing.
David Robillard [Mon, 13 Aug 2007 20:27:38 +0000 (20:27 +0000)]
Remove excessive SMF "Wrote EOT" printing.
Shave a few bytes off each ControlPoint if not used by a Curve (24 bytes on 64-bit).

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

16 years agoFix (edited) MIDI saving restoring (restore note offs/durations correctly).
David Robillard [Mon, 13 Aug 2007 15:32:29 +0000 (15:32 +0000)]
Fix (edited) MIDI saving restoring (restore note offs/durations correctly).

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

16 years agoSaving of edited MIDI data to disk (on session save).
David Robillard [Sat, 11 Aug 2007 06:17:42 +0000 (06:17 +0000)]
Saving of edited MIDI data to disk (on session save).
Seems to be a pretty random problem with note duration restoring though...

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

16 years agoFix MIDI file names on recording (don't write out a ton of useless empty .mid files).
David Robillard [Sat, 11 Aug 2007 00:22:57 +0000 (00:22 +0000)]
Fix MIDI file names on recording (don't write out a ton of useless empty .mid files).
Preliminary hooks for writing model to file (still does nothing).

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

16 years agoFix crash on audio region bounce. Not sure if it's correct though...
David Robillard [Fri, 10 Aug 2007 23:28:53 +0000 (23:28 +0000)]
Fix crash on audio region bounce.  Not sure if it's correct though...

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

16 years agoFix some evil "tabs".
David Robillard [Fri, 10 Aug 2007 20:55:27 +0000 (20:55 +0000)]
Fix some evil "tabs".
Switch canvas cursor for MIDI tools.
Fix delete tool bug (touch delete always on).

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

16 years agoTouch select (hold left <Shift> or <Control>).
David Robillard [Fri, 10 Aug 2007 19:16:21 +0000 (19:16 +0000)]
Touch select (hold left <Shift> or <Control>).
Fix crash on note delete.

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

16 years agoRemove excessive printing during note dragging.
David Robillard [Fri, 10 Aug 2007 00:32:59 +0000 (00:32 +0000)]
Remove excessive printing during note dragging.

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

16 years agoFix rect select to work in all directions.
David Robillard [Thu, 9 Aug 2007 22:34:56 +0000 (22:34 +0000)]
Fix rect select to work in all directions.

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

16 years agoMake MIDI tools actually do something. Sorta. Sometimes.
David Robillard [Thu, 9 Aug 2007 20:50:56 +0000 (20:50 +0000)]
Make MIDI tools actually do something.  Sorta.  Sometimes.
When the moon is right.
Cosmic radiation may be a factor.
Prayer may not be an entirely bad idea, just in case.

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

16 years agoAdded missing MIDI tool pixmaps.
David Robillard [Wed, 8 Aug 2007 21:05:09 +0000 (21:05 +0000)]
Added missing MIDI tool pixmaps.

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

16 years agoFirst appearance of MIDI edit tool bar. Toggles when delete held, but otherwise...
David Robillard [Wed, 8 Aug 2007 19:13:36 +0000 (19:13 +0000)]
First appearance of MIDI edit tool bar.  Toggles when delete held, but otherwise still useless, pending some UI figuring out...

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

16 years agoMulti-note (ie selection) dragging.
David Robillard [Wed, 8 Aug 2007 02:01:14 +0000 (02:01 +0000)]
Multi-note (ie selection) dragging.

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

16 years agoFix note separator lines from stealing mouse events.
David Robillard [Tue, 7 Aug 2007 20:51:24 +0000 (20:51 +0000)]
Fix note separator lines from stealing mouse events.
Fix shutdown crash (one of many, namely the least nasty).
Failed attempt at getting MIDI edits to apply ASAP (Diskstream::playlist_modified isn't the magic I'd hoped it was).

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

16 years agoFix note-offs during playback from model.
David Robillard [Tue, 7 Aug 2007 00:28:06 +0000 (00:28 +0000)]
Fix note-offs during playback from model.

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

16 years agoRidiculously CPU-chewey rect select (for sustained notes only ATM).
David Robillard [Tue, 7 Aug 2007 00:09:22 +0000 (00:09 +0000)]
Ridiculously CPU-chewey rect select (for sustained notes only ATM).

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

16 years agoslightly improved fixes for MIDI issues
Paul Davis [Mon, 6 Aug 2007 17:50:23 +0000 (17:50 +0000)]
slightly improved fixes for MIDI issues

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

16 years agoFix startup crashes from recent MIDI stuff.
David Robillard [Mon, 6 Aug 2007 17:44:07 +0000 (17:44 +0000)]
Fix startup crashes from recent MIDI stuff.

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

16 years agoAdded missing files.
David Robillard [Mon, 6 Aug 2007 16:43:14 +0000 (16:43 +0000)]
Added missing files.

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

16 years agomerge changes to libmidi++ API from 2.0-ongoing
Paul Davis [Mon, 6 Aug 2007 14:19:19 +0000 (14:19 +0000)]
merge changes to libmidi++ API from 2.0-ongoing

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

16 years agoFix note range toggling (ie actually change visible range when menu option selected...
David Robillard [Mon, 6 Aug 2007 06:09:41 +0000 (06:09 +0000)]
Fix note range toggling (ie actually change visible range when menu option selected).  Still some issue with initial value...
Don't raise tempo lines to top on editor canvas, they steal events.  Same problem on time canvas, but harder to solve...

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

16 years agoGenericificationalizeified AudioFilter (now Filter).
David Robillard [Mon, 6 Aug 2007 05:30:18 +0000 (05:30 +0000)]
Genericificationalizeified AudioFilter (now Filter).
Added primitive (non-undoable, placeholder, etc) quantization.

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

16 years agoFix for deadlock in Session::remove_source that was committed in rev 1815
Tim Mayberry [Mon, 6 Aug 2007 04:45:24 +0000 (04:45 +0000)]
Fix for deadlock in Session::remove_source that was committed in rev 1815

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

16 years agoBrought back visual indication of delete dragging.
David Robillard [Mon, 6 Aug 2007 01:00:23 +0000 (01:00 +0000)]
Brought back visual indication of delete dragging.

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

16 years agoDon't draw measure lins a ton of times... but still drawn twice on initial session...
David Robillard [Mon, 6 Aug 2007 00:35:29 +0000 (00:35 +0000)]
Don't draw measure lins a ton of times... but still drawn twice on initial session display :/

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

16 years agoClear selection when clicking region background (usual HiGgey stuff).
David Robillard [Sun, 5 Aug 2007 23:33:21 +0000 (23:33 +0000)]
Clear selection when clicking region background (usual HiGgey stuff).

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

16 years agoI can't believe it's not one canvas! (TM)
David Robillard [Sun, 5 Aug 2007 23:17:40 +0000 (23:17 +0000)]
I can't believe it's not one canvas! (TM)

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

16 years agoPulled tempo line stuff out into it's own relatively self-contained class.
David Robillard [Sun, 5 Aug 2007 21:31:02 +0000 (21:31 +0000)]
Pulled tempo line stuff out into it's own relatively self-contained class.
Draw tempo lines on time canvas and connect them up all pretty-like to the ruler ticks.
Still needs some visual tweaking, but... they draw!  Finally!

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

16 years agoSelection deleting.
David Robillard [Sun, 5 Aug 2007 00:50:54 +0000 (00:50 +0000)]
Selection deleting.

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

16 years agoNote selection via clicking (including multi-note selection via ctrl/shift clicking).
David Robillard [Sun, 5 Aug 2007 00:33:14 +0000 (00:33 +0000)]
Note selection via clicking (including multi-note selection via ctrl/shift clicking).

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

16 years agoTheme-ified MIDI note colours, implemented automagic crossfading thereof.
David Robillard [Sat, 4 Aug 2007 18:43:32 +0000 (18:43 +0000)]
Theme-ified MIDI note colours, implemented automagic crossfading thereof.

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

16 years agoFix vertical note dragging 'double distance' bug.
David Robillard [Sat, 4 Aug 2007 17:02:24 +0000 (17:02 +0000)]
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

16 years agoLine up percussion hits correctly.
David Robillard [Sat, 4 Aug 2007 15:51:04 +0000 (15:51 +0000)]
Line up percussion hits correctly.

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

16 years agoObey snap setting for MIDI stuff.
David Robillard [Sat, 4 Aug 2007 05:34:51 +0000 (05:34 +0000)]
Obey snap setting for MIDI stuff.

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

16 years agoMoved note height/range/etc stuff from MidiRegionView to MidiStreamView, since it...
David Robillard [Sat, 4 Aug 2007 04:18:34 +0000 (04:18 +0000)]
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

16 years agoSwitched to right mouse button for note adding.
David Robillard [Sat, 4 Aug 2007 01:07:21 +0000 (01:07 +0000)]
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

16 years agoLittle MidiEvent prettification additions, ifdef'd non-realtime aspects (for future...
David Robillard [Thu, 2 Aug 2007 21:08:18 +0000 (21:08 +0000)]
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

16 years agofix bad dynamic cast
Paul Davis [Thu, 2 Aug 2007 19:57:42 +0000 (19:57 +0000)]
fix bad dynamic cast

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

16 years agoUI RC files are now generated by scons
Paul Davis [Thu, 2 Aug 2007 19:23:38 +0000 (19:23 +0000)]
UI RC files are now generated by scons

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

16 years agoadd theme files to default target, and install using target names
Paul Davis [Thu, 2 Aug 2007 19:18:40 +0000 (19:18 +0000)]
add theme files to default target, and install using target names

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

16 years ago... commit in top level instead of gtk2_ardour. whoops.
David Robillard [Thu, 2 Aug 2007 04:45:16 +0000 (04:45 +0000)]
... commit in top level instead of gtk2_ardour.  whoops.

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

16 years agoFunctional note moving.
David Robillard [Thu, 2 Aug 2007 04:43:43 +0000 (04:43 +0000)]
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

16 years agoSnap note dragging vertically to note values (rows).
David Robillard [Thu, 2 Aug 2007 02:05:00 +0000 (02:05 +0000)]
Snap note dragging vertically to note values (rows).

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

16 years agoFix note delete crash bug.
David Robillard [Wed, 1 Aug 2007 23:18:56 +0000 (23:18 +0000)]
Fix note delete crash bug.
Fix midi recording crash bug.

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

16 years agouse XML state to store processors in mixer (strips) and fixup crash caused by missing...
Paul Davis [Wed, 1 Aug 2007 22:18:46 +0000 (22:18 +0000)]
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

16 years agoNote deleting.
David Robillard [Wed, 1 Aug 2007 21:59:07 +0000 (21:59 +0000)]
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

16 years agoBetter MidiModel command framework, ready to go for all your canvas editing needs.
David Robillard [Wed, 1 Aug 2007 20:50:09 +0000 (20:50 +0000)]
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

16 years agonew proto-script to generate OS X UI RC files from the linux base version
Paul Davis [Wed, 1 Aug 2007 14:37:51 +0000 (14:37 +0000)]
new proto-script to generate OS X UI RC files from the linux base version

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

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