13
0
Commit Graph

1813 Commits

Author SHA1 Message Date
Carl Hetherington
c17da55eaa Set the scratch bufs count up in passthru_silence, like it's done in passthru.
git-svn-id: svn://localhost/ardour2/branches/3.0@5780 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14 22:29:33 +00:00
1c83f12c68 Fix warnings.
Hopefully that offset is an audio cycle offset, or someone's used the wrong type ;)


git-svn-id: svn://localhost/ardour2/branches/3.0@5777 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14 20:41:54 +00:00
07be98b341 (1) silence non-process FIFO message (2) move MIDI state tracking down to the MidiPort level (3) forward port the PRIVATE_JACK pointer "fix" from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@5774 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14 17:35:33 +00:00
bb9cc45cd2 Strip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing). Whitespace changes only.
Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red.  I don't know the emacs equivalent...


git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14 16:10:01 +00:00
8c4ce1e2ce writable session patch, forward ported from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@5770 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-13 20:43:28 +00:00
Carl Hetherington
c221b09560 Set up the ControlProtocolManager singleton in a slightly more robust way.
git-svn-id: svn://localhost/ardour2/branches/3.0@5768 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-12 17:46:17 +00:00
Carl Hetherington
ab1afe97fe Make the port matrix notice if JACK ports are registered or unregistered.
git-svn-id: svn://localhost/ardour2/branches/3.0@5765 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-11 22:16:20 +00:00
Carl Hetherington
d0a238bb8e Stop fades being reset on dragging an audio region to a different track.
git-svn-id: svn://localhost/ardour2/branches/3.0@5764 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-09 16:33:25 +00:00
b893b9a2be three recent fixes from 2.0-ongoing (RT on by default, Mackie port name nonsense; processor box no-redisplay flag reset on set_route()
git-svn-id: svn://localhost/ardour2/branches/3.0@5762 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-08 21:56:16 +00:00
Carl Hetherington
7f27d69d79 Make the mackie surface work again by initialising control surfaces after MIDI, so that the mcu port exists when the control surface is created. In addition to this patch it is necessary to tweak the wscript to build with ALSA_MIDI.
git-svn-id: svn://localhost/ardour2/branches/3.0@5747 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-07 01:55:32 +00:00
Carl Hetherington
c5e3ff16cb Fix some compiler warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5746 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-06 23:58:29 +00:00
aefcce1c99 ogg/flac support bits and pieces; fix up MIDI note dragging and front-edge trims; BROKEN IN PERCUSSIVE MODE FOR NOW
git-svn-id: svn://localhost/ardour2/branches/3.0@5745 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-06 22:07:10 +00:00
cd528dd5ea add new files, derived from jack_delay by fons
git-svn-id: svn://localhost/ardour2/branches/3.0@5730 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-05 18:02:21 +00:00
Carl Hetherington
57d05c4c31 Build clearlooks-newer for OSX
git-svn-id: svn://localhost/ardour2/branches/3.0@5727 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-05 02:43:30 +00:00
e488378d42 string_is_affirmative() fix for 3.0
git-svn-id: svn://localhost/ardour2/branches/3.0@5723 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-02 20:53:31 +00:00
Sakari Bergen
1928f286e9 Fix some trivial compiler warnings and add editor_imageframe.cc to gtk2_ardour/wscript
git-svn-id: svn://localhost/ardour2/branches/3.0@5716 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-02 11:16:15 +00:00
3b54a75aa9 i/o button naming patch and imported file BWF timecode retention patch from nickm, both reworked for 3.0
git-svn-id: svn://localhost/ardour2/branches/3.0@5711 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-01 20:40:51 +00:00
c279da57ff LADSPA logarithmic handling patches from nickm and robsch
git-svn-id: svn://localhost/ardour2/branches/3.0@5705 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-01 16:42:02 +00:00
57ac4cb223 LV2 epp log patch from nedko, via 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@5703 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-01 16:29:59 +00:00
37779a45c9 LV2 external UI patch from nedko via 2.X and a couple of .rej's
git-svn-id: svn://localhost/ardour2/branches/3.0@5702 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-01 16:28:02 +00:00
9867035f29 make MIDI thru work even when not rolling; add GUI control over MIDI thru (midi track context menu); add "default channel" concept for MIDI tracks so that piano roll header events can send stuff on the right channel; add GUI control over this channel setting
git-svn-id: svn://localhost/ardour2/branches/3.0@5687 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-25 19:00:34 +00:00
756fc18394 implement MidiBuffer::merge_in_place() and use to support MIDI passthrough (control over this feature to be added. historical note: implemented and debugged during keith packard's excellent presentation on X at 25 during LPC2009
git-svn-id: svn://localhost/ardour2/branches/3.0@5686 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-25 05:08:23 +00:00
ddf532a655 (full commit): fix MIDI playback by not writing into the playback buffer from MidiDiskStream::process() unless recording. This has a negative impact on "monitoring" MIDI, but that needs a different, somewhat more expansive solution anyway
git-svn-id: svn://localhost/ardour2/branches/3.0@5685 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-21 15:43:11 +00:00
5cc5fb8de4 remove existing attempts at optimizing MIDI event reading, to try to fix bugs that may be connected with it
git-svn-id: svn://localhost/ardour2/branches/3.0@5667 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-16 17:53:04 +00:00
fa4e858eb3 do not allow smf_source's reads to stomp on cached read_end position in parent class, which creates chaos by being out of sync with MidiSource::_model_iterator. this doesn't totally fix MIDI playback, but it helps
git-svn-id: svn://localhost/ardour2/branches/3.0@5665 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-16 01:08:51 +00:00
Carl Hetherington
127b8a62b7 Normalise names of .cc and .h files.
git-svn-id: svn://localhost/ardour2/branches/3.0@5664 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-15 16:49:15 +00:00
Carl Hetherington
7b14a4230b Fix some warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5663 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-15 15:23:59 +00:00
bf0a99f0c0 fix up marshall/unmarshall of note data for MidiModel::DiffCommand
git-svn-id: svn://localhost/ardour2/branches/3.0@5662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-14 16:01:32 +00:00
d98302ae2c track note on/off and send appropriate note offs at transport stop
git-svn-id: svn://localhost/ardour2/branches/3.0@5655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-11 13:25:31 +00:00
2ff1cd99af do not crash when loading old history files with MIDI edits; add all notes in region to canvas, but pay attention to visibility
git-svn-id: svn://localhost/ardour2/branches/3.0@5652 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-10 21:19:01 +00:00
7b8adc78b6 more MIDI editing cleanups, mostly fixing subtleties. Will break loading the history file for older sessions with MIDI editing present - we warned you :)
git-svn-id: svn://localhost/ardour2/branches/3.0@5651 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-10 20:41:08 +00:00
Carl Hetherington
a444e0809d Fix mantis 1814.
git-svn-id: svn://localhost/ardour2/branches/3.0@5645 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-09 15:09:08 +00:00
Carl Hetherington
22f1e2eb5f Apply olaf's patch from mantis 2844 to fix that. Also fix non-appearing peakfiles on reversed regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@5644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-09 15:00:54 +00:00
Carl Hetherington
d64faaa4b1 Comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@5643 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-09 15:00:01 +00:00
539c8361de use diff commands for quantize, with infrastructure changes as required
git-svn-id: svn://localhost/ardour2/branches/3.0@5639 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-07 16:53:53 +00:00
79dc191d6b add anonymous union to DiffCommand to allow uint8t_t and time-based arguments; use DiffCommand for note trimming
git-svn-id: svn://localhost/ardour2/branches/3.0@5638 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-07 13:38:06 +00:00
837bfc9af4 the start (only the start) of MIDI diff commands
git-svn-id: svn://localhost/ardour2/branches/3.0@5637 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-06 18:11:55 +00:00
b7fe417f70 better way to "engage" step edit, and extend region correctly as needed
git-svn-id: svn://localhost/ardour2/branches/3.0@5630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 14:50:21 +00:00
b0b584c2a5 the basics of step editing, more details to follow
git-svn-id: svn://localhost/ardour2/branches/3.0@5629 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 12:39:50 +00:00
Carl Hetherington
c8932292e1 Duh, the info stream is available here, so use it.
git-svn-id: svn://localhost/ardour2/branches/3.0@5627 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 01:08:39 +00:00
Carl Hetherington
d2c95b3ffb Give a slightly friendlier error if no powermate device is found on startup.
git-svn-id: svn://localhost/ardour2/branches/3.0@5626 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 01:06:45 +00:00
Carl Hetherington
285b59a7b9 Make sure wscripts under libs/surfaces/* are configured. This fixes the OSC surface build, as it now links with liblo.
git-svn-id: svn://localhost/ardour2/branches/3.0@5625 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 00:38:34 +00:00
Carl Hetherington
c30dbaad0e Don't raise an error when trying to auto-connect master to physical outputs if the connection already exists.
git-svn-id: svn://localhost/ardour2/branches/3.0@5624 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 00:12:57 +00:00
Carl Hetherington
e745eb6952 Modified version of Hans' patch for mantis 1985. Also remove unused port_connections array in AudioEngine.
git-svn-id: svn://localhost/ardour2/branches/3.0@5621 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-02 22:59:12 +00:00
Carl Hetherington
a5c55c2b5e Add accessor for _exporting.
git-svn-id: svn://localhost/ardour2/branches/3.0@5613 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-01 20:13:23 +00:00
Carl Hetherington
1d5bfab42c Don't send midi clock during export, for now, to avoid assertion failure when the transmission code tries to send MIDI outside the process callback.
git-svn-id: svn://localhost/ardour2/branches/3.0@5612 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-01 20:12:52 +00:00
Carl Hetherington
94c5a98e02 Fix crash on relayering.
git-svn-id: svn://localhost/ardour2/branches/3.0@5603 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-29 18:07:08 +00:00
e7e071db1a more MIDI editing tweaks ; flip mouse mode buttons around for MIDI so that "object" mode is the most likely mode for both region \& region editing ; frame handle events (from lincoln's region trimming patch) are now handled more explicitly
git-svn-id: svn://localhost/ardour2/branches/3.0@5600 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-28 16:06:08 +00:00
3845af6ce9 lots of MIDI editing stuff. to be explained on the website when its done
git-svn-id: svn://localhost/ardour2/branches/3.0@5596 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-27 03:09:30 +00:00
Carl Hetherington
c6be9b6888 Make stacked region coverage frames correctly respect regions being muted.
git-svn-id: svn://localhost/ardour2/branches/3.0@5595 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-26 02:19:36 +00:00
Carl Hetherington
b1e69d4b7b On switching from explicit to implicit relayering, attempt to ensure that any layering set up
whilst in explicit mode will be preserved on subsequent implicit relayer operations.


git-svn-id: svn://localhost/ardour2/branches/3.0@5591 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-26 00:34:06 +00:00
Carl Hetherington
28af0265b5 When a track is in "stacked" mode, allow regions to be moved to different layers by dragging
and dropping.  In stacked mode, the relayering by "recently added / moved etc. is higher" setting
is ignored, and regions are put on the layer that they are dropped to, unless:

1. they are dropped so that they overlap another region on the same layer, in which case they
are put on the layer above that one.
2. they are dropped such that they could be put on a lower layer with no audible difference, in
which case they are put on the lower layer.



git-svn-id: svn://localhost/ardour2/branches/3.0@5590 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-26 00:06:21 +00:00
Carl Hetherington
42dccb2a65 Freeze the audio playlist after completing the set_state on the parent playlist (rather than before) so that the playlist state gets flushed before we start creating crossfades. Otherwise in some cases expected RegionViews won't exist for crossfades when they are created.
git-svn-id: svn://localhost/ardour2/branches/3.0@5586 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 22:01:26 +00:00
Carl Hetherington
31b68a20f6 Fix uninitialised variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@5580 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 18:22:41 +00:00
Carl Hetherington
f9e30c4c08 Missing format = 0 from last commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@5578 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 17:22:16 +00:00
Carl Hetherington
d2b39735ca Set format = 0 on calling sf_open as required by libsndfile.
git-svn-id: svn://localhost/ardour2/branches/3.0@5576 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 17:08:08 +00:00
Carl Hetherington
09eee1bb7c Remove unused method in RouteTimeAxisView. Fix bug with switching to layered region mode.
Optimise Playlist::relayer().


git-svn-id: svn://localhost/ardour2/branches/3.0@5572 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 01:01:18 +00:00
Carl Hetherington
c91da28eb2 Some improvements to performance with crossfades: don't recompute a whole track's crossfade curves
when one region is moved and the display is overlaid; use a std::map for an AudioStreamView's crossfades
list so that add_crossfade can find whether a CrossfadeView already exists without looking through
the whole list.


git-svn-id: svn://localhost/ardour2/branches/3.0@5571 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-23 19:42:01 +00:00
Carl Hetherington
dffd30baf9 Fix uninitialised member variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@5570 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-23 18:31:34 +00:00
Carl Hetherington
970a3a7292 Introduce an accurate version of coefficient_to_dB and use it in non speed-critical
code.  Fixes mantis 2833.


git-svn-id: svn://localhost/ardour2/branches/3.0@5565 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-22 10:21:39 +00:00
Carl Hetherington
2bd6aac3ed Fix crash on startup if an LV2 plugin has a bad .ttl file.
git-svn-id: svn://localhost/ardour2/branches/3.0@5548 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-19 18:31:47 +00:00
3162ffb4f4 move assignments out of assert() in editor_drag (thanks lincoln); change mouse mode buttons when in internal/MIDI mode; arrow key control of note velocity, value and position - hey look ma, MIDI editing!
git-svn-id: svn://localhost/ardour2/branches/3.0@5539 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-17 15:58:47 +00:00
Carl Hetherington
902a087f15 Fix uninitialised variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@5535 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-17 01:41:35 +00:00
0178875021 MIDI cut&paste round two (not done yet); a small region trim fix from lincoln s.
git-svn-id: svn://localhost/ardour2/branches/3.0@5517 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-13 01:57:03 +00:00
0bf3eb7759 first part of MIDI cut/copy/paste ; fix for input/output_streams of an IOProcessor being reported in a misleading way; in/out translation fix from 2.X, sort of
git-svn-id: svn://localhost/ardour2/branches/3.0@5510 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-10 19:29:29 +00:00
986fb959e2 fix (no)use of offset in AudioEngine::get_sync_offset()
git-svn-id: svn://localhost/ardour2/branches/3.0@5500 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-09 12:06:03 +00:00
bcc929a5b6 waf build works on OS X ; new bindings file and processing system in place for mnemonic-us
git-svn-id: svn://localhost/ardour2/branches/3.0@5498 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-08 22:36:32 +00:00
Carl Hetherington
9c6449567d Coding style. Fix a valgrind warning. Stop a close on a handle of -1.
git-svn-id: svn://localhost/ardour2/branches/3.0@5493 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-04 22:01:28 +00:00
Carl Hetherington
a8fbf1f0c6 Fix update of brackets around processor name on activate / deactivate.
git-svn-id: svn://localhost/ardour2/branches/3.0@5456 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-02 00:34:49 +00:00
Carl Hetherington
86a70f19fb Set up IO bundles properly so that mixer strip IO button text is set correctly.
git-svn-id: svn://localhost/ardour2/branches/3.0@5454 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-02 00:33:50 +00:00
Carl Hetherington
e481963920 Fix import dialog so that file number progress gets updated correctly. Stop a new progress dialog being popped up for each file.
git-svn-id: svn://localhost/ardour2/branches/3.0@5451 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-02 00:32:26 +00:00
Carl Hetherington
50bb4e4d07 Improve import status messages slightly.
git-svn-id: svn://localhost/ardour2/branches/3.0@5449 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-02 00:30:24 +00:00
d775781c2f avoid crashes caused by the process buffer set being larger than expected when passed into Route::process_output_buffers()
git-svn-id: svn://localhost/ardour2/branches/3.0@5437 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-29 19:02:02 +00:00
3ae28868ff remove all MIDI-specific editing modes by making standard work either at object level or within (e.g. notes, etc) ; make tool buttons proxies for GtkActions ; internal sends have their own BufferSet now, instead of using Session ones; don't make internal sends to the monitor bus active when added to the Route
git-svn-id: svn://localhost/ardour2/branches/3.0@5434 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-28 20:51:28 +00:00
Carl Hetherington
5eaf61242f Fix some more warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5425 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-28 11:49:14 +00:00
Hans Baier
16b964020f interpolation.cc/h: Remove all failed and obsolete attempts, leave linear and cubic
git-svn-id: svn://localhost/ardour2/branches/3.0@5424 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-24 05:27:49 +00:00
Hans Baier
3e88c8aa25 Another failed attemt at natural spline interpolation
git-svn-id: svn://localhost/ardour2/branches/3.0@5423 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-24 05:27:43 +00:00
793372d7d4 fixes for 64 bit compilation - see comment
git-svn-id: svn://localhost/ardour2/branches/3.0@5422 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-24 01:30:50 +00:00
Hans Baier
ae0ae3931b libs/ardour/wscript: unit tests get a target name, inorder to be able to build them separately with ./waf --targets=libardour-tests
git-svn-id: svn://localhost/ardour2/branches/3.0@5420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-23 16:55:50 +00:00
Hans Baier
e2a2b72bc0 audio_diskstream.h/session.h: Use simple cubic interpolation now instead of linear interpolation for varispeed
git-svn-id: svn://localhost/ardour2/branches/3.0@5419 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-23 16:55:45 +00:00
Hans Baier
19d89fc1dc interpolation.cc/h: Fix crash bug and introduce add simple cubic interpolation
git-svn-id: svn://localhost/ardour2/branches/3.0@5418 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-23 16:55:38 +00:00
38510cb19e install ardour.menus and bindings file (elthariel) ; initial, basic MIDI gain (fader) working
git-svn-id: svn://localhost/ardour2/branches/3.0@5416 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-23 03:01:31 +00:00
3804e3bc49 Update autowaf.
git-svn-id: svn://localhost/ardour2/branches/3.0@5414 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-22 20:51:13 +00:00
3b7230552d make i18n build work ; add mackie dir back to build ; token work on amp for MIDI; don't try to subgroup route groups with MIDI (for now)
git-svn-id: svn://localhost/ardour2/branches/3.0@5412 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-22 13:51:16 +00:00
Hans Baier
272c1a40db spline interpolation: fix crash bugs on negative speed and NULL inputs
git-svn-id: svn://localhost/ardour2/branches/3.0@5411 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-22 09:27:13 +00:00
Hans Baier
b0bb5342dd interpolation.cc/.h: Spline-Bugfixes: Crash bug at tempos close to 0, wrong calculation of M, unbounded precalculated L/U Matrices
git-svn-id: svn://localhost/ardour2/branches/3.0@5410 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-22 08:42:33 +00:00
Hans Baier
7186593442 interpolation.cc/.h: first working but buggy implementation of cubic Spline interpolation
git-svn-id: svn://localhost/ardour2/branches/3.0@5408 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-22 00:19:50 +00:00
Carl Hetherington
b65f8073ba Fix some unused parameter warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21 15:55:17 +00:00
f411496289 fix clicking when processors become active/inactive; reduce crazy 2.5sec delay for quit dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@5402 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21 14:39:21 +00:00
2093d59a96 implement set-send-gains-to-{track_level,zero,unity}
git-svn-id: svn://localhost/ardour2/branches/3.0@5401 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21 12:05:44 +00:00
20342cf264 first part of fixing up send/return metering ; make send-controlling faders work ; fixes from 2.X for key editor and untranslatable string; use standard name for surfaces lib version in wiimote wscript
git-svn-id: svn://localhost/ardour2/branches/3.0@5400 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21 03:23:57 +00:00
Carl Hetherington
769e2c3feb Stop playhead jumping around on locate.
git-svn-id: svn://localhost/ardour2/branches/3.0@5399 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-20 23:42:37 +00:00
8d3df6fcb2 correct name of dependency in wiimote wscript
git-svn-id: svn://localhost/ardour2/branches/3.0@5395 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-20 12:16:42 +00:00
Carl Hetherington
23f86529fd Clean up handling of add/remove/rename channels in the port matrix. Hence make it possible to do these things for any bundle (give or take). Clean up port matrix context menu.
git-svn-id: svn://localhost/ardour2/branches/3.0@5393 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-20 00:22:09 +00:00
Hans Baier
de58b257ae replace fixed-point linear interpolation with double-based version, thereby removing noise at low speeds and drift issues
git-svn-id: svn://localhost/ardour2/branches/3.0@5392 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-19 22:30:36 +00:00
Hans Baier
c1b2d8af7a revert commit 5386 in favor of MTC users
git-svn-id: svn://localhost/ardour2/branches/3.0@5391 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-19 22:14:04 +00:00
Hans Baier
1efee9951a audio_diskstream.cc: new interpolation classes which replace the old interpolation code for varispeed work
git-svn-id: svn://localhost/ardour2/branches/3.0@5387 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-19 20:54:52 +00:00
Hans Baier
fcd29cc12b make slaves work by default
git-svn-id: svn://localhost/ardour2/branches/3.0@5386 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-19 20:54:46 +00:00
b89a786b3e hopefully fix the build, and actually use the options
git-svn-id: svn://localhost/ardour2/branches/3.0@5372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-17 22:25:32 +00:00
7884727e78 massive changes to waf build scripts so that nearly everything "should" be working now except for i18n (OSC is not quite right) ; some preliminary work on post-main-out handling, incomplete; a couple of fixes from -Wall and valgrind
git-svn-id: svn://localhost/ardour2/branches/3.0@5371 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-17 22:12:21 +00:00
939cff5150 more hacking on the processor list and processor box - note that ctrl-x/c/v now work "as expected" and / is a keystroke for toggling active state. cut-n-paste ops should all basically work
git-svn-id: svn://localhost/ardour2/branches/3.0@5366 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-15 20:29:02 +00:00
4944514034 processor naming tweaks, processor visibility tweaks and more, trying to finish this audio routing thing...
git-svn-id: svn://localhost/ardour2/branches/3.0@5364 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-15 00:47:34 +00:00
997dd32d5e add display name to processors (so that it can differ from the "real name"); pay attention to active status in Amp, Meter and Delivery
git-svn-id: svn://localhost/ardour2/branches/3.0@5360 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-14 00:11:04 +00:00
385635c445 more removal of Placement
git-svn-id: svn://localhost/ardour2/branches/3.0@5345 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-13 01:14:49 +00:00
88beef2e93 merge pre- and post-fader processor boxes; start removing Placement (not finished) ; add -DWAF_BUILD and use per-directory foobar-config.h to correctly pick up configure-time settings like HAVE_OGG ; check for libgiomm (part of upgrade to newer gtk stack); 32 bit marker reload fix from 2.X; audiounit IO config cache fix from 2.X; multi-add route template fix from 2.X; plugin GUI delete fix from 2.X; solo button labels are A or P for listen mode
git-svn-id: svn://localhost/ardour2/branches/3.0@5344 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-13 00:26:28 +00:00
Carl Hetherington
40b0b216de Add option to collect a route group, so that its member routes are reordered to be together in the editor. A few cleanups along the way.
git-svn-id: svn://localhost/ardour2/branches/3.0@5319 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-04 13:44:01 +00:00
Carl Hetherington
36564e4f91 Use std::string for order key map.
git-svn-id: svn://localhost/ardour2/branches/3.0@5318 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-04 12:40:26 +00:00
Carl Hetherington
30eafbef5e Fix crash on session teardown.
git-svn-id: svn://localhost/ardour2/branches/3.0@5316 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-04 00:20:02 +00:00
Carl Hetherington
db1e2067a9 Fix uninitialised variable.
git-svn-id: svn://localhost/ardour2/branches/3.0@5315 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-04 00:19:42 +00:00
a73d15e989 switch glibmm/giomm to 2.18
git-svn-id: svn://localhost/ardour2/branches/3.0@5306 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-02 16:00:45 +00:00
e6c240a691 fixes to make sure glibmm2 builds under scons from scratch
git-svn-id: svn://localhost/ardour2/branches/3.0@5305 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-02 13:22:24 +00:00
e916ac2821 upgrade to glibmm 2.16
git-svn-id: svn://localhost/ardour2/branches/3.0@5303 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-02 13:12:38 +00:00
Carl Hetherington
5b97b13766 Separate route list code from Editor into its own object, EditorRouteList. Hopefully makes things a bit better.
git-svn-id: svn://localhost/ardour2/branches/3.0@5302 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-01 23:20:18 +00:00
236868761c reinstate solo button for master out ; make solo button show state even if in listen mode ; wire up control outs "better" and add an option to name the bundle to connect it to (not controllable in GUI yet) ; fix up a couple of other solo/listen issues
git-svn-id: svn://localhost/ardour2/branches/3.0@5301 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-01 23:14:27 +00:00
86db1ebc5f include <cstdio> so that printf() is declared
git-svn-id: svn://localhost/ardour2/branches/3.0@5300 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-01 18:55:12 +00:00
0d6515a243 separate solo & listen. some minor fixes and additional related fixes still to come
git-svn-id: svn://localhost/ardour2/branches/3.0@5298 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-01 13:36:50 +00:00
4df4574be4 editor toggle button fix from lincoln; refresh location display when loop range changes; fix up BufferSet::merge_from() to be less fragile to wierd merge conditions
git-svn-id: svn://localhost/ardour2/branches/3.0@5297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-29 14:29:53 +00:00
Carl Hetherington
26328c9ef1 lincoln's patch from mantis 2757 to add route group property checkboxes in the route groups
editor list, and to initialise new route groups with some appropriate properties.


git-svn-id: svn://localhost/ardour2/branches/3.0@5295 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-29 00:57:27 +00:00
Carl Hetherington
df9654b8cc Fix up automation-follows-regions
git-svn-id: svn://localhost/ardour2/branches/3.0@5286 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-26 19:44:32 +00:00
12949b390b allow automation-follows-relevant-regions again
git-svn-id: svn://localhost/ardour2/branches/3.0@5285 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-26 17:56:35 +00:00
Carl Hetherington
d040d03574 Better fix for Amp visibility in the plugin automation menu.
git-svn-id: svn://localhost/ardour2/branches/3.0@5282 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-26 14:52:36 +00:00
Carl Hetherington
498afeb63e Various adjustments to make more operations respect the Edit property on route groups.
git-svn-id: svn://localhost/ardour2/branches/3.0@5273 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-25 20:58:32 +00:00
8e7a5d7741 startup assistant patch from tinman; cleanup fix backported from 2.X ; easy(ier) ways to create aux sends ; facility to subgroup (route via bus) for a route group ; fix up internal send/return operation ; fix internal send naming since it doesn't need to be unique - no JACK ports involved
git-svn-id: svn://localhost/ardour2/branches/3.0@5272 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-25 20:46:39 +00:00
b10ace15cd make solo-in-front controllable. a few tweaks left to do.
git-svn-id: svn://localhost/ardour2/branches/3.0@5266 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23 23:16:01 +00:00
f71a197270 save&restore gain levels; provide GUI control over relative route group bit; fix up solo/mute/recenable button naming as mixer strip width is set
git-svn-id: svn://localhost/ardour2/branches/3.0@5263 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23 21:29:39 +00:00
d13fdaa9d1 make RouteGroup gain control work again ; fix what solo button label shows under different conditions; other miscellania
git-svn-id: svn://localhost/ardour2/branches/3.0@5262 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23 20:02:15 +00:00
Hans Baier
d45dfa5cb6 interpolation: fix some warnings
git-svn-id: svn://localhost/ardour2/branches/3.0@5261 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23 14:53:42 +00:00
Hans Baier
2641040701 interpolation.h / audio_diskstream.cc: make varispeed sound well again, by replacing the code by the original implementation for later comparison and step-by-step refactoring
git-svn-id: svn://localhost/ardour2/branches/3.0@5260 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23 14:53:37 +00:00
Carl Hetherington
417309d6d4 Fix some warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5259 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23 10:40:48 +00:00
Hans Baier
dd84d5312e Xinterpolation.*: Add old fixed point and double linear interpolation as alternatives
git-svn-id: svn://localhost/ardour2/branches/3.0@5258 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23 09:50:39 +00:00
Hans Baier
47e5690552 Interpolation -> LibSamplerateInterpolation, keep state per channel
git-svn-id: svn://localhost/ardour2/branches/3.0@5257 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23 09:50:17 +00:00
Hans Baier
875568f01f Interpolation: first working version with sinc
git-svn-id: svn://localhost/ardour2/branches/3.0@5256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23 09:50:10 +00:00
Hans Baier
f42f577bed Interpolation: First working but buggy version using libsamplerate
git-svn-id: svn://localhost/ardour2/branches/3.0@5255 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23 09:50:02 +00:00
def335e427 fix management of port connection state - THIS INVALIDATES PRE-EXISTING SESSIONS INTENTIONALLY
git-svn-id: svn://localhost/ardour2/branches/3.0@5254 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-23 02:43:35 +00:00
Carl Hetherington
955d731fa6 Merge edit and mix groups to just being route groups. Add properties to route groups to decide what things their member routes will share. Allow edits to happen across a route group without its tracks necessarily being selected.
git-svn-id: svn://localhost/ardour2/branches/3.0@5236 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-21 19:59:56 +00:00
Carl Hetherington
be3aff4bda Mix group tabs in the mixer.
git-svn-id: svn://localhost/ardour2/branches/3.0@5228 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-20 17:15:33 +00:00
Carl Hetherington
f0bf3a0c19 Allow edit group creation from the route UI's menu. Allow new tracks to be put in particular edit groups.
git-svn-id: svn://localhost/ardour2/branches/3.0@5226 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-20 15:40:26 +00:00
Carl Hetherington
b895b677bf Optional tabs down the LHS of the editor window to indicate edit group membership.
git-svn-id: svn://localhost/ardour2/branches/3.0@5220 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-20 13:41:55 +00:00
Hans Baier
379b19cfdc midi clock slave: refactor for testability
git-svn-id: svn://localhost/ardour2/branches/3.0@5219 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-20 13:39:49 +00:00
8b63f9cac7 modified patch from lincoln to show/control rec-enable status in track/bus list
git-svn-id: svn://localhost/ardour2/branches/3.0@5216 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-18 01:48:11 +00:00
566ce55736 remove SoloBus solo model, add PFL and AFL. basic testing indicates it works, but probably some oddities.
git-svn-id: svn://localhost/ardour2/branches/3.0@5210 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-17 19:30:54 +00:00
1e8047f0ed solo models work again (amazing how hard this was); remove crufty debug output; remove scrollbars on editor (and temporarily lose zoom controls)
git-svn-id: svn://localhost/ardour2/branches/3.0@5207 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-17 15:50:29 +00:00
Carl Hetherington
6f6c8b3dba Probably fix SCons build.
git-svn-id: svn://localhost/ardour2/branches/3.0@5205 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-17 00:29:40 +00:00
86f24d20e1 first pass (ok, third really) at internal send+return - audio routing inside ardour without JACK. lots still to do, but at least the obvious works
git-svn-id: svn://localhost/ardour2/branches/3.0@5202 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-16 14:58:33 +00:00
Carl Hetherington
b23c445db9 Make summary display optional.
git-svn-id: svn://localhost/ardour2/branches/3.0@5191 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-14 18:54:38 +00:00
Carl Hetherington
ebf60a31d8 Fix up some problems with Region::_master_sources
git-svn-id: svn://localhost/ardour2/branches/3.0@5189 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-14 16:54:40 +00:00
Carl Hetherington
addaba4204 Add option to disable track record disarm when the transport is rolling (mantis #2658)
git-svn-id: svn://localhost/ardour2/branches/3.0@5187 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-14 13:44:26 +00:00
Carl Hetherington
d1bc9e330b Some small cleanups.
git-svn-id: svn://localhost/ardour2/branches/3.0@5180 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-13 18:44:05 +00:00
Sakari Bergen
e2601b67ff cd marker export patch from Andreas Ruge modified for 3.0
git-svn-id: svn://localhost/ardour2/branches/3.0@5173 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-11 19:50:24 +00:00
86ce59e76c fix up missing ID in route state; no error message when making a port connection that already exists
git-svn-id: svn://localhost/ardour2/branches/3.0@5168 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-11 13:56:12 +00:00
Carl Hetherington
7a726092d7 Fix scons install build.
git-svn-id: svn://localhost/ardour2/branches/3.0@5164 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-11 11:53:36 +00:00
Carl Hetherington
1553e41937 Fix for route refactor. Fix warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@5163 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-11 11:50:56 +00:00
Carl Hetherington
52fc310cfb Make waveform show / scale / shape a global option in the prefs dialog to clean things up a bit. Options to make exceptions for individual tracks could be re-added, if people want them.
git-svn-id: svn://localhost/ardour2/branches/3.0@5160 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 21:58:25 +00:00
Sampo Savolainen
34ae8c4d23 Easiest compiler warning fix, ever
git-svn-id: svn://localhost/ardour2/branches/3.0@5156 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 18:10:16 +00:00
6e9b9294e1 nick m's fix for markers etc ; several tweaks for mute/solo ; rename run_in_place() as run()
git-svn-id: svn://localhost/ardour2/branches/3.0@5155 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 18:10:07 +00:00
ff26317d4f fix mute & solo behaviour mostly ; remove some verbose debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@5153 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 13:59:06 +00:00
a77aa6fce8 fix up deserialization of _ancestral_length
git-svn-id: svn://localhost/ardour2/branches/3.0@5148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 00:30:54 +00:00
ec222cc429 fix up initialization and deserialization of _ancestral_start
git-svn-id: svn://localhost/ardour2/branches/3.0@5147 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 00:30:12 +00:00
Carl Hetherington
57f16be394 Factor source copying into a method and use it in a couple of places where it is missing. Fixes crash on splitting MIDI regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@5146 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 00:18:15 +00:00
Hans Baier
43340cd37c * Refactor varispeed playback into own class, replace fixed-point arithmetic by double, fix unit tests for libardour
git-svn-id: svn://localhost/ardour2/branches/3.0@5145 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 00:03:47 +00:00
Hans Baier
f284d28d53 libardour: * Add basic classes for later support of multiple interpolation algorithms for varispeed
* Add unit tests: Test which shows how the varispeed implementation in diskstream is broken.

git-svn-id: svn://localhost/ardour2/branches/3.0@5144 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 00:03:28 +00:00
Carl Hetherington
9f8dc1f145 Fix non-update of _transport_frame
git-svn-id: svn://localhost/ardour2/branches/3.0@5142 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-09 22:51:27 +00:00
Carl Hetherington
98b9896fe1 Remove aliased _size member.
git-svn-id: svn://localhost/ardour2/branches/3.0@5141 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-09 22:50:49 +00:00
d1e7733a4a <port> => <Port>
git-svn-id: svn://localhost/ardour2/branches/3.0@5140 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-09 21:30:32 +00:00
318fb3a069 Fix crash when loading broken sessions with invalid route IDs.
git-svn-id: svn://localhost/ardour2/branches/3.0@5139 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-09 21:17:12 +00:00
75884ab43d Remove annoying pop-up message.
git-svn-id: svn://localhost/ardour2/branches/3.0@5138 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-09 20:56:34 +00:00
e6eb059576 the big Route structure refactor. !!!! THIS WILL ***NOT LOAD*** PRIOR 3.0 or 2.X SESSIONS !!!! BREAKAGE IS EXPECTED !!!! IF YOU HAVE AND NEED A WORKING 3.0 DO **NOT** UPDATE. !!!! otherwise, update and enjoy the steadily emerging joys of this major reworking of ardour internals
git-svn-id: svn://localhost/ardour2/branches/3.0@5137 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-09 20:21:19 +00:00
Carl Hetherington
960f266b9f Fix tranzport and SCons builds.
git-svn-id: svn://localhost/ardour2/branches/3.0@5133 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-08 23:58:46 +00:00
Carl Hetherington
41c5bff442 Allow Insert Time option to move tempos and time sig changes, as per #1951.
git-svn-id: svn://localhost/ardour2/branches/3.0@5132 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-08 23:24:14 +00:00
Carl Hetherington
0874426a5b Further refactoring of drag code. Changes so that drags from the region list display a region view during the drag.
git-svn-id: svn://localhost/ardour2/branches/3.0@5127 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-08 19:28:51 +00:00
472fa271fd Fix end-marker-is-free option in templates.
git-svn-id: svn://localhost/ardour2/branches/3.0@5122 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-03 16:50:46 +00:00
Carl Hetherington
1aadfeba45 Remove unused method..
git-svn-id: svn://localhost/ardour2/branches/3.0@5119 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-03 10:35:02 +00:00
Carl Hetherington
a75e811edb Use sigc::slots rather than templates + function ptrs for a foreach_region and foreach_crossfade.
git-svn-id: svn://localhost/ardour2/branches/3.0@5118 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-03 00:23:34 +00:00
Carl Hetherington
139d621103 Fix SCons build.
git-svn-id: svn://localhost/ardour2/branches/3.0@5112 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-25 17:56:34 +00:00
Carl Hetherington
64524c0ba4 Make pan double-click entry work in percentage left or right. Write pan position to the panner as text (except when centered). Use a virtual function rather than a signal for BarController labels.
git-svn-id: svn://localhost/ardour2/branches/3.0@5104 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-20 13:28:30 +00:00
Carl Hetherington
01217e64f8 Patch from agorka to add some includes required for building with the GCC shipped with Ubuntu Karmic.
git-svn-id: svn://localhost/ardour2/branches/3.0@5098 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-18 00:21:17 +00:00
5a4d340b42 Das BlinkenSendButtons
git-svn-id: svn://localhost/ardour2/branches/3.0@5097 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-17 17:05:56 +00:00
6001b8d28d send control now has working metering, and switches back and forth between busses etc. correctly.
git-svn-id: svn://localhost/ardour2/branches/3.0@5092 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-17 14:11:16 +00:00
7deb14773b 75% (?) of the way towards making mixer strips control bus sends. lots more to do
git-svn-id: svn://localhost/ardour2/branches/3.0@5090 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-17 02:08:13 +00:00
dab9b3aa8c fix a problem with re-ordering in PostFader placement; remove lots of debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@5087 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-16 13:37:48 +00:00
Carl Hetherington
400d2a86aa Remove preferences menu options that have been moved into one or other preferences dialog.
git-svn-id: svn://localhost/ardour2/branches/3.0@5085 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-16 03:20:57 +00:00
ace07c80a8 a gadzillion changes all over the place. nothing is finished, but all is better than it was. more to come on all almost everything touched by this commit, this is purely a sync-to-repository. compiles and runs, but now incompatible with all previous 3.0 session files (probably)
git-svn-id: svn://localhost/ardour2/branches/3.0@5084 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-16 02:51:17 +00:00
Carl Hetherington
86dda29be7 Move some sync-related options to being session variables.
git-svn-id: svn://localhost/ardour2/branches/3.0@5083 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-16 01:53:43 +00:00
Carl Hetherington
29e8fe1698 Add session preferences dialog.
git-svn-id: svn://localhost/ardour2/branches/3.0@5082 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-16 01:22:43 +00:00
Carl Hetherington
f4e6f8fec5 Fix some warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@5081 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-15 21:36:37 +00:00
Carl Hetherington
c9d0a19c8f Add missing file to SCons build.
git-svn-id: svn://localhost/ardour2/branches/3.0@5080 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-15 11:26:57 +00:00
db7a8cbcc2 control_outputs.cc is no more
git-svn-id: svn://localhost/ardour2/branches/3.0@5077 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-14 17:21:16 +00:00
Carl Hetherington
6cf41417a0 Add missing files from last commit, as per.
git-svn-id: svn://localhost/ardour2/branches/3.0@5076 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-14 00:15:38 +00:00
Carl Hetherington
015fc7b39f First stage of options rework.
- Split Configuration into RCConfiguration and SessionConfiguration;
the first for options which are saved to .rc files and the second
for options which are saved in a session file.

- Move some options from the old `master' Configuration object into
SessionConfiguration; this needs more refinement.

- Reflect many RCConfiguration options in an expanded Edit->Preferences
dialog; my intention is to remove the corresponding menu items
eventually.



git-svn-id: svn://localhost/ardour2/branches/3.0@5075 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-14 00:13:27 +00:00
0569107ddc more work on the new all-Processor-all-The-Time redesign of Route - LOTS OF BREAKAGE STILL EXPECTED ; change all(?) methods that pass a start/end frame in to use sframes_t not nframes_t
git-svn-id: svn://localhost/ardour2/branches/3.0@5074 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-13 21:34:09 +00:00
Nick Mainsbridge
7188ec3990 Remove some extraneous includes. reorder some others (fixes compilation on fedora 10).
git-svn-id: svn://localhost/ardour2/branches/3.0@5073 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-13 16:04:41 +00:00
Nick Mainsbridge
e341132df8 Compilation fixes from using namespace removal.
git-svn-id: svn://localhost/ardour2/branches/3.0@5072 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-13 15:45:38 +00:00
Sampo Savolainen
8838875bd6 Changes missing from previous commit
git-svn-id: svn://localhost/ardour2/branches/3.0@5070 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-12 19:10:31 +00:00
Carl Hetherington
3b89d9eaa0 Remove most using declarations from header files.
git-svn-id: svn://localhost/ardour2/branches/3.0@5069 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-12 17:03:42 +00:00
Sampo Savolainen
05c597d0ee Make sure plugin analysis buffers are the proper length. sigh.
git-svn-id: svn://localhost/ardour2/branches/3.0@5065 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-08 05:20:23 +00:00
cf4ec6323a Shut up.
git-svn-id: svn://localhost/ardour2/branches/3.0@5064 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-07 18:33:41 +00:00
731de16c07 Fix Scons build.
git-svn-id: svn://localhost/ardour2/branches/3.0@5063 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-07 18:00:29 +00:00
f4c01b2f28 Fix mackie control protocol compilation.
git-svn-id: svn://localhost/ardour2/branches/3.0@5062 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-07 18:00:03 +00:00
2c231282ba Returns (i.e. sidechains).
And lo, upon the revision of our hoarde 5061, was the last Big Feature
committed to Three Poino, who, now more than ever, lurks imposingly on
the sidelines, heir to the throne, and eventual ruler of the realm.
His eventual succession all but guaranteed, only time and the number
of heads that must roll remain mysteries.


git-svn-id: svn://localhost/ardour2/branches/3.0@5061 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-07 17:31:18 +00:00
80c8866303 Add mising file.
git-svn-id: svn://localhost/ardour2/branches/3.0@5059 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-07 14:17:19 +00:00
7183242b8c The great audio processing overhaul.
The vast majority of Route signal processing is now simply in the list of
processors.  There are definitely regressions here, but there's also
a lot of things fixed.  It's far too much work to let diverge anymore
regardless, so here it is.

The basic model is: A route has a fixed set of input channels (matching
its JACK input ports and diskstream).  The first processor takes this
as input.  The next processor is configured using the first processor's
output as input, and is allowed to choose whatever output it wants
given that input... and so on, and so on.  Finally, the last processor's
requested output is used to set up the panner and create whatever Jack
ports are needed to output the data.

All 'special' internal processors (meter, fader, amp, insert, send) are
currently transparent: they read any input, and return the same set
of channels back (unmodified, except for amp).

User visible changes:
 * LV2 Instrument support (tracks with both MIDI and audio channels)
 * MIDI in/out plugin support
 * Generic plugin replication (for MIDI plugins, MIDI/audio plugins)
 * Movable meter point

Known Bugs:
 * Things seem to get weird on loaded sessions
 * Output delivery is sketchy
 * 2.0 session loading was probably already broken...
   but it's definitely broken now :)

Please test this and file bugs if you have any time...



git-svn-id: svn://localhost/ardour2/branches/3.0@5055 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-07 06:30:50 +00:00
97b5eb1580 Fix LADSPA plugin channel mapping.
Fixes mantis issue #0002659.


git-svn-id: svn://localhost/ardour2/branches/3.0@5054 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-06 06:38:53 +00:00
9faf3bd048 Fix crash when playing back MIDI within a loop.
Fixes mantis issue #0002570.


git-svn-id: svn://localhost/ardour2/branches/3.0@5052 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-05 02:04:56 +00:00
83c27fa888 Support recursive undo events.
Code can now call begin_reversible_command and commit_reversible_command around a region
of code which itself calls those functions (and so on), areas contained within enclosing
regions will be added as sub-commands of the current command (i.e. it's a stack).

Fixes mantix issue #0002558.


git-svn-id: svn://localhost/ardour2/branches/3.0@5051 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-05 01:53:30 +00:00
61169434ea Back out part of r5035: SLV2 doesn't require LRDF and LRDF is in uselib already anyway.
git-svn-id: svn://localhost/ardour2/branches/3.0@5046 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 23:00:55 +00:00
d3d1e2c286 Strip trailing whitespace from waf scripts.
git-svn-id: svn://localhost/ardour2/branches/3.0@5045 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 22:10:15 +00:00
cefbb08c40 Fix MIDI monitoring while recording.
git-svn-id: svn://localhost/ardour2/branches/3.0@5043 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 21:26:46 +00:00
c892bc35c8 Shut up.
git-svn-id: svn://localhost/ardour2/branches/3.0@5042 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 20:19:29 +00:00
3a6fa245c2 Fix building without LV2.
git-svn-id: svn://localhost/ardour2/branches/3.0@5041 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 20:11:02 +00:00
da8cf83b72 Shut up.
git-svn-id: svn://localhost/ardour2/branches/3.0@5040 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 20:00:18 +00:00
5513632422 Fix MIDI recording.
git-svn-id: svn://localhost/ardour2/branches/3.0@5039 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 19:58:48 +00:00
49f28513f5 clean up that godawful ugly latency GUI in plugin UIs
git-svn-id: svn://localhost/ardour2/branches/3.0@5038 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 17:49:28 +00:00
807bc4c3d6 Reconfigure GUI meters when route I/O configuration changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@5037 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 17:05:55 +00:00
ca10cc82a4 Preliminary MIDI plugin support.
git-svn-id: svn://localhost/ardour2/branches/3.0@5036 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 15:50:51 +00:00
9b06b1da0c slv2 also needs lrdf
git-svn-id: svn://localhost/ardour2/branches/3.0@5035 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 14:54:53 +00:00
b034d9d05a Maybe fix assertion crash.
git-svn-id: svn://localhost/ardour2/branches/3.0@5031 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 02:15:16 +00:00
Sakari Bergen
7e48118bf1 * Fix tooltips in the session import dialog
* Fix arval to run from all directories


git-svn-id: svn://localhost/ardour2/branches/3.0@5028 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-02 20:26:11 +00:00
c7733b443a Fix LV2 plugin support.
git-svn-id: svn://localhost/ardour2/branches/3.0@5027 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-02 18:13:24 +00:00
Carl Hetherington
918371d52a Couple of fixes to route / mixer strip ordering which should hopefully stop the random re-ordering on startup.
git-svn-id: svn://localhost/ardour2/branches/3.0@5026 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-01 20:30:57 +00:00
848df74e58 Fix MIDI playback.
git-svn-id: svn://localhost/ardour2/branches/3.0@5024 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-01 17:32:48 +00:00
3014d23801 Missed one...
git-svn-id: svn://localhost/ardour2/branches/3.0@5023 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-30 22:11:36 +00:00
cf8aa58686 Fix crash on MIDI stretch.
git-svn-id: svn://localhost/ardour2/branches/3.0@5022 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-30 21:57:28 +00:00
5385e93cc0 Rename 'position' parameter of MidiSource::midi_read to clearer 'source_start'.
git-svn-id: svn://localhost/ardour2/branches/3.0@5021 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-30 21:56:40 +00:00
Carl Hetherington
c724b85839 Fix a couple of valgrind-spotted out-of-bounds accesses that may have been causing segfaults, especially when opening the crossfade editor dialog. Some minor cleanups. Add some comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@5020 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-30 18:45:45 +00:00
2e7c10b6ef fix up confusion between silence() decls for Processor & PluginInsert; fix typo that put a 9 where a 0 should be
git-svn-id: svn://localhost/ardour2/branches/3.0@5018 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-30 17:26:13 +00:00
9ec3728796 Fix local include.
git-svn-id: svn://localhost/ardour2/branches/3.0@5016 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-30 16:47:51 +00:00
8a7e3f17f4 implement panner reset functionality (missing since 0.99?) ported from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@5015 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-30 15:04:16 +00:00
Carl Hetherington
e41527d5ba Only make record button solid red (and big clock red) when things are actually being recorded (ie when record is in progress and one or more tracks are armed). As per mantis #2604.
git-svn-id: svn://localhost/ardour2/branches/3.0@5012 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-29 17:30:35 +00:00
Carl Hetherington
9e776feac6 Add files missing from previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@5011 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-29 17:05:42 +00:00
Carl Hetherington
459c439512 First cut of option to strip silence from audio regions, as per mantis #1623
git-svn-id: svn://localhost/ardour2/branches/3.0@5010 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-29 17:01:14 +00:00
Carl Hetherington
7eba373a0f Disallow click and auditioner as track / buss names to avoid clashing with internal IOs.
git-svn-id: svn://localhost/ardour2/branches/3.0@5009 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-29 16:15:33 +00:00
a4f973eb23 remove some extraneous chars from lv2_plugin.cc
git-svn-id: svn://localhost/ardour2/branches/3.0@5002 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-23 21:30:20 +00:00
2836879341 remove offset from process callback tree. some breakage may have occured. yes, really.
git-svn-id: svn://localhost/ardour2/branches/3.0@4999 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-23 17:48:37 +00:00
0a22716b74 new file to encapsulate posix_memalign() hackery
git-svn-id: svn://localhost/ardour2/branches/3.0@4998 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-23 17:43:39 +00:00
c287ebec9b a long tricky day of playing with ArdourStartup and session naming/loading etc.
git-svn-id: svn://localhost/ardour2/branches/3.0@4995 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-22 01:35:31 +00:00
0d36301907 3 notable patches from lincoln (a) non-layered track mode (NOTE: this is broken for loop recording right now) (b) trim region to previous/next region (c) region push/pull trimming. work on these 3 features should be assumed to be still slightly ongoing (eg. default bindings and more). great stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@4994 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-20 21:02:46 +00:00
3ae378a17c Upgrade to waf 1.5.4.
git-svn-id: svn://localhost/ardour2/branches/3.0@4991 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-18 16:15:12 +00:00
a4b8955f3e part 2 of 3 of the 2.8 -> 3.0 merge
git-svn-id: svn://localhost/ardour2/branches/3.0@4987 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-16 16:02:25 +00:00
60eef7dd3e Fix warning (pointless comparison).
git-svn-id: svn://localhost/ardour2/branches/3.0@4986 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-16 15:28:36 +00:00
6f907ad4c0 Fix waf build.
git-svn-id: svn://localhost/ardour2/branches/3.0@4985 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-16 14:56:24 +00:00
d489a65dad Revert stupid r4975.
git-svn-id: svn://localhost/ardour2/branches/3.0@4984 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-16 14:34:56 +00:00
b90424cf80 merge new directory/file structure from newer vamp version via 2.0 (3993:4905)
git-svn-id: svn://localhost/ardour2/branches/3.0@4983 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-16 12:32:55 +00:00
1ff9e8afc0 merge 3578:4901 of thirdparty/rubberband/current
git-svn-id: svn://localhost/ardour2/branches/3.0@4982 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-16 00:53:20 +00:00
c2b12f05f4 FST code from 2.X branch
git-svn-id: svn://localhost/ardour2/branches/3.0@4981 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-16 00:43:41 +00:00
54d9f2f2d8 first half of the mega-by-hand-commit-by-commit merge from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@4980 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-15 18:04:23 +00:00
Hans Baier
ece2bacb2c SMFSource: enhanced debugging output to reveal more of the problem
git-svn-id: svn://localhost/ardour2/branches/3.0@4976 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-14 10:44:47 +00:00
Hans Baier
ad2757c84f SMFSource: code readability
git-svn-id: svn://localhost/ardour2/branches/3.0@4975 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-14 10:38:23 +00:00
Hans Baier
625c9ac228 SMFSource / MIDISource: more readable variable names in read/write(_unlocked), added debugging output to diagnose recording bug (MIDI recording stops receiving events after a short while)
git-svn-id: svn://localhost/ardour2/branches/3.0@4974 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-14 10:13:06 +00:00
Hans Baier
06a8d164da libs/evoral/run-tests.sh: adapt to new global waf
git-svn-id: svn://localhost/ardour2/branches/3.0@4973 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-12 22:29:05 +00:00
Hans Baier
b3c3d932cd Ticker: apply patch from lincoln, Thanks!
git-svn-id: svn://localhost/ardour2/branches/3.0@4841 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-16 16:10:10 +00:00
Carl Hetherington
0ac5ef6fab Fix compile.
git-svn-id: svn://localhost/ardour2/branches/3.0@4749 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-09 18:34:04 +00:00
Sampo Savolainen
bcd217ec8e Improvements to the plugin eq gui:
- phase correction for analysis
 - move gui elements to a more common location so that it's available for VSTs
   (needs packing in each PluginUI derived class though)


git-svn-id: svn://localhost/ardour2/branches/3.0@4745 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-07 11:17:06 +00:00
Sakari Bergen
e09c51251f Fix compiler warnings
git-svn-id: svn://localhost/ardour2/branches/3.0@4744 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-07 09:42:39 +00:00
Sampo Savolainen
bb20bcc7b6 Make it possible to consolidate/bounce ranges without applying processing
git-svn-id: svn://localhost/ardour2/branches/3.0@4743 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-06 19:28:39 +00:00
0697aed059 combobox width fixes from mtaht, backported from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@4742 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-06 17:06:38 +00:00
55a367837a make track templates work, including a fix for the MidiTrack XML constructor
git-svn-id: svn://localhost/ardour2/branches/3.0@4735 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-05 17:27:05 +00:00
7ea68ecad6 add accessor for the Gtk::Main hidden inside Gtkmmext::UI
git-svn-id: svn://localhost/ardour2/branches/3.0@4730 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-05 12:25:15 +00:00
cb8ced74b5 prevent double-listing of LADSPA plugins caused by symlinks to library directories (e.g. lib64 -> lib)
git-svn-id: svn://localhost/ardour2/branches/3.0@4722 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-02 21:04:39 +00:00
c21479a3aa remove unneeded code in line_drag that was probably copy/pasted from control_point_drag (Ben Loftis, backported from 2.X)
git-svn-id: svn://localhost/ardour2/branches/3.0@4717 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-02 18:13:20 +00:00
9f4c7a9e9e track templates, backported from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@4713 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-02 16:52:40 +00:00
f613d3fe14 recursive operation for PBD::PathScanner, backported from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@4712 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-02 16:52:10 +00:00
Carl Hetherington
fb87fd6ffa Be more tolerant of session files where IOs connect to non-existant bundles.
git-svn-id: svn://localhost/ardour2/branches/3.0@4711 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-01 19:45:35 +00:00
Carl Hetherington
737ce09ef0 Slightly modified version of lincoln's patch for #2567. Thanks!
git-svn-id: svn://localhost/ardour2/branches/3.0@4708 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 23:47:43 +00:00
Carl Hetherington
1f81c127fe Remove some unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@4707 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 23:26:52 +00:00
9d52ae2f19 tweaks to get a VST-supporting 3.0 to build & startup
git-svn-id: svn://localhost/ardour2/branches/3.0@4705 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 22:52:39 +00:00
63189be1df vestige-based VST support, back-ported from 2.0-ongoing
git-svn-id: svn://localhost/ardour2/branches/3.0@4703 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 17:11:21 +00:00
903c0863d9 Waf: install stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@4702 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 04:40:44 +00:00
c54fe0e7cd Print more configuration summary stuff (sound libs).
git-svn-id: svn://localhost/ardour2/branches/3.0@4700 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 02:32:53 +00:00
9f77cd9e19 Step towards having both rubberband and soundtouch compiled in at once.
git-svn-id: svn://localhost/ardour2/branches/3.0@4697 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 00:59:30 +00:00
0a61e3893d Waf: build control surfaces.
git-svn-id: svn://localhost/ardour2/branches/3.0@4695 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 00:27:14 +00:00
6423f13fdf Fix bad initialization.
git-svn-id: svn://localhost/ardour2/branches/3.0@4686 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 20:53:07 +00:00
2d8df9e215 Waf: Build LV2 support.
git-svn-id: svn://localhost/ardour2/branches/3.0@4680 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 17:31:00 +00:00
0dac6b545b Waf: build UI/RC files, menu files, keybinding files, and fix paths in wrapper scripts.
Ardour should now build and run when built with waf from a clean svn checkout.


git-svn-id: svn://localhost/ardour2/branches/3.0@4676 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 04:41:09 +00:00
802fac5ea2 Don't link against VAmp plugins.
git-svn-id: svn://localhost/ardour2/branches/3.0@4675 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 03:35:15 +00:00
906567d867 Use actually normal taglib headers (apparently it completely changes them on install. More idiotically layed out library tree, ever.).
Add symlinks to taglib source tree to mimick installed tree to avoid the copy thing.


git-svn-id: svn://localhost/ardour2/branches/3.0@4674 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 03:24:05 +00:00
b80aa1fa9d Use normal taglib include paths.
git-svn-id: svn://localhost/ardour2/branches/3.0@4673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 02:48:07 +00:00
b4d8dd9613 Use quotes for taglib includes.
git-svn-id: svn://localhost/ardour2/branches/3.0@4672 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 02:41:50 +00:00
76f242cb80 Version file building stuff.
Ardour should now compile from a fresh svn checkout using only waf.


git-svn-id: svn://localhost/ardour2/branches/3.0@4671 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 02:24:16 +00:00
593ffe8033 Build VAmp plugins.
git-svn-id: svn://localhost/ardour2/branches/3.0@4670 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 01:34:03 +00:00
1d516ac95a Waf building of rubberband.
Use rubberband over soundtouch with waf for the time being.


git-svn-id: svn://localhost/ardour2/branches/3.0@4669 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 01:22:20 +00:00
03536cd399 Fix a bunch of warnings.
Clean up.


git-svn-id: svn://localhost/ardour2/branches/3.0@4668 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 00:58:35 +00:00
3bc71af0ca Clean up checks.
git-svn-id: svn://localhost/ardour2/branches/3.0@4667 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 00:05:51 +00:00
b7753d292b Add missing gtk2_ardour wscript.
Check for libraries in libardour wscript (instead of gtk2_ardour) where appropriate.


git-svn-id: svn://localhost/ardour2/branches/3.0@4665 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 23:59:55 +00:00
e2353c67fa Add missing gtkmm2ext wscript.
git-svn-id: svn://localhost/ardour2/branches/3.0@4663 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 23:48:10 +00:00
0c0e689d3c Waf building of gtk2_ardour.
git-svn-id: svn://localhost/ardour2/branches/3.0@4662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 23:21:49 +00:00
310d68b953 Waf building of libardour (yay!).
git-svn-id: svn://localhost/ardour2/branches/3.0@4661 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 21:48:32 +00:00
5fe3401814 Waf building of taglib and vamp-sdk.
git-svn-id: svn://localhost/ardour2/branches/3.0@4660 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 19:36:16 +00:00
5b9433f42f Fix stupid warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@4659 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 19:35:32 +00:00
8ad0123812 Make unit tests optional.
git-svn-id: svn://localhost/ardour2/branches/3.0@4658 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 19:08:26 +00:00
24f5ad743e Quote includes for control_protocol.
git-svn-id: svn://localhost/ardour2/branches/3.0@4656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 18:39:39 +00:00
e0aaed6d65 *** NEW CODING POLICY ***
All #include statements that include a header that is a part of a library
bundled with ardour MUST use quotes, not angle brackets.

Do this:

#include "ardour/types.h"

NOT this:

#include <ardour/types.h>

Rationale:

This is best practice in general, to ensure we include the local version
and not the system version.  That quotes mean "local" (in some sense)
and angle brackets mean "system" (in some sense) is a ubiquitous
convention and IIRC right in the C spec somewhere.

More pragmatically, this is required by (my) waf (stuff) for dependencies
to work correctly.  That is:

!!! FAILURE TO DO THIS CAN RESULT IN BROKEN BUILDS !!!

Failure to comply is punishable by death by torture. :)

P.S. It's not that dramatic in all cases, but this (in combination with some
GCC flags specific to the include type) is the best way I have found to be
absolutely 100% positive the local ones are being used (and we definitely
want to be absolutely 100% positive on that one).


git-svn-id: svn://localhost/ardour2/branches/3.0@4655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 18:26:51 +00:00
16d9776646 Move waf up to top level, waf building of pbd, evoral, midi++
git-svn-id: svn://localhost/ardour2/branches/3.0@4654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 17:51:42 +00:00
caf103c0af Fix warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@4653 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 17:39:19 +00:00
77a71ac3e0 Fix empty for loop warning in RingBuffer constructor... and scary indentation... this is what was intended here, yes?
git-svn-id: svn://localhost/ardour2/branches/3.0@4652 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 17:23:15 +00:00
09f87d4f9f Upgrade to waf 1.5.3.
git-svn-id: svn://localhost/ardour2/branches/3.0@4651 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 16:41:27 +00:00
c9e5903e73 Clean up xml++.h and xml++.cc in Ardour style.
No functional changes.
(We've diverged far enough for it to not matter, and are about to diverge even more, so might as well).


git-svn-id: svn://localhost/ardour2/branches/3.0@4649 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-22 20:52:34 +00:00
5b04ddf424 Make commands noncopyable (they are definitely not copy safe).
memento_command.h style.


git-svn-id: svn://localhost/ardour2/branches/3.0@4648 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-22 17:37:33 +00:00
df4e6f2341 Fix recording of the last disk chunk's worth of MIDI data.
git-svn-id: svn://localhost/ardour2/branches/3.0@4645 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-20 01:20:03 +00:00
c9582da233 Make source length a dynamic thing.
Update MIDI region length (actually and visually) when position changes.


git-svn-id: svn://localhost/ardour2/branches/3.0@4644 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-20 00:30:42 +00:00
bed0d89337 Clean up Region interface, remove Readable stub kludge.
git-svn-id: svn://localhost/ardour2/branches/3.0@4643 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-19 21:06:56 +00:00
75c15679bf Only create a Curve for an AutomationList if we need it.
Fix crash on crossfade editor show (ticket 2442).


git-svn-id: svn://localhost/ardour2/branches/3.0@4641 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-19 19:42:25 +00:00
8a28ea6154 Introduce new time for session-relative frame time, and make source interface capable of handling 64-bit long sessions.
sframes_t is "session frames".  The rules for time stamps are:
 - Anything relative to transport time, session position, etc, should be sframes_t
 - Anything relative to jack cycles, including the length thereof, should be nframes_t

To support sessions which exceed UINT32_MAX frames, we need to replace all the uses of
nframes_t for session time with sframes_t, and make sure the conversions are sound.
This does not depend on jack's nframes_t; that we are using the same type at all right now was an oops.

This is also be kinda nice for readability since the two different time bases have different types...


git-svn-id: svn://localhost/ardour2/branches/3.0@4636 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-19 05:45:11 +00:00
0f71728a92 Interpret tempo time based on read position (not source timeline position which is more or less meaningless).
Move time conversion into the region view rather than the source.
Adapt MIDI (including controllers) regions to the destination tempo when moved (e.g. dragging a region to a location with half the tempo will make the notes twice as long).


git-svn-id: svn://localhost/ardour2/branches/3.0@4635 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-19 04:12:54 +00:00
8f572c3d3f Readable is not as generic as its name implies ;)
git-svn-id: svn://localhost/ardour2/branches/3.0@4634 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-19 01:56:58 +00:00
067faeca62 Remove unused Session::curves.
git-svn-id: svn://localhost/ardour2/branches/3.0@4633 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-19 01:24:34 +00:00
e209e0d471 Remove empty files.
git-svn-id: svn://localhost/ardour2/branches/3.0@4629 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-18 23:58:21 +00:00
cbb59ddbce Fix 'sticky' sliders when MIDI control feedback is enabled.
git-svn-id: svn://localhost/ardour2/branches/3.0@4628 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-18 23:54:41 +00:00
9cfa3e2bf6 Fix MIDI control parameter mapping to work with controls that aren't [0..1] like gain (fix ticket #0002553).
git-svn-id: svn://localhost/ardour2/branches/3.0@4627 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-18 22:30:06 +00:00
3ccd34ec7e Style.
git-svn-id: svn://localhost/ardour2/branches/3.0@4626 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-18 20:57:58 +00:00
1f9c3f34d9 Fix MIDI controller feedback.
Make control surfaces menu less weird.


git-svn-id: svn://localhost/ardour2/branches/3.0@4625 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-18 20:53:54 +00:00
22088e77a7 Fix ardour2 -> ardour3 stuff in po files.
git-svn-id: svn://localhost/ardour2/branches/3.0@4623 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-18 18:51:50 +00:00
227eca4054 Fix ardour2 -> ardour3 issues.
git-svn-id: svn://localhost/ardour2/branches/3.0@4622 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-18 18:32:13 +00:00
2463be97f7 Make sure Evoral::MIDIEvent XML stuff is entirely unused in midi++ for now (resolve ticket #0002491).
Remove empty midi++ README etc files (and ancient nearly-empty midi++ ChangeLog).


git-svn-id: svn://localhost/ardour2/branches/3.0@4621 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-18 18:04:54 +00:00
Hans Baier
96d62ba6b4 * FIXME in midi_util.h
git-svn-id: svn://localhost/ardour2/branches/3.0@4615 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-17 16:42:17 +00:00
f219a53744 Fix deadlock and potential race condition when editing MIDI.
git-svn-id: svn://localhost/ardour2/branches/3.0@4614 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-17 06:09:37 +00:00
3f24977735 Make a bunch of stuff boost::noncopyable.
Clean up.


git-svn-id: svn://localhost/ardour2/branches/3.0@4613 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-17 03:49:32 +00:00
4fced02c0b Fix crazy spacey tabs, width, other super relevant rocket scientist type things.
git-svn-id: svn://localhost/ardour2/branches/3.0@4612 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-17 02:45:58 +00:00
022818b4a7 Fix the horrible mess that was anything related to sources and paths.
Most significant changes:

 - Factor out FileSource from AudioFileSource, use for SMFSource too
 - Explicitly pass embedded rather than mysterious name mangling or whatever
 - Destroy a ton of duplicated or very-nearly-duplicated code
 - Clean up and document all that weird source stuff in session.cc


git-svn-id: svn://localhost/ardour2/branches/3.0@4609 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-17 02:11:49 +00:00
Carl Hetherington
4565b73a39 Fix for visual glitch due to race between Editor::update_current_screen being called and a locate event being processed.
git-svn-id: svn://localhost/ardour2/branches/3.0@4608 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-17 00:12:22 +00:00
Sampo Savolainen
87c7b62103 Fix memory leak.
git-svn-id: svn://localhost/ardour2/branches/3.0@4606 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 19:06:27 +00:00
900309993c Move duplicated AudioFileSource::Flags and SMFSource::Flags into Source.
Clean up source stuff.


git-svn-id: svn://localhost/ardour2/branches/3.0@4605 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 18:08:22 +00:00
64bf6f004a Fix a bunch of the ol' trivial audio-specific-for-no-particular-reason things.
Re-addition of this sort of thing is now officially punishable by death ;)


git-svn-id: svn://localhost/ardour2/branches/3.0@4603 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 07:04:27 +00:00
f12cfb3d87 Fix crash iterating over sequences with no controls (and Sequence iterator sanity in general).
git-svn-id: svn://localhost/ardour2/branches/3.0@4602 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 07:02:28 +00:00
458c588e2c Don't bind playlist_modified with a shared_ptr<Playlist> parameter.
Clean up.


git-svn-id: svn://localhost/ardour2/branches/3.0@4599 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 05:13:05 +00:00
5f7b4de024 Time unit translation for AutomationLine (correctly display MIDI controller data).
git-svn-id: svn://localhost/ardour2/branches/3.0@4597 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 04:46:45 +00:00
0ef53a2d34 Fix crash on iteration over an empty sequence and/or recording controllers only.
git-svn-id: svn://localhost/ardour2/branches/3.0@4596 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 04:46:06 +00:00
93d7040d04 Fix deadlock issues.
Add IdentityConverter for when no conversion is actually needed.


git-svn-id: svn://localhost/ardour2/branches/3.0@4595 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 04:39:34 +00:00
3963d2b0b2 Move all beats <-> frames time conversion into a single object that can be passed around.
This has 3 main benefits:
 - All conversion code is in one place (less duplication, potential bugs)
 - The conversion method can be passed to things that are ignorant
   of the actual time units involved, information required, etc.
   (In the future it would be nice to have user selectable tempo/frame time)
 - It should be relatively simple now to support tempo changes part-way
   through a MIDI region (at least architecturally speaking)


git-svn-id: svn://localhost/ardour2/branches/3.0@4594 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 02:51:16 +00:00
fd1a3cfa4c Gracefully ignore illegal MIDI events at the buffer level (i.e. from Jack).
Ardour should now be able to more or less tolerate crazy incoming MIDI (except for SYSEX).


git-svn-id: svn://localhost/ardour2/branches/3.0@4592 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 00:53:26 +00:00
85ab341795 Gracefully ignore illegal MIDI events.
git-svn-id: svn://localhost/ardour2/branches/3.0@4591 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 00:36:11 +00:00
473170200d Rewrite Sequence::const_iterator.
Fixes crash bug when seeking back and forth from start to end of session.
Not sure about other things, but it makes a lot more sense now anyway...


git-svn-id: svn://localhost/ardour2/branches/3.0@4590 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 00:16:28 +00:00
1380f4fafb Trim include dependency tree (particularly on evoral/Sequence.hpp).
git-svn-id: svn://localhost/ardour2/branches/3.0@4589 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 23:47:09 +00:00
72f2f6e47e Clean up fugly debug printing stuff.
git-svn-id: svn://localhost/ardour2/branches/3.0@4588 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 22:10:32 +00:00
3cfb9126af Fix crash on reading meta event.
git-svn-id: svn://localhost/ardour2/branches/3.0@4586 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 20:50:20 +00:00
59972b5550 Factor out region layering.
Correctly layer automation regions to match the stacking of their 'real' counterparts.


git-svn-id: svn://localhost/ardour2/branches/3.0@4585 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 20:31:05 +00:00
166395c96b Fix genererally retarded and broken note range / diskstream display / etc. related things (correctly display region contents on initial session load).
git-svn-id: svn://localhost/ardour2/branches/3.0@4583 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 19:44:27 +00:00
ecaf107ed3 The Big Change: Store time in MidiModel as tempo time, not frame time.
The time stamp of an event is now always tempo, from file to model and
back again.  Frame time is only relevant at playback or recording time,
in the audio thread (MidiModel and MidiBuffer).

I think perhaps we don't need to change the actual time from double (which is
convenient for math), it is the time base conversion that caused problems.
Using a correct equality comparison (i.e.  not == which is not correct for
floating point) should probably make the undo issues go away, in 99.99% of
cases anyway.

There's almost certainly some regressions in here somewhere, but they do not
seem to be time related.  The bugs I'm hitting in testing are old ones that
seem unrelated now, so it's checkpoint time.

This sets us up for fancy things like tempo map import and tempo/meter changes
halfway through MIDI regions, but for now it's still assumed that the tempo
at the start of the region is valid for the duration of the entire region.


git-svn-id: svn://localhost/ardour2/branches/3.0@4582 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 17:30:42 +00:00
425966a696 Make smf_track_get_next_event gracefully handle empty tracks.
git-svn-id: svn://localhost/ardour2/branches/3.0@4581 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 17:16:58 +00:00
4c9ec5c9c0 Commit of the century, right here.
git-svn-id: svn://localhost/ardour2/branches/3.0@4580 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 03:51:49 +00:00
64e69c36da Oops. Fix XML stuff in GUI as well.
git-svn-id: svn://localhost/ardour2/branches/3.0@4579 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 03:45:00 +00:00
9462374e29 Session XML style consistency (tag names are capitalized).
One thing left, this weird "end-marker-is-free" in <Config>.  Is this really a config option?  Anyone?


git-svn-id: svn://localhost/ardour2/branches/3.0@4577 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 03:21:30 +00:00
74ff55f835 Tidy, remove dead code.
git-svn-id: svn://localhost/ardour2/branches/3.0@4576 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 03:00:04 +00:00
4b3b7fa952 Tidy.
git-svn-id: svn://localhost/ardour2/branches/3.0@4575 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 02:36:15 +00:00
67ce82c9b4 Shutup.
git-svn-id: svn://localhost/ardour2/branches/3.0@4574 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 02:14:23 +00:00
0d7936d823 Cache file position in SMFSource::read_unlocked (i.e. don't seek to start and search every single time).
git-svn-id: svn://localhost/ardour2/branches/3.0@4573 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 02:09:58 +00:00
41ac4afff5 Clean up.
git-svn-id: svn://localhost/ardour2/branches/3.0@4572 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 01:53:06 +00:00
5d519f8bb1 De-templatify Evoral::SMF which has no concept of time other than SMF time.
git-svn-id: svn://localhost/ardour2/branches/3.0@4571 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 01:32:41 +00:00
5a48f99f72 Use nframes_t for timestamps of real (jack) time MIDI events (i.e. in MidiBuffer and MidiRingBuffer).
Use iterator interface of Sequence to read events in a MIDISource rather than Sequence::read, avoiding timestamp confusion.
Disable no longer useful Sequence::read.


git-svn-id: svn://localhost/ardour2/branches/3.0@4570 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 01:24:26 +00:00
aefa9f0938 Tidy.
git-svn-id: svn://localhost/ardour2/branches/3.0@4569 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 23:48:18 +00:00
de2681f7cd Remove superfluous typedefs.
Don't set range on sysex parameters (fix warning).


git-svn-id: svn://localhost/ardour2/branches/3.0@4568 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 23:41:05 +00:00
d0cc3120ae Make SMF::append_event_delta take a buffer and a size rather than an Event (no point, more generic, etc.).
git-svn-id: svn://localhost/ardour2/branches/3.0@4567 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 22:52:38 +00:00
ea37584cac Const correctness.
git-svn-id: svn://localhost/ardour2/branches/3.0@4566 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 22:49:25 +00:00
f8d171d297 Remove unused (and timestamp type nasty) last_event_time() from SMF.
I swear I already did this.


git-svn-id: svn://localhost/ardour2/branches/3.0@4564 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 22:40:55 +00:00
3d4d0477f6 While I'm doing trivial prettification things and not giving a damn about superficial divergence:
- Remove tab width assumption in struct members that looked atrocious at ts=4
- Line up function names for easier/faster readability


git-svn-id: svn://localhost/ardour2/branches/3.0@4563 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 22:32:36 +00:00
1fd221ed1c Line wrap at 100 lines so I can read things :).
Formatting changes only.


git-svn-id: svn://localhost/ardour2/branches/3.0@4562 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 22:27:17 +00:00
cdbb1f898e Update for libsmf API changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@4561 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 22:23:40 +00:00
8249cfb6a7 Fix types to be warning clean on 64 bit.
git-svn-id: svn://localhost/ardour2/branches/3.0@4560 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 22:22:55 +00:00
464d3d3ab4 Update autowaf (fix mandatory header check).
git-svn-id: svn://localhost/ardour2/branches/3.0@4559 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 20:53:51 +00:00
80e54c6ea0 MIDI robustness.
- Separate SMF::open and SMF::create, more powerful interface for both.
- Correctly handle note ons with velocity 0 as note offs in sequence.
- Use SMF (i.e. libsmf) for MIDI import


git-svn-id: svn://localhost/ardour2/branches/3.0@4558 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 20:52:15 +00:00
Carl Hetherington
9a3734a6bd Make DnD copy processors using their XML representations. Remove unused
copy constructors from the Processor hierarchy, and declare them private
to explicitly disallow copy construction.


git-svn-id: svn://localhost/ardour2/branches/3.0@4556 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 19:45:30 +00:00
b35f308894 Fix most absurd function name I've seen in a while.
git-svn-id: svn://localhost/ardour2/branches/3.0@4555 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 17:59:58 +00:00
b2a051f6c6 More powerful SMF::open interface.
git-svn-id: svn://localhost/ardour2/branches/3.0@4554 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 17:54:45 +00:00
d439459589 Remove abstract MIDIFile interface (maintaining interface with old crap was getting annoying).
git-svn-id: svn://localhost/ardour2/branches/3.0@4553 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 17:39:49 +00:00
5ffdf1857e LibSMF -> SMF
git-svn-id: svn://localhost/ardour2/branches/3.0@4552 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 17:35:34 +00:00
6314c69971 SMF -> OldSMF
git-svn-id: svn://localhost/ardour2/branches/3.0@4551 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 17:28:57 +00:00
Carl Hetherington
50d7d19614 Fix send copying by paste and drag n drop.
git-svn-id: svn://localhost/ardour2/branches/3.0@4550 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 17:28:01 +00:00
Hans Baier
e9fde9baa7 * second part of the last fix
git-svn-id: svn://localhost/ardour2/branches/3.0@4549 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 07:21:01 +00:00
Hans Baier
90ee153fc1 * fix concerning a comment on issue 2541: Go back to the last MIDI beat on stop
git-svn-id: svn://localhost/ardour2/branches/3.0@4548 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 07:18:38 +00:00
ef172d7ad6 Less weak plugin preset system (maybe AU preset stuff can use the 'normal' thing instead of being all weird now?).
LV2 preset support as implemented in svn calf plugins (experimental extension).


git-svn-id: svn://localhost/ardour2/branches/3.0@4547 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 03:28:12 +00:00
f609d97ccd Mandatory check for boost headers.
git-svn-id: svn://localhost/ardour2/branches/3.0@4546 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 01:00:15 +00:00
Hans Baier
92243228be *session.h whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@4545 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-13 08:29:23 +00:00
Hans Baier
0800b59f61 * MIDIClock_Slave: fixed bugs:
- not synced to session.audible_frame() but to session.transport_frame()
	- failed asserts in song position


git-svn-id: svn://localhost/ardour2/branches/3.0@4543 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-13 08:29:01 +00:00
Hans Baier
bb1aa327f8 * MIDIClock_Slave: Fix for devices that always send MIDI clock (not just between start/stop)
git-svn-id: svn://localhost/ardour2/branches/3.0@4542 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-13 08:28:54 +00:00
Hans Baier
328691c9d1 * disabled debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@4541 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-12 23:28:58 +00:00
Hans Baier
e7c7c33563 * Evoral: SMFTest: added createNewFileTest (passes)
git-svn-id: svn://localhost/ardour2/branches/3.0@4540 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-12 23:28:51 +00:00
Hans Baier
9d33176b49 * Swapped MidiSource to LibSMF
* integrated libsmf into scons


git-svn-id: svn://localhost/ardour2/branches/3.0@4539 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-12 23:28:32 +00:00
Hans Baier
b1cd183511 * MIDI clock slave: issues 2541 and 2542 ready for testing (cant test myself due to lack of hardware)
* tempo.cc/tempo.h: formatting / whitespace


git-svn-id: svn://localhost/ardour2/branches/3.0@4538 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-12 10:14:22 +00:00
550613a898 verbosity--
git-svn-id: svn://localhost/ardour2/branches/3.0@4536 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-11 20:47:40 +00:00
3d1b648130 Remove unused (and weirdly typed) time parameter from begin_write.
Fix append_event_unlocked shadowing.


git-svn-id: svn://localhost/ardour2/branches/3.0@4535 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-11 20:37:22 +00:00
43c9e2a121 verbosity--
git-svn-id: svn://localhost/ardour2/branches/3.0@4534 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-11 20:20:41 +00:00
9579ea0801 StandardMIDIFile -> MIDIFile.
git-svn-id: svn://localhost/ardour2/branches/3.0@4533 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-11 20:15:25 +00:00
33bbc5cd84 Detect libsmf error and throw exceptions.
git-svn-id: svn://localhost/ardour2/branches/3.0@4532 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-11 17:59:33 +00:00
13bcd43423 Include stripped down libsmf code internally.
git-svn-id: svn://localhost/ardour2/branches/3.0@4531 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-11 17:38:40 +00:00
Hans Baier
947077c12e * introduced dependency: libsmf-1.2
* extracted Interface from SMF: StandardMIDIFile
* first implementation of StandardMIDIFile based on libsmf that passes basic test


git-svn-id: svn://localhost/ardour2/branches/3.0@4529 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-11 09:54:31 +00:00
Carl Hetherington
567f37f8eb Offer routes on mixer strip IO menus. Fixes to these menus on MIDI routes.
git-svn-id: svn://localhost/ardour2/branches/3.0@4528 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-11 02:14:01 +00:00
Carl Hetherington
a192ccaebc Add connected_to ()
git-svn-id: svn://localhost/ardour2/branches/3.0@4527 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-11 02:13:15 +00:00
Carl Hetherington
9b6d5a9361 Remove declaration of undefined method.
git-svn-id: svn://localhost/ardour2/branches/3.0@4526 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-11 02:12:41 +00:00
Carl Hetherington
d469cc3e3a Remove internal ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@4525 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-11 00:58:24 +00:00
Hans Baier
fe4e98a729 *Evoral: Sequence: forgot to commit that
git-svn-id: svn://localhost/ardour2/branches/3.0@4524 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-11 00:00:41 +00:00
Hans Baier
dcc25d795b * Evoral: Added Unit test for SMF
git-svn-id: svn://localhost/ardour2/branches/3.0@4523 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10 23:58:02 +00:00
Hans Baier
ce8065fea8 * Evoral::Sequence: conditional compile for debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@4522 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10 23:57:52 +00:00
Hans Baier
494e7feec6 * Code readability: Template parameter <T> -> <Time>
git-svn-id: svn://localhost/ardour2/branches/3.0@4521 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10 22:06:56 +00:00
Hans Baier
d9b7f2f245 * fix MIDI playback
git-svn-id: svn://localhost/ardour2/branches/3.0@4518 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10 08:43:43 +00:00
Hans Baier
1872d48507 *Evoral::SMF fix reading/writing of SysEx Events
git-svn-id: svn://localhost/ardour2/branches/3.0@4517 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10 08:43:35 +00:00
Carl Hetherington
6f14394c95 Fixes to port inserts.
git-svn-id: svn://localhost/ardour2/branches/3.0@4514 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10 01:31:53 +00:00
Carl Hetherington
bd66734a59 Remove some debug code.
git-svn-id: svn://localhost/ardour2/branches/3.0@4513 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10 01:30:57 +00:00
Carl Hetherington
dc78d4c241 Use slightly cleaner Port API in a few places.
git-svn-id: svn://localhost/ardour2/branches/3.0@4511 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10 00:49:19 +00:00
Hans Baier
705698d5b4 * filename conventions (second part of it)
git-svn-id: svn://localhost/ardour2/branches/3.0@4510 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-09 22:34:09 +00:00
Hans Baier
1c043e3304 * filename conventions
* added (blank) SMFTest.cpp/hpp: To be implemented


git-svn-id: svn://localhost/ardour2/branches/3.0@4509 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-09 22:32:38 +00:00
Carl Hetherington
a44a244cba Fix fade outs on split regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@4508 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-09 21:31:16 +00:00