13
0
Commit Graph

1202 Commits

Author SHA1 Message Date
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
03fe04cc2a Shrink exposed SMF API.
Fix warning.


git-svn-id: svn://localhost/ardour2/branches/3.0@4507 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-09 21:11:32 +00:00
Hans Baier
b0f94c111b * fixed test
git-svn-id: svn://localhost/ardour2/branches/3.0@4506 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-09 19:59:45 +00:00
406efbd535 Warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@4505 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-09 17:48:23 +00:00
Hans Baier
9734fa3e93 * Sequence: added asserts
* sequence.cpp completed first test


git-svn-id: svn://localhost/ardour2/branches/3.0@4504 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-09 08:49:57 +00:00
Carl Hetherington
fcfe073b00 Apply fix for 2546 from lincoln. Many thanks.
git-svn-id: svn://localhost/ardour2/branches/3.0@4503 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-09 03:34:48 +00:00
Carl Hetherington
ee42a6dd97 Fixes to bundle manager to make it vaguely usable.
Rework signal handling for bundles so that all changes should now be noticed by port matrices.


git-svn-id: svn://localhost/ardour2/branches/3.0@4501 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-09 03:18:10 +00:00
e569121526 Fix warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@4499 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-07 07:22:25 +00:00
424b38790a Revert redundant kludge.
git-svn-id: svn://localhost/ardour2/branches/3.0@4498 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-07 07:19:02 +00:00
Hans Baier
446b214b46 * Evoral: first successful read from Sequence
*Evoral: added debug option to wscript


git-svn-id: svn://localhost/ardour2/branches/3.0@4497 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-07 06:57:02 +00:00
Hans Baier
21c85e79af * added run-tests.sh to libs/evoral
git-svn-id: svn://localhost/ardour2/branches/3.0@4496 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-07 02:22:17 +00:00
Hans Baier
d1f9f35d31 * evoral: First productive test environment
git-svn-id: svn://localhost/ardour2/branches/3.0@4495 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-07 00:52:19 +00:00
Hans Baier
43fdd21557 * introduced CppUnit into libs/Evoral
git-svn-id: svn://localhost/ardour2/branches/3.0@4494 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-07 00:11:17 +00:00
Hans Baier
cb745dbb9b * Evoral: waf and unit test compile and run now
git-svn-id: svn://localhost/ardour2/branches/3.0@4493 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-06 20:31:12 +00:00
Hans Baier
3d594b460b * Add SysEx Support to MidiModel / SMF
git-svn-id: svn://localhost/ardour2/branches/3.0@4492 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-06 20:31:00 +00:00
Hans Baier
b6daa2d643 * fix comment
git-svn-id: svn://localhost/ardour2/branches/3.0@4488 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-03 08:47:13 +00:00
Hans Baier
db77cb9212 * more pleasant template parameter names in (MIDI)Event
git-svn-id: svn://localhost/ardour2/branches/3.0@4487 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-03 08:46:44 +00:00
Hans Baier
5c73fc42c4 * midi_event_size(uchar status): return size including status / handle sysex
git-svn-id: svn://localhost/ardour2/branches/3.0@4486 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-03 08:46:24 +00:00
Carl Hetherington
762b02bc95 Fix auto-return, hopefully not at the expense of anything else.
git-svn-id: svn://localhost/ardour2/branches/3.0@4482 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02 22:35:50 +00:00
Carl Hetherington
54afc94e62 Re-enable creation of stereo bundles for system IO, so that the mixer strip
connection menus for stereo tracks are populated again.
Also enable disconnection via these menus.


git-svn-id: svn://localhost/ardour2/branches/3.0@4481 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02 22:17:06 +00:00
Carl Hetherington
633629b2b1 Fix a couple of bugs causing unexpected movements of the playhead.
git-svn-id: svn://localhost/ardour2/branches/3.0@4480 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02 17:11:51 +00:00
2f6327c113 Disable excessive console output (please comment this stuff before committing...).
git-svn-id: svn://localhost/ardour2/branches/3.0@4479 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02 15:51:19 +00:00
Hans Baier
018fff15ef * fix misleading/wrong comment
git-svn-id: svn://localhost/ardour2/branches/3.0@4477 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02 09:10:26 +00:00
Hans Baier
858f0cb5ab * debugging output
* style guide


git-svn-id: svn://localhost/ardour2/branches/3.0@4476 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02 08:50:36 +00:00
Hans Baier
ae2e090e74 * fixed crash: MidiBuffer::reserve returned wrong write location
git-svn-id: svn://localhost/ardour2/branches/3.0@4475 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02 08:50:28 +00:00
Hans Baier
eaada01925 * added assertions to MidiBuffer::iterator_base in order to avoid offset corruption
git-svn-id: svn://localhost/ardour2/branches/3.0@4474 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02 07:59:03 +00:00
166ef64e3d Make (MIDI) event time stamp type a template parameter.
git-svn-id: svn://localhost/ardour2/branches/3.0@4473 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02 02:36:05 +00:00
ead5dd4568 Tidy.
git-svn-id: svn://localhost/ardour2/branches/3.0@4472 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02 00:20:18 +00:00
44ac5f5097 Removed fixed/maximum event size assumption/limitation from MIDI buffer.
git-svn-id: svn://localhost/ardour2/branches/3.0@4471 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-01 21:04:12 +00:00
554d46896b Style.
git-svn-id: svn://localhost/ardour2/branches/3.0@4470 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-01 19:39:24 +00:00
e666c8e98f Templateify MidiBuffer iterators (avoid code duplication since they're about to get less trivial).
Clean up MidiBuffer code.


git-svn-id: svn://localhost/ardour2/branches/3.0@4469 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-01 03:15:31 +00:00
aaa91db6d9 Trim include dependency graph, especially for io.h and session.h.
Clean up some stuff and other such gruntwork in the process.


git-svn-id: svn://localhost/ardour2/branches/3.0@4468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-30 20:18:31 +00:00
Carl Hetherington
a384dab130 More port matrix re-working. Global matrix now has separate visibility buttons
for ins and outs.  The matrix will now be arranged so that more ports are labelled
horizontally than vertically, to aid readability.


git-svn-id: svn://localhost/ardour2/branches/3.0@4467 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-30 15:08:09 +00:00
Sakari Bergen
24aab941eb Track import is now working. Also, IO bundle setup/creation is safer.
git-svn-id: svn://localhost/ardour2/branches/3.0@4466 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-30 11:50:24 +00:00
15554385d6 add forgotten files
git-svn-id: svn://localhost/ardour2/branches/3.0@4465 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-30 09:01:02 +00:00
70b939da4f first pass at internal sends. this is a very tentative work in progress, and it is possible that major changes may follow in the near future. it is certainly not complete, but the fundamental changes to Port/Buffer operation merit a commit at this point
git-svn-id: svn://localhost/ardour2/branches/3.0@4464 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-30 07:40:13 +00:00
ee62ee07d3 Um... we can't use 128 bytes for every single MIDI event, Hans.
git-svn-id: svn://localhost/ardour2/branches/3.0@4463 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-30 06:56:17 +00:00
Hans Baier
6fe0dc459e * enlage MidiBuffer size to 128 bytes to allow for sysex events
git-svn-id: svn://localhost/ardour2/branches/3.0@4462 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-30 06:21:14 +00:00
Hans Baier
582555c337 * re-enable assertion about controller values (probably corrupt data in my Session)
git-svn-id: svn://localhost/ardour2/branches/3.0@4461 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-30 00:27:02 +00:00
Hans Baier
eeabac94d1 * fixed bug: channel and id swapped for PitchBener, ChannelPressure and ProgramChanges
git-svn-id: svn://localhost/ardour2/branches/3.0@4460 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-30 00:09:47 +00:00
Hans Baier
f55b902c73 * set right interpolation on MidiModel controls after recording too
git-svn-id: svn://localhost/ardour2/branches/3.0@4459 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-29 00:18:26 +00:00
Hans Baier
a1234aa21e * loosened assertion about controller to UINT8_MAX allow for (real-world) nonstandard events
git-svn-id: svn://localhost/ardour2/branches/3.0@4458 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-29 00:18:20 +00:00
a5a3d39366 Remove nonsense comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@4457 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-28 19:30:42 +00:00
Hans Baier
b04ead74ff * Set Discrete mode as default until Linear mode works properly
git-svn-id: svn://localhost/ardour2/branches/3.0@4455 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-28 09:49:42 +00:00
Hans Baier
d9416a3a6a * Fixed bug: Discrete control lists are generally not played back
git-svn-id: svn://localhost/ardour2/branches/3.0@4454 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-28 07:52:40 +00:00
Hans Baier
3705a2d630 * MIDI control lanes: Set Interpolationtype according to Parameter
git-svn-id: svn://localhost/ardour2/branches/3.0@4452 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-28 04:55:31 +00:00
Hans Baier
6c538ab719 * more user friendly MIDI automation lane names
git-svn-id: svn://localhost/ardour2/branches/3.0@4451 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-28 04:55:14 +00:00
Carl Hetherington
948034f15a Make track sends etc. appear in the same bundle as the track. Tidy up bundle channel naming a bit.
git-svn-id: svn://localhost/ardour2/branches/3.0@4448 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-27 18:36:40 +00:00
Carl Hetherington
49510ba1d7 Some refactoring. Add port group headers to the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@4443 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-25 06:47:11 +00:00
Carl Hetherington
a9d67a2cc9 Do not take into account sends when computing the required number of buffers, as they're presence should not affect anything.
git-svn-id: svn://localhost/ardour2/branches/3.0@4442 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-24 16:45:13 +00:00
Carl Hetherington
dbf05a6b0f Copy diskstream data to all output buffers.
git-svn-id: svn://localhost/ardour2/branches/3.0@4441 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-24 16:44:00 +00:00
Carl Hetherington
6ccf29fb53 Update actual gain when declick has been applied.
git-svn-id: svn://localhost/ardour2/branches/3.0@4440 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-24 16:43:23 +00:00
Carl Hetherington
4cd47cf253 Gather all ardour: ports so that a few more things are found to put in the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@4439 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-24 15:21:22 +00:00
Carl Hetherington
e4fbf1c48e Only create mono bundles for physical I/O to avoid crowding the
port matrix with duplicate entries.


git-svn-id: svn://localhost/ardour2/branches/3.0@4435 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-24 00:57:34 +00:00
Carl Hetherington
f6652f07ae Add global port matrix dialogs.
git-svn-id: svn://localhost/ardour2/branches/3.0@4434 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-23 21:24:11 +00:00
Carl Hetherington
76b7356802 Fix crash on using sends with no MIDI
git-svn-id: svn://localhost/ardour2/branches/3.0@4432 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-22 14:41:11 +00:00
Carl Hetherington
6e04b4381c Fix port rename problems.
git-svn-id: svn://localhost/ardour2/branches/3.0@4431 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-22 13:51:36 +00:00
Carl Hetherington
1d0da13500 Some more full / short name confusions.
git-svn-id: svn://localhost/ardour2/branches/3.0@4428 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-22 03:13:34 +00:00
7593f104ab Fix incorrect/useless forward declaration and associated torrent of warnings.
git-svn-id: svn://localhost/ardour2/branches/3.0@4425 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-21 18:48:03 +00:00
Carl Hetherington
90ac43a8d8 Fix some confusion about relative / non-relative port names. Add some asserts to keep track of what is happening.
git-svn-id: svn://localhost/ardour2/branches/3.0@4424 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-21 17:44:41 +00:00
Hans Baier
5309c327ec * make MIDI-specific menu show up on all MIDI lanes
* style guide, comments and a little refactoring (remove duplication)


git-svn-id: svn://localhost/ardour2/branches/3.0@4422 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-21 10:20:27 +00:00
Hans Baier
33852a0728 * Added Menu to add a Program change parameter lane
* made adding automation lanes add them for every active channel on the track
* Evoral::Parameter.hpp: Strict weak ordering again: make the proof a bit easier to read
                         Make the implementation conform to the proof
                         order Parameters according to type, then channel, then id


git-svn-id: svn://localhost/ardour2/branches/3.0@4421 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-21 08:32:23 +00:00
Carl Hetherington
d6637dad5a Rework Port class hierarchy a bit. Hopefully now simpler, and should
support connection of JACK ports with internal ones.


git-svn-id: svn://localhost/ardour2/branches/3.0@4417 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-21 02:27:21 +00:00
Carl Hetherington
61db2175eb New matrix-based editor for connections and bundles, based on thorwil's design.
Add Bundle Manager dialog.


git-svn-id: svn://localhost/ardour2/branches/3.0@4415 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-20 14:46:00 +00:00
b3c6c4a6d5 remove "Use OSC" from options menu; make OSC optional rather than a mandatory protocol
git-svn-id: svn://localhost/ardour2/branches/3.0@4412 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-15 22:37:18 +00:00
16556bb182 OSC becomes a control protocol object; make ardev_common.sh(.in) look for surfaces in the right place(s)
git-svn-id: svn://localhost/ardour2/branches/3.0@4411 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-15 22:09:23 +00:00
13e40db5e5 Add apparently missing include...
git-svn-id: svn://localhost/ardour2/branches/3.0@4410 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-15 03:40:55 +00:00
Hans Baier
625507fc1a * extend MIDNAM support (PatchBanks containing the bank select MIDI Commands)
git-svn-id: svn://localhost/ardour2/branches/3.0@4409 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-15 03:13:24 +00:00
Carl Hetherington
bed58e9f37 Make Bundles work a bit better. A few include optimisations.
git-svn-id: svn://localhost/ardour2/branches/3.0@4408 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-14 23:54:46 +00:00
6254083184 Revert magic mystery changed from r4396 (trailing whitespace).
git-svn-id: svn://localhost/ardour2/branches/3.0@4398 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-10 14:54:23 +00:00
Hans Baier
b7715419f2 * wrong calculation of frames_moved in Session::process_*, resulting in drift against any Slaves when transport speed != 1.0
git-svn-id: svn://localhost/ardour2/branches/3.0@4397 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-10 08:42:07 +00:00
Hans Baier
bfbae251be * Extracted method void AudioDiskstream::process_varispeed_playback(nframes_t nframes, boost::shared_ptr<ChannelList> c)
from AudioDiskstream::process


git-svn-id: svn://localhost/ardour2/branches/3.0@4396 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-10 08:41:51 +00:00
Hans Baier
3d2c1ba3e6 * add comments / improve readability of varispeed playback code
git-svn-id: svn://localhost/ardour2/branches/3.0@4395 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-09 09:54:38 +00:00
Hans Baier
799b6ec97d * changed transport speed in session and slaves from float to double
* added some comments


git-svn-id: svn://localhost/ardour2/branches/3.0@4394 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-09 09:18:24 +00:00
Hans Baier
780b753639 * corrected copyright information
git-svn-id: svn://localhost/ardour2/branches/3.0@4388 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-05 23:58:48 +00:00
Hans Baier
ea54d26111 *fixed typo
* set copyright to Hans Baier for midi_clock_slave.cc


git-svn-id: svn://localhost/ardour2/branches/3.0@4387 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-05 18:43:22 +00:00
Hans Baier
598b412e6b * further reduce the spaghettiness of Session::follow_slave
git-svn-id: svn://localhost/ardour2/branches/3.0@4386 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-05 09:22:27 +00:00
Hans Baier
5f5a570e50 * MIDI clock slave implementation with delay locked loop (DLL) seems to work well
* added option to class Slave / Session::process that a slave can have total control over transport speed


git-svn-id: svn://localhost/ardour2/branches/3.0@4385 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-05 09:15:08 +00:00
be668e55e8 Fix midi note max colour typo (miri -> midi).
git-svn-id: svn://localhost/ardour2/branches/3.0@4384 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-04 04:43:12 +00:00
Carl Hetherington
9935b950ee Ports say when they're going away.
git-svn-id: svn://localhost/ardour2/branches/3.0@4380 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-02 19:38:43 +00:00
cdb391d1f1 install/uninstall to ardour3 not ardour2
git-svn-id: svn://localhost/ardour2/branches/3.0@4377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-02 15:13:40 +00:00
455f686e09 save/restore meter point from carl for #1748
git-svn-id: svn://localhost/ardour2/branches/3.0@4376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-02 12:55:30 +00:00
Hans Baier
69ed2a3c27 * removed field Session::_desired_transport_speed since it is never used anywhere
git-svn-id: svn://localhost/ardour2/branches/3.0@4373 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-01 22:01:53 +00:00
Hans Baier
fa51acb211 * cosmetic change
git-svn-id: svn://localhost/ardour2/branches/3.0@4372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-01 22:01:47 +00:00
Hans Baier
495585db93 *fixed bug in MidiClock_Slave: Use current framerate for speed calculations
git-svn-id: svn://localhost/ardour2/branches/3.0@4371 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-01 21:26:28 +00:00
Hans Baier
5ee4d2bb24 * refactor Session::follow_slave to be easier to read and understand
git-svn-id: svn://localhost/ardour2/branches/3.0@4370 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-01 21:26:23 +00:00
Hans Baier
d39b425a6a * radically cleaned up / refactored midi_clock_slave.cc
* debug statements in session_process.cc and midi_clock_slave.cc as
  conditional compilation instead of comments


git-svn-id: svn://localhost/ardour2/branches/3.0@4366 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-01 11:00:18 +00:00
Hans Baier
b1f8caa54f * made MidiClock_Slave conform more to to the Spec by starting transport
on the first MidiClock Message after the start Message
* removed debugging output from session_process.c
* fixed bug: calculate a more sensible speed value on transport start
* fixed typos in Slave docs
* refactored MidiClock_Slave for better readability
* made MidiClock_Slave react to continue messages


git-svn-id: svn://localhost/ardour2/branches/3.0@4365 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-01 06:52:18 +00:00
Hans Baier
2e61c9c034 * fix broken MidiClockTicker (introduced by revision 4361)
* fix missing -DWITH_JACK_MIDI in SConstruct when using JACK MIDI


git-svn-id: svn://localhost/ardour2/branches/3.0@4364 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-01 04:14:50 +00:00
Carl Hetherington
cc677d5c87 Flip stacked regions order so that the highest layer is at the top of the pile. Colour areas of stacked regions according to what will be played.
git-svn-id: svn://localhost/ardour2/branches/3.0@4363 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-31 18:44:32 +00:00
Carl Hetherington
538cf8609a Bug fixes to find_next_region_boundary (), unless I'm missing something.
git-svn-id: svn://localhost/ardour2/branches/3.0@4362 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-31 18:43:38 +00:00
Sakari Bergen
ca21a5ac7b Wrap some Jack_MidiPort stuff in #ifdefs to solve dylib errors on OS X
git-svn-id: svn://localhost/ardour2/branches/3.0@4361 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-30 19:44:24 +00:00
Sakari Bergen
3d239bb9d5 Fix some compiling warnings and errors in OS X
git-svn-id: svn://localhost/ardour2/branches/3.0@4358 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-29 19:50:19 +00:00
Hans Baier
22d73333c6 * fixed missing track color mode persistence
git-svn-id: svn://localhost/ardour2/branches/3.0@4357 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-29 01:02:41 +00:00
Hans Baier
cca4f22141 * fixed bug introduced in revision 3335: Hibyte lost in channel mask when restoring state from XML
git-svn-id: svn://localhost/ardour2/branches/3.0@4356 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-29 00:19:18 +00:00
Hans Baier
fa71e0e12a * added a bit of documentation in an effort to understand the code
git-svn-id: svn://localhost/ardour2/branches/3.0@4355 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-29 00:19:12 +00:00
8cbbfa4159 Fix immediate event delivery (panic button, controller sliders, etc).
git-svn-id: svn://localhost/ardour2/branches/3.0@4353 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-27 19:52:02 +00:00
487de9741b Move MidiRingBuffer::read into .cc file to avoid the 2 hour dev cycle (no functional changes).
git-svn-id: svn://localhost/ardour2/branches/3.0@4352 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-27 18:39:11 +00:00
Hans Baier
6650ebdca9 * fix the fix: note velocity editing works now without duplicating the edited note on each step
* removed debugging output


git-svn-id: svn://localhost/ardour2/branches/3.0@4350 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-26 06:52:49 +00:00
Hans Baier
be75d43bd0 * first prototype implementation of playing back MIDI notes when selected
git-svn-id: svn://localhost/ardour2/branches/3.0@4348 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-25 23:08:57 +00:00
Hans Baier
e2147fbc5b * implemented three coloring modes for MIDI tracks (untested yet)
git-svn-id: svn://localhost/ardour2/branches/3.0@4344 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-24 01:24:49 +00:00
Carl Hetherington
7ddbc547d5 Bug fixes so that region split does not clobber region gain envelopes.
git-svn-id: svn://localhost/ardour2/branches/3.0@4340 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-23 11:56:37 +00:00
Hans Baier
e9a9fe30cf * added comments to midi_region_view.h
* implemented choosing patches with context menu on the program change flag
* added convenience method and a little refactoring in midi_patch_manager.h

Conflicts:

	.cproject
	build-tmp.sh


git-svn-id: svn://localhost/ardour2/branches/3.0@4338 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-23 06:03:45 +00:00
Carl Hetherington
d724837a44 Fix uninitialized value _self_managed spotted by valgrind.
git-svn-id: svn://localhost/ardour2/branches/3.0@4336 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-22 21:12:53 +00:00
c5aa717828 Sync with http://svn.drobilla.net/lad/trunk/evoral r1891.
(Only change: use #include "" instead of #include <> for local include paths).


git-svn-id: svn://localhost/ardour2/branches/3.0@4335 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-21 20:36:15 +00:00
Carl Hetherington
4e1f451520 Remove unnecessary 0 checks before delete; see http://www.parashift.com/c++-faq-lite/freestore-mgmt.html#faq-16.8 Apologies for the big commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@4332 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-18 19:31:00 +00:00
Carl Hetherington
be655cc5af Couple of bug fixes which show up when undoing solo state. Also a few comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@4331 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-18 18:23:33 +00:00
Carl Hetherington
058e7f2c01 Fix #2478; deref of 0 pointer if jack_port_register fails.
git-svn-id: svn://localhost/ardour2/branches/3.0@4328 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-17 00:44:08 +00:00
Carl Hetherington
2ebb1af299 Implement #2425: option for automation to follow region moves.
git-svn-id: svn://localhost/ardour2/branches/3.0@4326 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-16 23:21:01 +00:00
Hans Baier
5e7ae490c1 * first working prototype of changing program changes by scroll wheel (still some automation points issues)
git-svn-id: svn://localhost/ardour2/branches/3.0@4324 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-15 11:05:41 +00:00
Hans Baier
bf7e792e3e * some refactoring of patch name stuff in preparation for altering program changes events
git-svn-id: svn://localhost/ardour2/branches/3.0@4323 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-14 22:56:44 +00:00
Sampo Savolainen
60f9ee3052 Added evoral dependency
git-svn-id: svn://localhost/ardour2/branches/3.0@4320 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-13 15:23:31 +00:00