13
0
Commit Graph

845 Commits

Author SHA1 Message Date
4808f7fe8b fix up and re-enable MTC transmission
git-svn-id: svn://localhost/ardour2/branches/3.0@3158 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-19 18:10:51 +00:00
d9faaed2c1 reduce (from 5k to 512) the number of events that non-process() threads may write into a JACK_MidiPort per process cycle
git-svn-id: svn://localhost/ardour2/branches/3.0@3157 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-19 17:30:42 +00:00
3a29796405 reinstate Ye Olde MIDI (input) thread; fix up a few startup warnings
git-svn-id: svn://localhost/ardour2/branches/3.0@3156 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-19 17:25:37 +00:00
eb4a1fdbb8 refactor JACK MIDI port to allow writing from a non-process() thread, and move ARDOUR::MidiEvent into MIDI namespace along with midi_events.h header
git-svn-id: svn://localhost/ardour2/branches/3.0@3155 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-18 03:42:32 +00:00
d69f4e9e3d band-aid fix for wrong-thread-MIDI-writes
git-svn-id: svn://localhost/ardour2/branches/3.0@3154 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-18 00:58:36 +00:00
4ca4a8e237 added back glibmm2/Makefile.am
git-svn-id: svn://localhost/ardour2/branches/3.0@3153 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-17 20:54:43 +00:00
997e4b1f9c merge with 2.0-ongoing @ rev 3147
git-svn-id: svn://localhost/ardour2/branches/3.0@3152 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-17 20:54:03 +00:00
19a4b99032 cleanup to build glibmm the way we actually want
git-svn-id: svn://localhost/ardour2/branches/3.0@3148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-17 14:30:05 +00:00
884f08ef50 Remove SMF file name print for every opened source.
Fix crash on startup when installed (splash.png not found).


git-svn-id: svn://localhost/ardour2/branches/3.0@3108 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-22 04:13:44 +00:00
faf4e1d8e8 Clean up weird formatting from underlays patch.
Fix several memory (valgrind) errors in a vain attempt to fix crash on session close.


git-svn-id: svn://localhost/ardour2/branches/3.0@3105 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-22 01:45:29 +00:00
4d94305cc9 Fix install path problems (s/ardour2/ardour3).
Fix finding of keybindings file when running from source tree (via ardev/ardbg).
Fix clashing keybindings for zoom stuff.
Add note tool keybinding and menu entry.


git-svn-id: svn://localhost/ardour2/branches/3.0@3099 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-21 19:30:01 +00:00
0d0bd81a75 Fix timing on MIDI import.
git-svn-id: svn://localhost/ardour2/branches/3.0@3093 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-21 00:15:20 +00:00
68bfed0a46 Some work towards MIDI plugins (LV2 plugins with (MIDI supporting) event ports shown in plugin selector).
git-svn-id: svn://localhost/ardour2/branches/3.0@3092 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-20 23:24:51 +00:00
a2a6cc0404 Merge with 2.0-ongoing R3082.
Superficial generification of export stuff.


git-svn-id: svn://localhost/ardour2/branches/3.0@3088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-19 22:10:27 +00:00
4cbd7f0eab Added missing file.
git-svn-id: svn://localhost/ardour2/branches/3.0@3087 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-19 03:40:25 +00:00
012292b4bd Less crash-happy MIDI reading on weird MIDI files.
Make "show existing automation" create/show automation tracks for all contained CC in MIDI tracks.
Fix staggered time when importing multi-track MIDI files.


git-svn-id: svn://localhost/ardour2/branches/3.0@3086 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-19 03:24:44 +00:00
b79d5bfad3 'Channel safe' MIDI:
Resolve note on/off pairs in MidiModel.
Add channel field to Parameter (for associating a channel with a CC list).
Add channel selector to 'add controller automation' dialog.
Write out note and CC MIDI events with proper channel.


git-svn-id: svn://localhost/ardour2/branches/3.0@3085 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-19 01:31:24 +00:00
466500fdaf Channel-aware note recording in MidiModel (i.e. multi-channel note input doesn't cause stuck notes).
Fix MIDI regions randomly displaying 100% stuck notes (uninitialized MidiPlaylist::_note_mode).


git-svn-id: svn://localhost/ardour2/branches/3.0@3084 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-18 23:30:27 +00:00
fbfb26b45c Preliminary (read: kludgey) MIDI import support.
Only really works when tracks contain only channel 1 data for now.


git-svn-id: svn://localhost/ardour2/branches/3.0@3083 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-18 19:45:52 +00:00
8fed7470f5 Merge with 2.0-ongoing R3077.
git-svn-id: svn://localhost/ardour2/branches/3.0@3078 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-17 17:49:38 +00:00
859e9106e7 Merge with 2.0-ongoing R3071.
git-svn-id: svn://localhost/ardour2/branches/3.0@3074 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-16 22:55:47 +00:00
1b65758557 Committed underlay support (from Audun).
git-svn-id: svn://localhost/ardour2/branches/3.0@3037 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-10 18:16:25 +00:00
e76b028ffd Fix libsndfile warning (useless conditional).
git-svn-id: svn://localhost/ardour2/branches/3.0@3004 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-04 00:29:54 +00:00
22682d448a Fix domain to match 2.0-ongoing style.
git-svn-id: svn://localhost/ardour2/branches/3.0@3003 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-04 00:21:46 +00:00
6252d74308 Added missing file.
git-svn-id: svn://localhost/ardour2/branches/3.0@3002 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-03 22:31:40 +00:00
b4b3278bd8 Update clearlooks to fancy new cairo version.
Twiddle colours and throw some gloss in there mostly just to show off.


git-svn-id: svn://localhost/ardour2/branches/3.0@3000 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-03 20:33:49 +00:00
d747d82f65 Sort various things to reduce merge hell. No functional changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@2992 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-02 17:46:56 +00:00
80c3677c83 Merge with 2.0-ongoing R2988
git-svn-id: svn://localhost/ardour2/branches/3.0@2991 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-02 17:22:04 +00:00
9f63ab9931 Merge with trunk R2978.
git-svn-id: svn://localhost/ardour2/branches/3.0@2988 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-02 03:57:35 +00:00
7295d8e9f6 Merge with 2.0-ongoing R2943.
git-svn-id: svn://localhost/ardour2/branches/3.0@2944 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-19 05:06:33 +00:00
4ca1fe7993 Merge with trunk R2935.
git-svn-id: svn://localhost/ardour2/branches/3.0@2943 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-19 03:49:52 +00:00
544140df8b Added missing files.
git-svn-id: svn://localhost/ardour2/trunk@2928 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-17 02:45:35 +00:00
48ed9dc2c4 MIDI region stretching.
git-svn-id: svn://localhost/ardour2/trunk@2927 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-17 00:37:46 +00:00
ac1a255706 Merge with trunk R2920.
git-svn-id: svn://localhost/ardour2/trunk@2921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-15 17:23:57 +00:00
b2e3b18dab Fix problem with notes occasionally not showing up at all.
git-svn-id: svn://localhost/ardour2/trunk@2919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-15 03:32:51 +00:00
5a1d3e851d Partially fix MIDI region trim and extend.
git-svn-id: svn://localhost/ardour2/trunk@2911 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-14 01:30:38 +00:00
794917fca7 Install everything to *ardour3* instead of *ardour2*.
Fix initial display of keys and scroomer on new MIDI tracks.
Remove console barf.


git-svn-id: svn://localhost/ardour2/trunk@2909 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-13 21:34:04 +00:00
2db91c126e Apply MIDI keyboard and "scroomer" patch.
git-svn-id: svn://localhost/ardour2/trunk@2908 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-13 17:45:17 +00:00
f8e3d652e9 Reduce console noise.
git-svn-id: svn://localhost/ardour2/trunk@2906 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-13 00:39:58 +00:00
c78c44ccd7 Fix MIDI playback.
git-svn-id: svn://localhost/ardour2/trunk@2905 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-13 00:27:13 +00:00
e92c1669c1 Merge with 2.0-ongoing R2885.
Fix loading of 2.0 sessions.


git-svn-id: svn://localhost/ardour2/trunk@2904 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-12 23:45:50 +00:00
821e4763fd Merge with 2.0-ongoing R2885.
git-svn-id: svn://localhost/ardour2/trunk@2886 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-10 22:29:26 +00:00
8a2e30816e Merge with 2.0-ongoing R2883.
git-svn-id: svn://localhost/ardour2/trunk@2885 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-10 22:22:29 +00:00
bb457bb960 Merge libs/ardour and gtk2_ardour with 2.0-ongoing R2837.
git-svn-id: svn://localhost/ardour2/trunk@2883 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-10 21:20:59 +00:00
Doug McLain
b42213bb04 Port level meters to trunk
git-svn-id: svn://localhost/ardour2/trunk@2802 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-12-20 23:25:19 +00:00
c430323217 Added missing file.
git-svn-id: svn://localhost/ardour2/trunk@2794 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-12-18 22:46:49 +00:00
bbda535cf3 Make configure script executable.
git-svn-id: svn://localhost/ardour2/trunk@2793 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-12-18 22:31:38 +00:00
47a41c0d4d Fix building.
git-svn-id: svn://localhost/ardour2/trunk@2791 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-12-18 07:20:02 +00:00
35fc31a1de Remove ancient/unused flowcanvas and libglademm from repository.
Update libraries to latest stable released version (except gnomecanvasmm, which is strangely packaged...).
Fixes building (at least here).


git-svn-id: svn://localhost/ardour2/trunk@2790 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-12-18 06:05:55 +00:00
f2aa623858 Use normal Processor run_in_place interface on Meter.
git-svn-id: svn://localhost/ardour2/trunk@2714 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-26 01:29:11 +00:00
118816dfe3 Fix crash on MIDI region split.
git-svn-id: svn://localhost/ardour2/trunk@2712 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-25 00:28:35 +00:00
db718a7f17 Change return type of Session::import_audiofiles to void as the int return value was not used
git-svn-id: svn://localhost/ardour2/trunk@2677 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:32:40 +00:00
a39a9ea2d4 Rename Session::import_audiofile to Session::import_audiofiles now that it imports more than a single file
git-svn-id: svn://localhost/ardour2/trunk@2676 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:32:35 +00:00
b5e959cc4c Improve the readability of Session::import_audiofile
git-svn-id: svn://localhost/ardour2/trunk@2675 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:32:30 +00:00
c6062e8828 Refactor Session::import_audiofile to reduce complexity and remove use of goto
git-svn-id: svn://localhost/ardour2/trunk@2674 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:32:27 +00:00
3a25065653 Remove an unnessesary use of goto in Session::import_audiofile
git-svn-id: svn://localhost/ardour2/trunk@2673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:32:23 +00:00
03d3147d32 Check for cancel at the top of the main loop in Session::import_audiofile rather than using goto
git-svn-id: svn://localhost/ardour2/trunk@2672 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:32:20 +00:00
7bddf6208f Use sys::basename instead of PBD::basename_nosuffix in Session::import_audiofile
git-svn-id: svn://localhost/ardour2/trunk@2671 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:32:15 +00:00
20d6a70b15 Simplify finalization code in Session::import_audiofile
git-svn-id: svn://localhost/ardour2/trunk@2670 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:32:11 +00:00
7976efd071 Use std::copy instead of for loop in Session::import_audiofile
git-svn-id: svn://localhost/ardour2/trunk@2669 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:32:07 +00:00
822d1a1b84 Use full name of file being imported in status message during import
git-svn-id: svn://localhost/ardour2/trunk@2668 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:32:01 +00:00
27b022bdeb Pass a path argument to ImportableSource rather than SNDFILE handle so resource management is contained
git-svn-id: svn://localhost/ardour2/trunk@2667 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:31:58 +00:00
4076f7714a Fix mixed usage of tabs and spaces for indentation in ardour/importable_source.h
git-svn-id: svn://localhost/ardour2/trunk@2666 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:31:54 +00:00
3bf4a04d94 Use std::auto_ptr instead of boost::scoped_ptr in Session::import_audiofile
git-svn-id: svn://localhost/ardour2/trunk@2665 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:31:46 +00:00
e34d3e3312 Move variable declaration closer to usage
git-svn-id: svn://localhost/ardour2/trunk@2664 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:31:43 +00:00
a45598ec2a Use sys::remove instead of ::unlink in Session::import_audiofile for portability
git-svn-id: svn://localhost/ardour2/trunk@2663 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:31:39 +00:00
da48c50527 Remove unused variable in Session::import_audiofile
git-svn-id: svn://localhost/ardour2/trunk@2662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:31:36 +00:00
e1fde117b4 Use scoped_ptr in Session::import_audiofile to manage ImportableSource
git-svn-id: svn://localhost/ardour2/trunk@2661 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:31:32 +00:00
9e8afdd306 Refactor part of Session::import_audiofile into write_audio_data_to_new_files utility function
git-svn-id: svn://localhost/ardour2/trunk@2660 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:31:28 +00:00
1bffd1c209 Use std::vector and boost::shared_array instead of raw arrays for channel data in Session::import_audiofile
git-svn-id: svn://localhost/ardour2/trunk@2659 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:31:23 +00:00
4f7e6c0714 Use boost::scoped_array to manage working buffer for RAII in Session::import_audiofile
git-svn-id: svn://localhost/ardour2/trunk@2658 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:31:19 +00:00
4e89709c2d Move filename generation in Session::import_audiofile to utility function get_non_existent_filename
git-svn-id: svn://localhost/ardour2/trunk@2657 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:31:14 +00:00
1c70e4393e Use boost::shared_ptr for RAII with a SNDFILE handle in Session::import_audiofile
A scoped_ptr would be more suitable and efficient but scoped_ptr doesn't support
a custom deleter function(sf_close in this case), there are ways around that
limitation but I don't think it is worth doing at this point as it requires more
code etc.


git-svn-id: svn://localhost/ardour2/trunk@2656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-15 02:31:09 +00:00
Carl Hetherington
49df5c24a9 More missing bits.
git-svn-id: svn://localhost/ardour2/trunk@2650 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 11:09:40 +00:00
Carl Hetherington
f44e2a5e69 Yet more missing things. I'm going slightly mad.
git-svn-id: svn://localhost/ardour2/trunk@2649 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 11:00:40 +00:00
Carl Hetherington
cec0caf4fc Add some more bits.
git-svn-id: svn://localhost/ardour2/trunk@2648 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 10:55:13 +00:00
Carl Hetherington
9c98fdec1b Fix up permissions.
git-svn-id: svn://localhost/ardour2/trunk@2647 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 10:54:16 +00:00
Carl Hetherington
a1e55f9367 Fix up permissions.
git-svn-id: svn://localhost/ardour2/trunk@2646 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 10:53:56 +00:00
Carl Hetherington
aa6faa86b5 More missing stuff...
git-svn-id: svn://localhost/ardour2/trunk@2645 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 10:45:40 +00:00
Carl Hetherington
a313924b77 Re-add glibmm2 properly.
git-svn-id: svn://localhost/ardour2/trunk@2644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 10:37:24 +00:00
Carl Hetherington
89f1f09c04 Add stuff missing from yesterday's library commit.
git-svn-id: svn://localhost/ardour2/trunk@2643 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 10:29:44 +00:00
84e1a74e43 Don't log info message when creating session directories
git-svn-id: svn://localhost/ardour2/trunk@2640 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 06:41:12 +00:00
e1351fbe75 Don't log a warning when the system template directory does not exist.
git-svn-id: svn://localhost/ardour2/trunk@2639 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 06:41:02 +00:00
e75fe398ac Remove unused header include from ardour/ladspa_plugin.cc
git-svn-id: svn://localhost/ardour2/trunk@2638 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 06:40:56 +00:00
3b32566d30 Modify Session::path_from_region_name for portability
git-svn-id: svn://localhost/ardour2/trunk@2637 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 06:40:50 +00:00
6dc5e02575 Replace Glib::file_test with sys::exists in Session::path_from_region_name
git-svn-id: svn://localhost/ardour2/trunk@2636 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 06:40:45 +00:00
Carl Hetherington
d346adb1d9 Add missing cairomm lib from previous commit.
git-svn-id: svn://localhost/ardour2/trunk@2631 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-13 00:43:53 +00:00
Carl Hetherington
61c990dfba Upgrade gtkmm to 2.10.8, glibmm to 2.13.3 and add cairomm 1.2.4
git-svn-id: svn://localhost/ardour2/trunk@2630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-12 23:44:49 +00:00
b01bdb7e70 merged with trunk revs 2605-2627
git-svn-id: svn://localhost/ardour2/trunk@2628 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-12 22:23:01 +00:00
badc087263 merged with 2.0-ongoing changes 2582-2605 (not thoroughly tested but it compiles, start up, and creates a new session)
git-svn-id: svn://localhost/ardour2/trunk@2606 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-08 01:40:25 +00:00
8e73c9ee80 patch to prevent (mostly) CD marker being set for the start of the session
git-svn-id: svn://localhost/ardour2/trunk@2601 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-07 02:42:27 +00:00
Carl Hetherington
caa3dde1d4 Fix for some problems with punch ranges.
git-svn-id: svn://localhost/ardour2/trunk@2589 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-05 15:20:44 +00:00
13fce7e753 Do unto MIDI as thou hath done unto audio.
git-svn-id: svn://localhost/ardour2/trunk@2582 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-31 20:08:00 +00:00
0051f92a4c Truly atomic port mixdown function setting.
git-svn-id: svn://localhost/ardour2/trunk@2581 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-31 20:05:49 +00:00
1059b3f48e new files added
git-svn-id: svn://localhost/ardour2/trunk@2580 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-31 18:28:52 +00:00
8ab17e9631 new port design, probably about 90% done (i.e it mostly works and this commit is to stop anyone else from stomping on my changes :)
git-svn-id: svn://localhost/ardour2/trunk@2579 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-31 18:24:43 +00:00
Nick Mainsbridge
cc862d31bd use filechooser widget in export dialog, selected files set format combos, hide progress bar until use in export dialog, speed up 'separate regions in range' operation on larger sessions, ruler scale now calculated separately to mark generation, fix for non-stacked layering regression, try not to generate 'buried' crossfades, use playlist->freeze() to speed up copying/moving regions on large playlists (not done for undo), width dependent items now reset on regionview init, get rid of jack_port_ensure_monitor check, remove audiosourse _length (only source has a length.. i think), make overlapend differ to overlapexternal where start points coincide.
git-svn-id: svn://localhost/ardour2/trunk@2576 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-26 13:32:24 +00:00
0c3f01e540 Use SSE/veclib/whatever for AudioBuffer::accumulate_from
git-svn-id: svn://localhost/ardour2/trunk@2574 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-25 00:42:53 +00:00
7ba6a6c11b Fix mixed space/tab evil in globals.cc for no particular reason.
git-svn-id: svn://localhost/ardour2/trunk@2573 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-25 00:19:09 +00:00
f53f2e8e33 Clean/strengthen up constructor/type stuff in new port system.
git-svn-id: svn://localhost/ardour2/trunk@2572 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-25 00:09:23 +00:00
Carl Hetherington
fc9ab1ccbd Re-work Port construction slightly so that _flags is always initialised before reset() is called. Otherwise a decision is made based on an uninitialised variable (as spotted by valgrind)
git-svn-id: svn://localhost/ardour2/trunk@2568 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-23 14:02:15 +00:00
Carl Hetherington
4d33fbac62 Fix a probably-irrelevant warning from valgrind.
git-svn-id: svn://localhost/ardour2/trunk@2567 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-23 13:33:46 +00:00
Carl Hetherington
20db119cd3 Fix crash due to invalidated shared_ptr, as suggested by Paul
git-svn-id: svn://localhost/ardour2/trunk@2565 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-23 12:50:25 +00:00
Carl Hetherington
77f16522e0 Various work on bundles. We now have a Bundle Manager dialogue, and hopefully things are a bit cleaner internally. This commit changes the session file format with respect to bundles (or Connections as they used to be called).
git-svn-id: svn://localhost/ardour2/trunk@2561 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-19 13:30:07 +00:00
239ec39da6 new internal port type, round I, plus tiny fix for legalize_for_xml() (also for 2.0-ongoing)
git-svn-id: svn://localhost/ardour2/trunk@2559 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-17 16:49:31 +00:00
df28e90c67 Fix compilation.
git-svn-id: svn://localhost/ardour2/trunk@2558 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-17 03:09:38 +00:00
c6c9bfda49 added file
git-svn-id: svn://localhost/ardour2/trunk@2557 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-17 02:09:24 +00:00
f3cf31009a virtualize Port object; clean up automation tracks from track deletion
git-svn-id: svn://localhost/ardour2/trunk@2556 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-16 21:01:12 +00:00
14dcc3f017 Fix displaying of notes in auto-created MIDI region when it's the first region in the track.
Fix crash after recording long phrases of MIDI.
Fix MIDI looping (kinda).
Add note-off exposure to MidiModel::iterator.
Fix first-note-is-stuck-note problem.
Fix resolving long notes while recording.
Fix several other things I forget now.  MIDI works pretty well.....


git-svn-id: svn://localhost/ardour2/trunk@2555 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-14 05:45:31 +00:00
Carl Hetherington
15af67c179 Fix up physical port bundles.
git-svn-id: svn://localhost/ardour2/trunk@2554 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-13 18:10:57 +00:00
50c68c6d0c fix peakfile/sourcefactory botch
git-svn-id: svn://localhost/ardour2/trunk@2546 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-12 14:27:47 +00:00
40d8d96785 fixes for varispeed playback, mackie control compilation, new odd color for treeview rows
git-svn-id: svn://localhost/ardour2/trunk@2544 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-12 02:11:14 +00:00
29f0d9732e add keybinding editor
git-svn-id: svn://localhost/ardour2/trunk@2543 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-12 01:54:35 +00:00
169fd9e368 add missing file
git-svn-id: svn://localhost/ardour2/trunk@2540 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-11 23:39:26 +00:00
f7f9d6fdc4 merge from 2.0-ongoing by hand, minus key binding editor
git-svn-id: svn://localhost/ardour2/trunk@2539 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-11 22:07:47 +00:00
Carl Hetherington
796bfc025e Make sure we notice when an IO's port count is reduced as well as when it's increased. Fixes an assertion failure when removing a port from an IO with 3 existing ports.
git-svn-id: svn://localhost/ardour2/trunk@2537 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-10 14:49:25 +00:00
Carl Hetherington
0e7dcf7841 Remove a file that should have been removed a few commits ago.
git-svn-id: svn://localhost/ardour2/trunk@2533 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-09 23:41:05 +00:00
Carl Hetherington
8bcbe9ca4c Few cleanups related to signed-ness of minimum/maximum port counts.
git-svn-id: svn://localhost/ardour2/trunk@2532 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-09 23:04:53 +00:00
Carl Hetherington
4d66204f4e Various work on Bundles, especially dynamic ones so that you can, for example, pass tracks to busses by selecting the buss name from the track's output menu.
git-svn-id: svn://localhost/ardour2/trunk@2530 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-08 23:47:35 +00:00
49763a55c9 Fix several MIDI timestamp related problems:
Fix recording MIDI regions that start at t != 0.
	Fix display of MIDI events in regions that start at t != 0.
	Fix recording after relocating an already rec-armed MIDI track.


git-svn-id: svn://localhost/ardour2/trunk@2528 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-07 07:20:09 +00:00
Sampo Savolainen
4848acedee Fix crash with tracks/busses with more outputs than control outputs.
git-svn-id: svn://localhost/ardour2/trunk@2521 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-05 21:48:22 +00:00
Carl Hetherington
811426b5b3 Fix to stacked layering for the case when a region is dragged to overlap another. Remove unused signal LayeringChanged from Playlist. Cleanups in AudioRegion, and ensure that region envelopes cannot become empty when regions are split (and maybe in some other cases too). Empty envelopes cause crashes when e.g. AutomationList::truncate_at_start() is called.
git-svn-id: svn://localhost/ardour2/trunk@2513 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-04 16:26:02 +00:00
79db28b0b8 Merge the two separate 'add notes to midi region' interfaces (note and midievent).
Update note range dynamically while recording to fit incoming notes.


git-svn-id: svn://localhost/ardour2/trunk@2512 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-04 05:15:28 +00:00
Sampo Savolainen
0adeb63484 Make sure plugins are activated at least once before they are cleaned up
git-svn-id: svn://localhost/ardour2/trunk@2495 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-27 19:05:27 +00:00
Sampo Savolainen
05b27b52a2 Make sure activate() and deactivate() are never run multiple times in a
row. Make cleanup work nicely


git-svn-id: svn://localhost/ardour2/trunk@2485 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-25 17:56:39 +00:00
80ee9e6e13 click reset error fixed, plus some older work on sends+panners i/o counts
git-svn-id: svn://localhost/ardour2/trunk@2456 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-11 11:27:59 +00:00
11a4c2804e make sure that AudioRegion::set_live_state() notifies interested parties when normalization gain changes
git-svn-id: svn://localhost/ardour2/trunk@2455 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-11 11:26:39 +00:00
648edb8b0f make OSC thread register with GUI
git-svn-id: svn://localhost/ardour2/trunk@2453 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-11 10:43:55 +00:00
c0af53a98a Fix crash on playhead relocate in MIDI regions w/o CC data.
git-svn-id: svn://localhost/ardour2/trunk@2448 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-10 22:48:08 +00:00
47c56f3092 Fix note separator lines adaptation to changing track height.
git-svn-id: svn://localhost/ardour2/trunk@2447 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-10 22:25:22 +00:00
43f23ee971 Fix a misdefinition in ardour/recent_sessions.h
git-svn-id: svn://localhost/ardour2/trunk@2436 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-09 10:05:21 +00:00
6fccd83fac If sys::copy_file fails, try and remove the target file before throwing an exception
git-svn-id: svn://localhost/ardour2/trunk@2435 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-09 10:05:16 +00:00
9ae356550e Use sys::path and sys::rename in Session::rename_state for portability
git-svn-id: svn://localhost/ardour2/trunk@2434 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-09 10:05:13 +00:00
cb34718b38 Modify Session::load_history for portability
git-svn-id: svn://localhost/ardour2/trunk@2433 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-09 10:05:06 +00:00
bddb43a2bf Modify Session::save_history for portability
git-svn-id: svn://localhost/ardour2/trunk@2432 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-09 10:04:58 +00:00
99ecfb4096 Add function sys::rename to pbd/filesystem.h/cc. Renames a file, uses g_rename.
git-svn-id: svn://localhost/ardour2/trunk@2431 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-09 10:04:54 +00:00
82a7819518 Add history_suffix to ardour/filename_extensions.cc
git-svn-id: svn://localhost/ardour2/trunk@2430 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-09 10:04:47 +00:00
7e0f100069 Use std::transform with sys::basename in ARDOUR::get_file_names_no_extension
git-svn-id: svn://localhost/ardour2/trunk@2429 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-09 10:04:43 +00:00
c190aca4a0 Deep "automation regions" support.
Fix zoom/height/etc changing for automation region views.
Broke smooth automation region dragging (make omelette, break eggs, etc).


git-svn-id: svn://localhost/ardour2/trunk@2424 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-06 02:30:39 +00:00
4997dec414 Fix source directory paths so that the session name element is "legalized" and compatible with 2.0
Fixes bug 1854.


git-svn-id: svn://localhost/ardour2/trunk@2418 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-05 01:53:51 +00:00
2a7b23d515 Remove unused header includes from ardour/session_directory.cc
git-svn-id: svn://localhost/ardour2/trunk@2414 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 09:01:37 +00:00
22067eaddb Use PBD::sys::operator/ instead of PBD::sys::path::operator/= in ARDOUR::SessionDirectory
git-svn-id: svn://localhost/ardour2/trunk@2413 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 09:01:35 +00:00
a6e68cbb92 Add PBD::sys::operator/ to pbd/filesystem for convenient path building
git-svn-id: svn://localhost/ardour2/trunk@2412 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 09:01:32 +00:00
d7c5629376 Use sys::remove instead of ::unlink in Session::remove_empty_sounds for portability
git-svn-id: svn://localhost/ardour2/trunk@2411 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 09:01:31 +00:00
41ba22d225 Add ARDOUR::TapeFileMatcher class for matching filenames and use it in Session::remove_empty_sounds
git-svn-id: svn://localhost/ardour2/trunk@2410 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 09:01:28 +00:00
d07c90b003 Use PBD::get_files_in_directory instead of PBD::Scanner in Session::remove_empty_sounds
git-svn-id: svn://localhost/ardour2/trunk@2409 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 09:01:25 +00:00
d8d24a7521 Use path::leaf instead of sys::basename in SessionDirectory::sound/midi_path
sys::basename now matches boost::filesystem behaviour so if a session name
had a dot in it the session name used in the interchange directory would be
truncated.


git-svn-id: svn://localhost/ardour2/trunk@2408 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 09:01:22 +00:00
bb5314c364 Use path::leaf in sys::basename and sys::extension
git-svn-id: svn://localhost/ardour2/trunk@2407 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 09:01:21 +00:00
414dd87040 Add path::leaf method function to the PBD::sys::path class
git-svn-id: svn://localhost/ardour2/trunk@2406 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 09:01:19 +00:00
8b160ef500 Add PBD::sys::extension for getting the filename extension of a file
git-svn-id: svn://localhost/ardour2/trunk@2405 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 09:01:17 +00:00
4cf84efe88 Modify PBD::sys::basename to match boost::filesystem behaviour and document it.
This makes this function equivalent to PBD::basename_nosuffix, sys::basename
takes a path as an argument rather than a string but that is ok as a path can
automatically constructed from a string.


git-svn-id: svn://localhost/ardour2/trunk@2404 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 09:01:15 +00:00
26c4c12fb7 Add path::branch_path to the PBD::sys::path class
This is basically equivalent to Glib::path_get_dirname but returning an
empty string(path) if a path doesn't contain any directory components rather
than "."


git-svn-id: svn://localhost/ardour2/trunk@2403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 09:01:12 +00:00
54b17ddfd7 Fix to avoid overwriting the backup file of a 0.99 session when opening a session
This is equivalent to the fix applied as rev 2244 to the 2.0-ongoing branch


git-svn-id: svn://localhost/ardour2/trunk@2402 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 09:01:09 +00:00
a36eccbfcc Add some documentation regarding the PBD::sys namespace and my justifications for writing that code
git-svn-id: svn://localhost/ardour2/trunk@2401 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 07:15:19 +00:00
911c873e56 Change the SessionDirectory constructor to take a sys::path instead of a string
git-svn-id: svn://localhost/ardour2/trunk@2400 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 07:15:17 +00:00
d767a064b6 Use sys::exists instead of g_file_test in session.cc
git-svn-id: svn://localhost/ardour2/trunk@2399 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 07:15:01 +00:00
b821426d4a Remove unused utility function elapsed_time_to_str
git-svn-id: svn://localhost/ardour2/trunk@2398 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 07:14:58 +00:00
a87d7bfe27 Remove declaration of unused and undefined method in Session class
git-svn-id: svn://localhost/ardour2/trunk@2397 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 07:14:50 +00:00
ef9f07ea64 Use Session::_session_dir instead of Session::_path when calling Session::setup_raid_path in Session::set_state
git-svn-id: svn://localhost/ardour2/trunk@2396 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 06:05:26 +00:00
960218a9d3 Remove inclusion of unused header file
git-svn-id: svn://localhost/ardour2/trunk@2394 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 06:05:21 +00:00
db53aaab51 Remove inclusion of unused header file
git-svn-id: svn://localhost/ardour2/trunk@2393 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 06:05:19 +00:00
18767c39f7 Remove unused constant max_layer, which is also incorrectly defined as UCHAR_MAX when layer_t is uint32_t
Defining it using std::numeric_limits<layer_t>::max() would of avoided
this inconsistancy but as it unused it is doesn't really matter I guess.


git-svn-id: svn://localhost/ardour2/trunk@2392 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 06:05:17 +00:00
189071eae2 Remove unused functions Session::possible_states
git-svn-id: svn://localhost/ardour2/trunk@2390 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 05:26:34 +00:00
078e867f3c Add ARDOUR::get_state_files_in_directory and ARDOUR::get_file_names_no_extension to ardour/session_state_utils.h/cc
git-svn-id: svn://localhost/ardour2/trunk@2386 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 05:26:24 +00:00
bf69e8f09a Remove three unused temporary variables from Session::save_template
git-svn-id: svn://localhost/ardour2/trunk@2385 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:48:42 +00:00
05b4d05d12 Use ARDOUR::create_backup_file in Session::save_state
git-svn-id: svn://localhost/ardour2/trunk@2384 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:48:39 +00:00
dd51b6a6b8 Use ARDOUR::create_backup_file in Session::remove_state
git-svn-id: svn://localhost/ardour2/trunk@2383 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:48:36 +00:00
8058475a3d Add function ARDOUR::create_backup_file in new header ardour/session_state_utils.h/cc
git-svn-id: svn://localhost/ardour2/trunk@2382 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:48:33 +00:00
e7398da7ec Remove unused function PBD::copy_file
git-svn-id: svn://localhost/ardour2/trunk@2381 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:48:30 +00:00
1f33d1d615 Use PBD::sys::copy_file instead of PBD::copy_file in Session::load_state
git-svn-id: svn://localhost/ardour2/trunk@2380 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:48:26 +00:00
b8f488c6e4 Use PBD::sys::path instead of PBD::copy_file in Session::save_state
git-svn-id: svn://localhost/ardour2/trunk@2379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:48:23 +00:00
4535b6ae84 Use PBD::sys::copy_file instead of PBD::copy_file in Session::remote_state
Replace one line C style comments with C++ equivalent in Session::remove_state


git-svn-id: svn://localhost/ardour2/trunk@2378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:48:21 +00:00
96c9b5456f Use PBD::sys::copy_file instead of PBD::copy_file in Session::create_session_file_from_template
git-svn-id: svn://localhost/ardour2/trunk@2377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:48:18 +00:00
e3364b72cc Add function PBD::sys::copy_file intended to replace PBD::copy_file
Basically moving PBD::copy_file implementation to pbd/filesystem.h/cc.
The implementation itself looks like it could be improved to use
much less memory when copying big files by reading and writing in
chunks but I don't think that is an issue at present.


git-svn-id: svn://localhost/ardour2/trunk@2376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:48:13 +00:00
653a552da5 Use functions in pbd/filesystem.h in Session::save_state for portability
Add ARDOUR::temp_suffix to ardour/filename_extensions.h/cc


git-svn-id: svn://localhost/ardour2/trunk@2375 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:48:11 +00:00
b49e50afac Use functions from pbd/filesystem.h in Session::remove_state for portability
Add ARDOUR::backup_suffix to ardour/filename_extensions.h/cc


git-svn-id: svn://localhost/ardour2/trunk@2374 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:48:09 +00:00
911e30a73a Use sys::remove instead of ::unlink in Session::remove_pending_capture_state for portability
git-svn-id: svn://localhost/ardour2/trunk@2373 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:48:06 +00:00
29842063e3 Add function PBD::sys::remove as a wrapper to g_unlink
API is intended to be indentical(apart from the string type) to boost::filesystem::remove


git-svn-id: svn://localhost/ardour2/trunk@2372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:48:04 +00:00
f9c202dba0 Use PBD::sys::path and SessionDirectory in Session::remove_pending_capture_state for portability
git-svn-id: svn://localhost/ardour2/trunk@2371 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:47:54 +00:00
96034486b2 Use sys::path and SessionDirectory in Session::create_session_file_from_template for portability
git-svn-id: svn://localhost/ardour2/trunk@2370 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:47:51 +00:00
3b937a7c44 Rename PBD::SearchPath::get_string to PBD::SearchPath::to_string
git-svn-id: svn://localhost/ardour2/trunk@2369 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:47:48 +00:00
39cd07a969 Use sys::path and SessionDirectory classes in Session::load_state for portability
git-svn-id: svn://localhost/ardour2/trunk@2368 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:47:44 +00:00
54f525770f Use PBD::sys::exists instead of Glib::file_test in Session::load_state
git-svn-id: svn://localhost/ardour2/trunk@2367 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-09-04 04:47:41 +00:00
51c0f6c442 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
2007-08-31 05:02:45 +00:00
056b2a59d5 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
2007-08-28 17:48:37 +00:00
e486a8d86f 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
2007-08-17 17:25:20 +00:00
f9a7388d7a 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
2007-08-16 01:25:58 +00:00
Carl Hetherington
4bd83a409e Fix segfault due to uninitialised variable
git-svn-id: svn://localhost/ardour2/trunk@2299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-14 10:49:29 +00:00
2f84a7792b 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
2007-08-13 20:27:38 +00:00
67a0d6b2d9 Fix (edited) MIDI saving restoring (restore note offs/durations correctly).
git-svn-id: svn://localhost/ardour2/trunk@2292 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-13 15:32:29 +00:00
5156998e6e 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
2007-08-11 06:17:42 +00:00
861181d742 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
2007-08-11 00:22:57 +00:00
b6855bc209 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
2007-08-10 23:28:53 +00:00
8f6a131e41 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
2007-08-07 20:51:24 +00:00
c80e9d4ac9 Fix note-offs during playback from model.
git-svn-id: svn://localhost/ardour2/trunk@2262 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-07 00:28:06 +00:00
d07f541cdf slightly improved fixes for MIDI issues
git-svn-id: svn://localhost/ardour2/trunk@2260 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-06 17:50:23 +00:00
6529c7994f Fix startup crashes from recent MIDI stuff.
git-svn-id: svn://localhost/ardour2/trunk@2259 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-06 17:44:07 +00:00
b0efb9f434 Added missing files.
git-svn-id: svn://localhost/ardour2/trunk@2258 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-06 16:43:14 +00:00
b9b6ba8be4 merge changes to libmidi++ API from 2.0-ongoing
git-svn-id: svn://localhost/ardour2/trunk@2256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-06 14:19:19 +00:00
f68caf23dd Genericificationalizeified AudioFilter (now Filter).
Added primitive (non-undoable, placeholder, etc) quantization.


git-svn-id: svn://localhost/ardour2/trunk@2254 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-06 05:30:18 +00:00