ardour.git
15 years agoFix bugs in BroadcastInfo, and use it in SndfileSource
Sakari Bergen [Wed, 17 Sep 2008 20:34:31 +0000 (20:34 +0000)]
Fix bugs in BroadcastInfo, and use it in SndfileSource

git-svn-id: svn://localhost/ardour2/branches/3.0@3747 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoremove duplicate/wrong includes in last commit.
Nick Mainsbridge [Wed, 17 Sep 2008 19:18:08 +0000 (19:18 +0000)]
remove duplicate/wrong includes in last commit.

git-svn-id: svn://localhost/ardour2/branches/3.0@3745 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix track height, partial merge of recent 2.0 updates (speed up track resizing, fix...
Nick Mainsbridge [Wed, 17 Sep 2008 19:04:16 +0000 (19:04 +0000)]
Fix track height, partial merge of recent 2.0 updates (speed up track resizing, fix disappearing automation controls), rework layers and groups on canvas.

git-svn-id: svn://localhost/ardour2/branches/3.0@3744 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agogcc-4.3 include fixes
Sakari Bergen [Wed, 17 Sep 2008 16:35:05 +0000 (16:35 +0000)]
gcc-4.3 include fixes

git-svn-id: svn://localhost/ardour2/branches/3.0@3743 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoAdd taglib to LD_LIBRARY_PATH in ardev_common.sh.in
Sakari Bergen [Wed, 17 Sep 2008 15:12:41 +0000 (15:12 +0000)]
Add taglib to LD_LIBRARY_PATH in ardev_common.sh.in

git-svn-id: svn://localhost/ardour2/branches/3.0@3742 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoYet another file missing from me
Sakari Bergen [Wed, 17 Sep 2008 13:25:32 +0000 (13:25 +0000)]
Yet another file missing from me

git-svn-id: svn://localhost/ardour2/branches/3.0@3741 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agonew files from sakari, missed last time
Paul Davis [Wed, 17 Sep 2008 12:58:33 +0000 (12:58 +0000)]
new files from sakari, missed last time

git-svn-id: svn://localhost/ardour2/branches/3.0@3740 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agonew files from sakari, missed last time
Paul Davis [Wed, 17 Sep 2008 12:56:41 +0000 (12:56 +0000)]
new files from sakari, missed last time

git-svn-id: svn://localhost/ardour2/branches/3.0@3739 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agonew files from sakari, missed last time
Paul Davis [Wed, 17 Sep 2008 12:56:00 +0000 (12:56 +0000)]
new files from sakari, missed last time

git-svn-id: svn://localhost/ardour2/branches/3.0@3738 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agobuild fixes for external libsndfile, plus make ogg & FLAC required libs now
Paul Davis [Wed, 17 Sep 2008 11:26:31 +0000 (11:26 +0000)]
build fixes for external libsndfile, plus make ogg & FLAC required libs now

git-svn-id: svn://localhost/ardour2/branches/3.0@3737 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agomerge Sakari's (sbergen) branch back into 3.0, removing libsndfile and adding taglib
Paul Davis [Wed, 17 Sep 2008 08:44:51 +0000 (08:44 +0000)]
merge Sakari's (sbergen) branch back into 3.0, removing libsndfile and adding taglib

git-svn-id: svn://localhost/ardour2/branches/3.0@3736 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoDon't dump immediate events.
David Robillard [Mon, 15 Sep 2008 01:31:51 +0000 (01:31 +0000)]
Don't dump immediate events.

git-svn-id: svn://localhost/ardour2/branches/3.0@3731 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoPrevent tempo lines from stealing events, but break marker bars visually when scrolle...
David Robillard [Sun, 14 Sep 2008 23:08:19 +0000 (23:08 +0000)]
Prevent tempo lines from stealing events, but break marker bars visually when scrolled down...

git-svn-id: svn://localhost/ardour2/branches/3.0@3730 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoShow tempo lines above marker bars.
David Robillard [Sun, 14 Sep 2008 21:15:08 +0000 (21:15 +0000)]
Show tempo lines above marker bars.

git-svn-id: svn://localhost/ardour2/branches/3.0@3729 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agomore GUI tweaks
Paul Davis [Sun, 14 Sep 2008 19:52:34 +0000 (19:52 +0000)]
more GUI tweaks

git-svn-id: svn://localhost/ardour2/branches/3.0@3728 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix events for MIDI region views (though coordinates seem to be a bit off).
David Robillard [Sun, 14 Sep 2008 19:14:12 +0000 (19:14 +0000)]
Fix events for MIDI region views (though coordinates seem to be a bit off).

git-svn-id: svn://localhost/ardour2/branches/3.0@3727 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoMore gracefully handle type mismatch errors when doing playlist things (just ignore...
David Robillard [Sun, 14 Sep 2008 19:01:08 +0000 (19:01 +0000)]
More gracefully handle type mismatch errors when doing playlist things (just ignore regions with the wrong type for this playlist).

git-svn-id: svn://localhost/ardour2/branches/3.0@3726 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix deleting of MIDI regions.
David Robillard [Sun, 14 Sep 2008 18:12:37 +0000 (18:12 +0000)]
Fix deleting of MIDI regions.

git-svn-id: svn://localhost/ardour2/branches/3.0@3725 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix stacking of MIDI stream views to match that of audio.
David Robillard [Sun, 14 Sep 2008 18:08:58 +0000 (18:08 +0000)]
Fix stacking of MIDI stream views to match that of audio.
Make copy and brush operations type generic (i.e. fix brushing for MIDI regions).

git-svn-id: svn://localhost/ardour2/branches/3.0@3724 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoChange redirectmenu to processormenu
Sampo Savolainen [Sun, 14 Sep 2008 09:00:23 +0000 (09:00 +0000)]
Change redirectmenu to processormenu

git-svn-id: svn://localhost/ardour2/branches/3.0@3721 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoget the notebook back again (or rather, realize that it can now be toggled and that...
Paul Davis [Fri, 12 Sep 2008 11:03:51 +0000 (11:03 +0000)]
get the notebook back again (or rather, realize that it can now be toggled and that the default is to hide it)

git-svn-id: svn://localhost/ardour2/branches/3.0@3720 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agomake tracks visible again
Paul Davis [Fri, 12 Sep 2008 09:01:52 +0000 (09:01 +0000)]
make tracks visible again

git-svn-id: svn://localhost/ardour2/branches/3.0@3719 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix compilation w/ LV2.
David Robillard [Thu, 11 Sep 2008 16:07:40 +0000 (16:07 +0000)]
Fix compilation w/ LV2.

git-svn-id: svn://localhost/ardour2/branches/3.0@3716 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agomake link (rubberband) work
Paul Davis [Thu, 11 Sep 2008 06:24:57 +0000 (06:24 +0000)]
make link (rubberband) work

git-svn-id: svn://localhost/ardour2/branches/3.0@3715 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoremove bogus files
Paul Davis [Wed, 10 Sep 2008 21:36:50 +0000 (21:36 +0000)]
remove bogus files

git-svn-id: svn://localhost/ardour2/branches/3.0@3714 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoadd (copy of 2.0-ongoing) rubberband to 3.0
Paul Davis [Wed, 10 Sep 2008 21:35:32 +0000 (21:35 +0000)]
add (copy of 2.0-ongoing) rubberband to 3.0

git-svn-id: svn://localhost/ardour2/branches/3.0@3713 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agomerge 2.0-ongoing into 3.0 @ 3581 - 3710
Paul Davis [Wed, 10 Sep 2008 21:27:39 +0000 (21:27 +0000)]
merge 2.0-ongoing into 3.0 @ 3581 - 3710

git-svn-id: svn://localhost/ardour2/branches/3.0@3712 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agomerge from 2.0-ongoing @ 3581
Paul Davis [Wed, 10 Sep 2008 15:03:30 +0000 (15:03 +0000)]
merge from 2.0-ongoing @ 3581

git-svn-id: svn://localhost/ardour2/branches/3.0@3711 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoPatched libsndfile to work with FLAC >= 1.1.4
Sakari Bergen [Thu, 21 Aug 2008 11:48:28 +0000 (11:48 +0000)]
Patched libsndfile to work with FLAC >= 1.1.4
Patch derived from http://www.linuxfromscratch.org/patches/downloads/libsndfile/libsndfile-1.0.17-flac-1.patch

git-svn-id: svn://localhost/ardour2/branches/3.0@3706 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix panning to mono.
David Robillard [Tue, 12 Aug 2008 18:05:08 +0000 (18:05 +0000)]
Fix panning to mono.

git-svn-id: svn://localhost/ardour2/branches/3.0@3688 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years ago* enabled moving averages again... plays much nicer in a realtime setup
Hans Baier [Thu, 7 Aug 2008 04:03:17 +0000 (04:03 +0000)]
* enabled moving averages again... plays much nicer in a realtime setup
* disabled excessive tracing

git-svn-id: svn://localhost/ardour2/branches/3.0@3668 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years ago* reverted Makefile (involuntary commit)
Hans Baier [Thu, 7 Aug 2008 03:21:34 +0000 (03:21 +0000)]
* reverted Makefile (involuntary commit)

git-svn-id: svn://localhost/ardour2/branches/3.0@3667 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years ago* I probably better should consult the nominal frame rate to calculate ppqn intervals
Hans Baier [Wed, 6 Aug 2008 23:47:21 +0000 (23:47 +0000)]
* I probably better should consult the nominal frame rate to calculate ppqn intervals

git-svn-id: svn://localhost/ardour2/branches/3.0@3666 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years ago* I dont know whether this works, but I'll commit it anyway
Hans Baier [Wed, 6 Aug 2008 23:35:15 +0000 (23:35 +0000)]
* I dont know whether this works, but I'll commit it anyway

git-svn-id: svn://localhost/ardour2/branches/3.0@3665 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years ago* forgot to remove those lines
Hans Baier [Wed, 6 Aug 2008 23:03:02 +0000 (23:03 +0000)]
* forgot to remove those lines

git-svn-id: svn://localhost/ardour2/branches/3.0@3664 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years ago* removed rolling speed average from MIDIClockSlave, ardour seems to keep time now
Hans Baier [Wed, 6 Aug 2008 22:57:45 +0000 (22:57 +0000)]
* removed rolling speed average from MIDIClockSlave, ardour seems to keep time now

git-svn-id: svn://localhost/ardour2/branches/3.0@3663 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years ago* fixed JACK_MidiPort to get the events into the slave
Hans Baier [Wed, 6 Aug 2008 22:22:35 +0000 (22:22 +0000)]
* fixed JACK_MidiPort to get the events into the slave

git-svn-id: svn://localhost/ardour2/branches/3.0@3662 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years ago* forgot to add the midi clock slave cc file
Hans Baier [Tue, 5 Aug 2008 00:14:03 +0000 (00:14 +0000)]
* forgot to add the midi clock slave cc file

git-svn-id: svn://localhost/ardour2/branches/3.0@3653 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years ago* first implementation of MIDI Clock Slave support
Hans Baier [Mon, 4 Aug 2008 22:37:24 +0000 (22:37 +0000)]
* first implementation of MIDI Clock Slave support

git-svn-id: svn://localhost/ardour2/branches/3.0@3652 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFixes to get legacy 2.x sends working.
Sampo Savolainen [Wed, 16 Jul 2008 19:49:19 +0000 (19:49 +0000)]
Fixes to get legacy 2.x sends working.

git-svn-id: svn://localhost/ardour2/branches/3.0@3624 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agofixed pitchbend byte ordering
Jesse Chappell [Tue, 15 Jul 2008 04:08:49 +0000 (04:08 +0000)]
fixed pitchbend byte ordering

git-svn-id: svn://localhost/ardour2/branches/3.0@3608 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix audio recording. Better fix needed though.
Sampo Savolainen [Mon, 14 Jul 2008 18:57:14 +0000 (18:57 +0000)]
Fix audio recording. Better fix needed though.

git-svn-id: svn://localhost/ardour2/branches/3.0@3605 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoAnother gcc4.3 include
Doug McLain [Sun, 22 Jun 2008 23:29:18 +0000 (23:29 +0000)]
Another gcc4.3 include

git-svn-id: svn://localhost/ardour2/branches/3.0@3485 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agostill do cycle_start() & cycle_end() calls when freewheeling
Paul Davis [Tue, 3 Jun 2008 12:14:59 +0000 (12:14 +0000)]
still do cycle_start() & cycle_end() calls when freewheeling

git-svn-id: svn://localhost/ardour2/branches/3.0@3440 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoremove autostools generated files
Doug McLain [Tue, 3 Jun 2008 01:42:30 +0000 (01:42 +0000)]
remove autostools generated files

git-svn-id: svn://localhost/ardour2/branches/3.0@3439 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agofinal gcc 4.3 changes
Doug McLain [Mon, 2 Jun 2008 23:57:29 +0000 (23:57 +0000)]
final gcc 4.3 changes

git-svn-id: svn://localhost/ardour2/branches/3.0@3438 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoAdd sigc 2.2.2
Doug McLain [Mon, 2 Jun 2008 21:54:56 +0000 (21:54 +0000)]
Add sigc 2.2.2

git-svn-id: svn://localhost/ardour2/branches/3.0@3437 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoremove sigc 2.0.18, again. Come on baby...
Doug McLain [Mon, 2 Jun 2008 21:48:31 +0000 (21:48 +0000)]
remove sigc 2.0.18, again.  Come on baby...

git-svn-id: svn://localhost/ardour2/branches/3.0@3436 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agorollback to 3428, before the mysterious removal of libs/* at 3431/3432
Paul Davis [Mon, 2 Jun 2008 21:41:35 +0000 (21:41 +0000)]
rollback to 3428, before the mysterious removal of libs/* at 3431/3432

git-svn-id: svn://localhost/ardour2/branches/3.0@3435 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoremove empty sigc++2 directory
Doug McLain [Mon, 2 Jun 2008 05:02:28 +0000 (05:02 +0000)]
remove empty sigc++2 directory

git-svn-id: svn://localhost/ardour2/branches/3.0@3432 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoadd new sigc++2 directory
Doug McLain [Mon, 2 Jun 2008 04:44:08 +0000 (04:44 +0000)]
add new sigc++2 directory

git-svn-id: svn://localhost/ardour2/branches/3.0@3431 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoRemove sigc 2.0.18
Doug McLain [Sun, 1 Jun 2008 22:50:02 +0000 (22:50 +0000)]
Remove sigc 2.0.18

git-svn-id: svn://localhost/ardour2/branches/3.0@3430 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoTranslations from Petter, now in the correct branch. Now only for €19.99.
Sampo Savolainen [Sun, 1 Jun 2008 15:13:52 +0000 (15:13 +0000)]
Translations from Petter, now in the correct branch. Now only for â‚¬19.99.

git-svn-id: svn://localhost/ardour2/branches/3.0@3428 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoUpdated translations from Petter
Sampo Savolainen [Mon, 26 May 2008 14:31:06 +0000 (14:31 +0000)]
Updated translations from Petter

git-svn-id: svn://localhost/ardour2/branches/3.0@3415 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* splitted midi++/event.h in header and implementation
Hans Baier [Sun, 25 May 2008 23:35:23 +0000 (23:35 +0000)]
* splitted midi++/event.h in header and implementation
* added to_string(), to_xml() and from_xml() to MIDI::Event
* added partial support for midnam-Patchfiles (http://www.sonosphere.com/dtds/MIDINameDocument.dtd): midnam_patch.h/.cc
* added validation support to xml++.cc/.h
* added XMLNode::add_property(const char *name, const long value)
* added test to pbd/tests/xpath.cc

git-svn-id: svn://localhost/ardour2/branches/3.0@3412 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoChanged Byte to uint8_t in some files (left out from drobilla's previous commit)
Sakari Bergen [Sat, 24 May 2008 16:07:33 +0000 (16:07 +0000)]
Changed Byte to uint8_t in some files (left out from drobilla's previous commit)

git-svn-id: svn://localhost/ardour2/branches/3.0@3411 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove pointless Byte typedef that didn't really match any other typedef in ardour...
David Robillard [Fri, 23 May 2008 19:32:16 +0000 (19:32 +0000)]
Remove pointless Byte typedef that didn't really match any other typedef in ardour anyway.

git-svn-id: svn://localhost/ardour2/branches/3.0@3409 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* added midnam test file for xpath
Hans Baier [Fri, 23 May 2008 10:36:51 +0000 (10:36 +0000)]
* added midnam test file for xpath
* added to_string() to MIDI::Event
* added XMLNode::attribute_value for attribute nodes
* debugging output in MidiModel (incorrect rendering of Pitchbender events: Notes lost
* added xpath tests for midnam files

git-svn-id: svn://localhost/ardour2/branches/3.0@3406 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* fixed: wrong conversion from double for pitch bender in MidiModel::control_to_midi_...
Hans Baier [Fri, 23 May 2008 02:43:09 +0000 (02:43 +0000)]
* fixed: wrong conversion from double for pitch bender in MidiModel::control_to_midi_event

git-svn-id: svn://localhost/ardour2/branches/3.0@3404 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago*fix the bugfix: Input and Output Ports exchanged in Track/Bus inspector
Hans Baier [Fri, 23 May 2008 02:13:31 +0000 (02:13 +0000)]
*fix the bugfix: Input and Output Ports exchanged in Track/Bus inspector
*increased buffer sizes to get rid of overruns (PitchBender still doesnt work though....)

git-svn-id: svn://localhost/ardour2/branches/3.0@3403 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* changed return type for pbd/xml++ xpath support to use boost::shared_ptr
Hans Baier [Fri, 23 May 2008 00:52:25 +0000 (00:52 +0000)]
* changed return type for pbd/xml++ xpath support to use boost::shared_ptr

git-svn-id: svn://localhost/ardour2/branches/3.0@3402 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoMake absurdly slow MIDI selection rectangle slightly less absurd.
David Robillard [Thu, 22 May 2008 23:14:19 +0000 (23:14 +0000)]
Make absurdly slow MIDI selection rectangle slightly less absurd.

git-svn-id: svn://localhost/ardour2/branches/3.0@3401 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix rounding errors in region/source length calculuation in import (regions appearing...
David Robillard [Thu, 22 May 2008 21:46:44 +0000 (21:46 +0000)]
Fix rounding errors in region/source length calculuation in import (regions appearing slightly too short).

git-svn-id: svn://localhost/ardour2/branches/3.0@3396 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix corrupt MIDI file writing when meta events are present (fixes missing first note...
David Robillard [Thu, 22 May 2008 21:36:27 +0000 (21:36 +0000)]
Fix corrupt MIDI file writing when meta events are present (fixes missing first note issue on some imported files).
Reduce number of buffer allocations on MIDI read/write.

git-svn-id: svn://localhost/ardour2/branches/3.0@3395 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agofix track selection sensitivity botch for Import action, should be toggle-waveform...
Paul Davis [Thu, 22 May 2008 20:56:56 +0000 (20:56 +0000)]
fix track selection sensitivity botch for Import action, should be toggle-waveform-visible instead

git-svn-id: svn://localhost/ardour2/branches/3.0@3393 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix source/region length on MIDI import.
David Robillard [Thu, 22 May 2008 20:00:54 +0000 (20:00 +0000)]
Fix source/region length on MIDI import.

git-svn-id: svn://localhost/ardour2/branches/3.0@3391 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoArbitrarily increase MIDI process buffer size to avoid overruns with very dense data.
David Robillard [Thu, 22 May 2008 16:44:22 +0000 (16:44 +0000)]
Arbitrarily increase MIDI process buffer size to avoid overruns with very dense data.

git-svn-id: svn://localhost/ardour2/branches/3.0@3389 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* added more tests and profiling for pbd/xml++ xpath support
Hans Baier [Thu, 22 May 2008 16:02:05 +0000 (16:02 +0000)]
* added more tests and profiling for pbd/xml++ xpath support

git-svn-id: svn://localhost/ardour2/branches/3.0@3387 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* added XPath support to pbd/xml++
Hans Baier [Thu, 22 May 2008 12:06:20 +0000 (12:06 +0000)]
* added XPath support to pbd/xml++

git-svn-id: svn://localhost/ardour2/branches/3.0@3384 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix MIDI selection/tool issues (issue #0002415 and other bugs).
David Robillard [Thu, 22 May 2008 01:02:04 +0000 (01:02 +0000)]
Fix MIDI selection/tool issues (issue #0002415 and other bugs).
Fix selection preservation across MIDI model editing commands (for both note moving and resizing).
Fix selection breakage introduced by old selection preservation stuff (fix zombie selection).

git-svn-id: svn://localhost/ardour2/branches/3.0@3381 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* bugfix: Inputs and Outputs swapped in the Track/Bus Inspector
Hans Baier [Wed, 21 May 2008 23:01:40 +0000 (23:01 +0000)]
* bugfix: Inputs and Outputs swapped in the Track/Bus Inspector
* bugfix: control_to_midi_event has no effect
* typo (track/bus inspector)

git-svn-id: svn://localhost/ardour2/branches/3.0@3379 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoMore petty clean ups of MIDI stuff.
David Robillard [Wed, 21 May 2008 18:07:31 +0000 (18:07 +0000)]
More petty clean ups of MIDI stuff.
Use more complete header I had laying around for MIDI controller names / depollute Automatable.

git-svn-id: svn://localhost/ardour2/branches/3.0@3378 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* Made the MIDI standard names show up for controllers instead of just controller...
Hans Baier [Wed, 21 May 2008 09:26:49 +0000 (09:26 +0000)]
* Made the MIDI standard names show up for controllers instead of just controller numbers

git-svn-id: svn://localhost/ardour2/branches/3.0@3376 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoSeparate audio and MIDI disk buffer size (and track read ahead) parameters.
David Robillard [Wed, 21 May 2008 07:45:45 +0000 (07:45 +0000)]
Separate audio and MIDI disk buffer size (and track read ahead) parameters.
Clean up and remove more unused stuff from MidiDiskstream.
Remove false assumptions that MIDI ring buffer space (bytes) corresponds to disk I/O chunk length (frames).

git-svn-id: svn://localhost/ardour2/branches/3.0@3375 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoClean up MidiDiskstream code, more closely match audio diskstream.
David Robillard [Wed, 21 May 2008 05:05:26 +0000 (05:05 +0000)]
Clean up MidiDiskstream code, more closely match audio diskstream.

git-svn-id: svn://localhost/ardour2/branches/3.0@3374 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoDon't read inactive tracks in Diskstream (merge oops, now matches 2.0).
David Robillard [Wed, 21 May 2008 04:23:23 +0000 (04:23 +0000)]
Don't read inactive tracks in Diskstream (merge oops, now matches 2.0).
Change soundtouch pkg-config name back to to "soundtouch-1.0" (Debian switched to this, I think fedora uses it too?).

git-svn-id: svn://localhost/ardour2/branches/3.0@3373 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* fix out of range MIDI event detection
Hans Baier [Fri, 16 May 2008 23:50:29 +0000 (23:50 +0000)]
* fix out of range MIDI event detection

git-svn-id: svn://localhost/ardour2/branches/3.0@3366 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoDon't create tracks for empty MIDI channels on import (i.e. make import look clean...
David Robillard [Fri, 16 May 2008 22:40:35 +0000 (22:40 +0000)]
Don't create tracks for empty MIDI channels on import (i.e. make import look clean and sensible).
Remove no longer useful debugging output.

git-svn-id: svn://localhost/ardour2/branches/3.0@3365 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix out of range MIDI event error detection (duuuhhhhh).
David Robillard [Fri, 16 May 2008 22:00:14 +0000 (22:00 +0000)]
Fix out of range MIDI event error detection (duuuhhhhh).

git-svn-id: svn://localhost/ardour2/branches/3.0@3364 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* Fixed crash on closing MIDI automation tracks, because ARDOUR::Parameter::operator...
Hans Baier [Fri, 16 May 2008 20:54:24 +0000 (20:54 +0000)]
* Fixed crash on closing MIDI automation tracks, because ARDOUR::Parameter::operator< violated strict weak ordering,
  which is necessary for std::set to work correctly
* few small style guide corrections

git-svn-id: svn://localhost/ardour2/branches/3.0@3363 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix region/track naming on MIDI import (remove ugly/unnecessary %a %b etc suffix).
David Robillard [Fri, 16 May 2008 03:21:18 +0000 (03:21 +0000)]
Fix region/track naming on MIDI import (remove ugly/unnecessary %a %b etc suffix).

git-svn-id: svn://localhost/ardour2/branches/3.0@3360 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix invalid error message during MIDI recording (or files with stuck notes).
David Robillard [Fri, 16 May 2008 03:11:28 +0000 (03:11 +0000)]
Fix invalid error message during MIDI recording (or files with stuck notes).
Handle stuck notes more gracefully in the view (probably should show up as a diamond though?).

git-svn-id: svn://localhost/ardour2/branches/3.0@3359 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoTidy up MIDI debugging output.
David Robillard [Fri, 16 May 2008 02:50:19 +0000 (02:50 +0000)]
Tidy up MIDI debugging output.

git-svn-id: svn://localhost/ardour2/branches/3.0@3358 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix crash on out of range MIDI events (though this shouldn't be possible at all....
David Robillard [Fri, 16 May 2008 02:35:37 +0000 (02:35 +0000)]
Fix crash on out of range MIDI events (though this shouldn't be possible at all....).

git-svn-id: svn://localhost/ardour2/branches/3.0@3357 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRe-comment-out MIDI iteration debug prints (oops).
David Robillard [Thu, 15 May 2008 06:00:22 +0000 (06:00 +0000)]
Re-comment-out MIDI iteration debug prints (oops).

git-svn-id: svn://localhost/ardour2/branches/3.0@3353 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix silly bugs introduced in previous commit.
David Robillard [Thu, 15 May 2008 05:53:25 +0000 (05:53 +0000)]
Fix silly bugs introduced in previous commit.

git-svn-id: svn://localhost/ardour2/branches/3.0@3352 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoEliminate excessive allocation (for every event) during MidiModel iteration.
David Robillard [Thu, 15 May 2008 05:00:28 +0000 (05:00 +0000)]
Eliminate excessive allocation (for every event) during MidiModel iteration.

git-svn-id: svn://localhost/ardour2/branches/3.0@3351 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* formatting
Hans Baier [Tue, 13 May 2008 18:40:10 +0000 (18:40 +0000)]
* formatting
* fixed corruption bugs due to allocation hell of MidiModel::const_iterator::_event: Changed it into boost::shared_ptr
* fixed  MidiModel::const_iterator bugs:
-First note on lost, if an automation event comes first
-corrupt MidiEvent compared to automation event if there are no notes in the region
* (hopefully) fixed possible race condition
* fixed range check in MidiDiskstream::set_state for channel mask
* treating notes with duration 0 more gently in MidiRegionView (warning instead of assertion)

git-svn-id: svn://localhost/ardour2/branches/3.0@3345 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix event allocation issues with MidiModel iteration.
David Robillard [Tue, 13 May 2008 00:15:26 +0000 (00:15 +0000)]
Fix event allocation issues with MidiModel iteration.

git-svn-id: svn://localhost/ardour2/branches/3.0@3342 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoRemove junk from MidiModel::write_to
David Robillard [Mon, 12 May 2008 23:34:35 +0000 (23:34 +0000)]
Remove junk from MidiModel::write_to

git-svn-id: svn://localhost/ardour2/branches/3.0@3341 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* added files in patch for ardour-3.0 to compile on OS X thanks to Sakari Bergen
Hans Baier [Mon, 12 May 2008 11:49:03 +0000 (11:49 +0000)]
* added files in patch for ardour-3.0 to compile on OS X thanks to Sakari Bergen

git-svn-id: svn://localhost/ardour2/branches/3.0@3339 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* applied patch for ardour-3.0 to compile on OS X thanks to Sakari Bergen
Hans Baier [Mon, 12 May 2008 11:46:53 +0000 (11:46 +0000)]
* applied patch for ardour-3.0 to compile on OS X thanks to Sakari Bergen

git-svn-id: svn://localhost/ardour2/branches/3.0@3338 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* Quick Fix: assertion converted into warning in MidiModel::write_to
Hans Baier [Mon, 12 May 2008 11:42:41 +0000 (11:42 +0000)]
* Quick Fix: assertion converted into warning in MidiModel::write_to

git-svn-id: svn://localhost/ardour2/branches/3.0@3337 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* fixed various event size bugs
Hans Baier [Mon, 12 May 2008 10:03:53 +0000 (10:03 +0000)]
* fixed various event size bugs

git-svn-id: svn://localhost/ardour2/branches/3.0@3336 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years agoFix various MIDI corruption bugs.
David Robillard [Mon, 12 May 2008 02:40:48 +0000 (02:40 +0000)]
Fix various MIDI corruption bugs.
Re-enable MIDI CC controller bars and other immediate output (hans commented out, tsk tsk).
Write channel mode as textual enumeration instead of magic number.
Better atomic (almost) channel mode switching on MIDI ring buffer (was a possible, if unlikely, source of corruption).
Handle some cases of broken MIDI, and oversized events, more gracefully.

git-svn-id: svn://localhost/ardour2/branches/3.0@3335 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* disabled some debugging output
Hans Baier [Sun, 11 May 2008 21:03:27 +0000 (21:03 +0000)]
* disabled some debugging output
* fixed (my) bugs in MidiRingBuffer: aborted reading on corrupted events and event does not match channel mask

git-svn-id: svn://localhost/ardour2/branches/3.0@3333 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* Added a couple of guards to prevent MIDI::Events with NULL buffers to enter into...
Hans Baier [Sun, 11 May 2008 20:23:17 +0000 (20:23 +0000)]
* Added a couple of guards to prevent MIDI::Events with NULL buffers to enter into ring buffers

git-svn-id: svn://localhost/ardour2/branches/3.0@3332 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* fixed bug: MIDI automations could not be restored from XML (NullAutomationType)
Hans Baier [Sat, 10 May 2008 01:25:38 +0000 (01:25 +0000)]
* fixed bug: MIDI automations could not be restored from XML (NullAutomationType)

git-svn-id: svn://localhost/ardour2/branches/3.0@3331 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* formatting/style guide
Hans Baier [Fri, 9 May 2008 16:10:36 +0000 (16:10 +0000)]
* formatting/style guide
* bugfix: midi_util.h only considered channel events up to E0, but had to be EF
* bugfix: parameter.h operator == should also compare channel (drobilla, correct me if I am wrong)
* added some assert() guards

git-svn-id: svn://localhost/ardour2/branches/3.0@3330 d708f5d6-7413-0410-9779-e7cbd77b26cf

16 years ago* adjusted formatting a bit to style guide
Hans Baier [Fri, 9 May 2008 11:28:14 +0000 (11:28 +0000)]
* adjusted formatting a bit to style guide
* fixed: velocity value left on canvas
* fixed: end-of-track problem still showed up sometimes
* enabled heaps of debugging output in order to debug MidiModel corruption

git-svn-id: svn://localhost/ardour2/branches/3.0@3329 d708f5d6-7413-0410-9779-e7cbd77b26cf