13
0
Commit Graph

1116 Commits

Author SHA1 Message Date
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
493339e969 fix up java-style expression to have correct C++ semantics
git-svn-id: svn://localhost/ardour2/branches/3.0@4318 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-13 14:02:28 +00:00
dcc8f688cd fix use of deprecated gtk toolbar tooltips API when GTK_NEW_TOOLTIP_API is defined
git-svn-id: svn://localhost/ardour2/branches/3.0@4317 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-13 13:28:44 +00:00
51625b2474 "merge" (i.e. wholesale import) 2.0-ongoing Mackie code and then fix to compile in 3.0 context
git-svn-id: svn://localhost/ardour2/branches/3.0@4315 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-12 22:55:03 +00:00
bc89fe0147 most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet
git-svn-id: svn://localhost/ardour2/branches/3.0@4313 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-12 14:43:24 +00:00
Hans Baier
30daaebaa2 * fixed memory allocation bugs
* commented out a crash line in ardour_ui2.cc (added a warning message).
  (I thought, it may be fairly efficient to keep issues as code instead of putting
  them in the tracker where hardly ever one would notice the needle in the haystack)
* forgot to clear two other collections on MidiPatchManager::refresh()


git-svn-id: svn://localhost/ardour2/branches/3.0@4312 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-12 06:57:38 +00:00
Hans Baier
6c1f365515 * reenabled assertions after irc-ing with drobilla
git-svn-id: svn://localhost/ardour2/branches/3.0@4311 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-12 05:21:06 +00:00
Hans Baier
2c017baa4a * fixed memory management bugs for midi patchname handling
git-svn-id: svn://localhost/ardour2/branches/3.0@4310 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-12 05:17:53 +00:00
Hans Baier
ddbd296698 * converted two especially obnoxious assertions into warnings since they hinder my work and nobody seems to care about those issues anyway
git-svn-id: svn://localhost/ardour2/branches/3.0@4309 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-12 03:34:36 +00:00
Hans Baier
e009016b03 * added myself to about.cc
* created ArdourCanvas::CanvasFlag as a base class for flags
* removed obsolete cruft from midi_model
* made MidiTimeAxisView and MidiRegionView work together to display program changes as
  names by means of MidiPatchManager


git-svn-id: svn://localhost/ardour2/branches/3.0@4307 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-11 08:06:27 +00:00
Hans Baier
dfed4965b7 * make patch selection appear only when there are patches loaded
* add combobox to select CustomDeviceMode
* add code to resolve patch names by their msb, lsb and program change number


git-svn-id: svn://localhost/ardour2/branches/3.0@4306 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-10 10:54:45 +00:00
Hans Baier
f8480d6392 * moved /midi_patch_manager.* to libs/ardour
* GUI improvement: do away with the midi channel expander


git-svn-id: svn://localhost/ardour2/branches/3.0@4305 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-09 08:35:02 +00:00
Hans Baier
457f06855e * first working prototype of selecting instruments in the MIDI track header
* parsing patchfiles works


git-svn-id: svn://localhost/ardour2/branches/3.0@4304 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-09 07:42:19 +00:00
42db44c193 merge 3870-3890 from 2.0-ongoing into 3.X (compiles, runs, no other promises
git-svn-id: svn://localhost/ardour2/branches/3.0@4303 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-08 18:16:12 +00:00
3be16e8afb partial patch/partial by-hand merge of 2.X commits 3169&3170 to 3.X codebase
git-svn-id: svn://localhost/ardour2/branches/3.0@4300 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-08 16:07:28 +00:00
Hans Baier
a9bb336fc4 * first primitive implementation of MidiPatchManager
* some cosmetic changes
* added midi_patch_path() to libs/ardour/ardour/session_directory.h


git-svn-id: svn://localhost/ardour2/branches/3.0@4299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-08 09:50:19 +00:00
Sakari Bergen
6974dbdcd2 Improve svn revision handling and make srctar "work". (The tarball is created, but it doesn't build...)
git-svn-id: svn://localhost/ardour2/branches/3.0@4298 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-08 09:03:36 +00:00
Hans Baier
72f55cd8b6 * completed MIDI::Name::MIDINameDocument and implemented its set_state-Method, added constructor
git-svn-id: svn://localhost/ardour2/branches/3.0@4295 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-06 05:00:20 +00:00
Hans Baier
c61283d35e * changed all lists in midnam_patch.h to std::list
git-svn-id: svn://localhost/ardour2/branches/3.0@4294 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-06 04:43:11 +00:00
Hans Baier
fc73f748b5 * completed MIDI::Name::MasterDeviceNames and implemented its set_state-Method
git-svn-id: svn://localhost/ardour2/branches/3.0@4293 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-06 04:38:44 +00:00
Hans Baier
110170db95 * Added MIDI::Name::Note
git-svn-id: svn://localhost/ardour2/branches/3.0@4292 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-06 00:07:07 +00:00
Hans Baier
4f185b3f36 * made MidiClockTicker Singleton
git-svn-id: svn://localhost/ardour2/branches/3.0@4281 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-04 09:09:50 +00:00
Hans Baier
fbc248d70c * minor cleanup
git-svn-id: svn://localhost/ardour2/branches/3.0@4277 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-01 03:51:17 +00:00
Hans Baier
4c1aa58846 * reduced debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@4276 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-01 03:49:50 +00:00
Hans Baier
a1c1199713 * Sending MIDI Clock while looping works now
git-svn-id: svn://localhost/ardour2/branches/3.0@4275 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-12-01 03:07:11 +00:00
Sakari Bergen
a8cc30be5f First revision with working track import
git-svn-id: svn://localhost/ardour2/branches/3.0@4270 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-29 20:16:16 +00:00
Hans Baier
4af523ca38 * fixed potential crash
git-svn-id: svn://localhost/ardour2/branches/3.0@4269 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-29 06:37:06 +00:00
Hans Baier
d746b78319 * sending MIDI clock works, hooray\!
git-svn-id: svn://localhost/ardour2/branches/3.0@4268 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-29 05:40:17 +00:00
Hans Baier
5ed141cd14 * added Menu for sending midi clock
* hooked up MidiClockTicker to the session


git-svn-id: svn://localhost/ardour2/branches/3.0@4267 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-26 23:32:55 +00:00
Sakari Bergen
38382b7921 More work on track import and some cleaning up of ElementImporter interface
git-svn-id: svn://localhost/ardour2/branches/3.0@4265 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-26 17:13:50 +00:00
Hans Baier
95a86871c0 * the very humble beginnings of sending MIDI clock
git-svn-id: svn://localhost/ardour2/branches/3.0@4263 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-26 09:50:29 +00:00
Sakari Bergen
23b1ff94b9 A bit more of track import done...
git-svn-id: svn://localhost/ardour2/branches/3.0@4241 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-24 22:25:57 +00:00
Hans Baier
94537a47a1 * Added support for ChannelNameSetAssignments (midnam_patch.(cc|h)
git-svn-id: svn://localhost/ardour2/branches/3.0@4238 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-23 19:42:09 +00:00
Hans Baier
2f07b77503 * added XML deserialisation for control and program changes
* added pointer checks
* fixed typos in comments


git-svn-id: svn://localhost/ardour2/branches/3.0@4234 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-22 15:40:19 +00:00
Sakari Bergen
5de817c250 * Clean up (fix?) ExportStatus signal handling
* Fix problem in export dialog error reporting
* Sart implementing audio track importer (nothing very functional yet...)


git-svn-id: svn://localhost/ardour2/branches/3.0@4231 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-21 18:17:36 +00:00
7f66b71539 Apply LV2 changes from 2.0.
Completely and utterly untested.


git-svn-id: svn://localhost/ardour2/branches/3.0@4178 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-14 22:14:15 +00:00
Hans Baier
146d60214c * Enabled debugging output for start/stop messages on MidiClockSlave
git-svn-id: svn://localhost/ardour2/branches/3.0@4107 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-07 20:37:27 +00:00
Hans Baier
6abd152d17 * removed unnecessary method calls (preparse/postparse) in JACK_MidiPort
* Changed calculation of current speed and transport position to double to avoid accumulating rounding errors

git-svn-id: svn://localhost/ardour2/branches/3.0@4106 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-07 20:31:05 +00:00
Sakari Bergen
641dbfcaa2 * Fix problem with JACK being left in freewheeling after export
* Add quotes to cuefile filename entries


git-svn-id: svn://localhost/ardour2/branches/3.0@4098 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-06 20:22:48 +00:00
1d4b3c2f05 fix nasty bug in evaluation of final step of interpolated Curve values
git-svn-id: svn://localhost/ardour2/branches/3.0@4085 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-03 07:41:53 +00:00
Hans Baier
13952beb51 *disabled debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@4033 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-30 06:28:21 +00:00
Hans Baier
4c90724d2d * got MIDI clock working really smoothly (29 frames until sync, ardour transport jitter 1 frame)
* removed debugging output


git-svn-id: svn://localhost/ardour2/branches/3.0@4032 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-30 06:07:00 +00:00
Hans Baier
08470b7ed7 * disabled one line of debugging output
git-svn-id: svn://localhost/ardour2/branches/3.0@4028 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-29 08:19:38 +00:00
Hans Baier
0c72237f13 * fixed bug in Session::follow_slave: average_slave_delta wrapped around to huge positive values when slave lags behind master (ie deltas become negative)
* enabled some debugging output in Session::follow_slave (session_process.cc), beware!


git-svn-id: svn://localhost/ardour2/branches/3.0@4027 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-29 08:15:57 +00:00
Hans Baier
75e9180800 * added documentaion to libs/ardour/slave.h
* first roughly working midi clock slave


git-svn-id: svn://localhost/ardour2/branches/3.0@4025 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-29 07:17:07 +00:00
Hans Baier
0a60b4f530 got MIDI Clock slave closer to functioning properly:
- Cleaned up the class
  - calculating (kind-of) sensible speed and position values
  - fixed resolution (quick-fix)
  - fixed requires_seekahead (set to false)
  - fixed locked (set to true)


git-svn-id: svn://localhost/ardour2/branches/3.0@4018 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-27 06:49:41 +00:00
Hans Baier
fd824717a7 * fixed jitter problems for midi clock and removed superfluous UI elements
git-svn-id: svn://localhost/ardour2/branches/3.0@4008 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-25 08:28:10 +00:00
Sakari Bergen
8665fd32e6 Added svn:ignore properties and cleaned out autocrap cruft from libs/glibmm2/scripts/
git-svn-id: svn://localhost/ardour2/branches/3.0@3994 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-21 19:56:42 +00:00
Sampo Savolainen
a75868c767 Added facilities into PluginInsert for the GUI to gather parts of the real signal passed through the insert. Also added rudimentary plugin input/output difference analysis in the plugin eq gui for the collected signal.
git-svn-id: svn://localhost/ardour2/branches/3.0@3987 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-20 18:57:34 +00:00
Sakari Bergen
063ab23465 Handle export presets from config dirs properly. Removed some debug output.
git-svn-id: svn://localhost/ardour2/branches/3.0@3977 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-16 15:13:23 +00:00
Sakari Bergen
5fa6ed1966 Fix handling of format profiles in system config dirs. (Some profiles could now be shipped with Ardour)
git-svn-id: svn://localhost/ardour2/branches/3.0@3976 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-16 14:18:55 +00:00
Hans Baier
68d8f26dc4 * this implementation of midi_clock_slave is still sort of a proof of concept, but it reveals interesting issues and is better than the code before
git-svn-id: svn://localhost/ardour2/branches/3.0@3969 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-14 19:13:39 +00:00
f38225e7f6 Remove meaningless const qualifier (-Wextra warning).
git-svn-id: svn://localhost/ardour2/branches/3.0@3968 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-14 17:58:50 +00:00
Sampo Savolainen
d9106e99a4 First draft of the EQ visualization system. Now force fed to all plugin UIs.
git-svn-id: svn://localhost/ardour2/branches/3.0@3958 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-13 19:45:20 +00:00
b3634a723d Fix wrongly exposed set_parameter methods on PluginInsert.
Have plugin GUI stuff twiddle plugin parameters correctly.


git-svn-id: svn://localhost/ardour2/branches/3.0@3957 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-13 17:29:22 +00:00
2065092d25 fix for ancestral start values in basic region constructor
git-svn-id: svn://localhost/ardour2/branches/3.0@3956 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-13 17:11:57 +00:00
8fed85392e fix initialization of region shift/stretch members, missed during 2.X merge
git-svn-id: svn://localhost/ardour2/branches/3.0@3953 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-13 14:27:50 +00:00
1514039689 Fix pollution of global namespace by Evoral.
git-svn-id: svn://localhost/ardour2/branches/3.0@3947 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-13 02:43:14 +00:00
8b951bb9ee Fix warning.
Hope this is what was intended....
Precedence is the devil.


git-svn-id: svn://localhost/ardour2/branches/3.0@3946 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-13 02:39:17 +00:00
2c4a08bc57 MIDI looping fixes from torbenh.
git-svn-id: svn://localhost/ardour2/branches/3.0@3932 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-12 17:40:37 +00:00
Sakari Bergen
516c6168fe * Region export dialog does not lose export settings (Do not serialize into instant xml)
* Remove old export related files


git-svn-id: svn://localhost/ardour2/branches/3.0@3924 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-11 14:37:01 +00:00
Sakari Bergen
41c892802f * Some Export GUI tweaks
* Export region with fades
* Removed some debug output


git-svn-id: svn://localhost/ardour2/branches/3.0@3923 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-11 14:07:50 +00:00
Sakari Bergen
98389f7da4 Region export dialog: Make export channel and -selector polymorphic, add the region related classes and a dialog specialization
git-svn-id: svn://localhost/ardour2/branches/3.0@3915 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-11 10:14:51 +00:00
Sakari Bergen
01b1790c98 Fix some stupid, stupid, stupid memory leaks in export utilities
git-svn-id: svn://localhost/ardour2/branches/3.0@3913 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-11 09:25:43 +00:00
Sakari Bergen
f31179a490 Stop export dialog from getting stuck at end of export
git-svn-id: svn://localhost/ardour2/branches/3.0@3911 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-10 21:46:47 +00:00
78c21c3475 Add missing files.
git-svn-id: svn://localhost/ardour2/branches/3.0@3908 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-10 15:39:22 +00:00
15cdf454ea Apply MIDI looping patch from torbenh, with minor changes.
General idea: use internal events to mark loop boundaries in MIDI buffers so readers can make sense of timestamps.


git-svn-id: svn://localhost/ardour2/branches/3.0@3905 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-10 00:39:29 +00:00
862d8e651f add config var for region fade visibility
git-svn-id: svn://localhost/ardour2/branches/3.0@3902 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-09 21:40:22 +00:00
757c1c1026 add global region fade toggle; fixup (?) reload of MIDI config state (both ported from 2.X)
git-svn-id: svn://localhost/ardour2/branches/3.0@3897 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-09 14:15:45 +00:00
89e4d35244 torben's port buffer reworking; torben's panner automation loading patch (allows loading of 2.X sessions)
git-svn-id: svn://localhost/ardour2/branches/3.0@3890 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-08 20:14:22 +00:00
e330fed57e fix for bad sync with other JACK transport-aware clients (thanks to torben for discovering the problem and suggesting the best fix)
git-svn-id: svn://localhost/ardour2/branches/3.0@3887 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-08 15:16:39 +00:00
8c8b703e7f Fix MIDI playback while looping (ignore events with out of range time stamps gracefully in MIDI ring buffer).
git-svn-id: svn://localhost/ardour2/branches/3.0@3885 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-08 03:21:46 +00:00
ff73f4e5e1 Audio diskstream fix from torbenh.
git-svn-id: svn://localhost/ardour2/branches/3.0@3876 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-07 17:33:05 +00:00
6b0d22268b Normalize XML property name style, preserving old session loading (on load _ will be converted to -).
Still to go:  Non-consistent PBD tag names, colours.


git-svn-id: svn://localhost/ardour2/branches/3.0@3872 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-05 23:14:48 +00:00
e71aa5a95b More cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@3862 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-05 02:29:16 +00:00
47638b6644 Shrink scroomer horizontally a bit to emphasise the 'real' keyboard.
Cleanup gtk2_ardour/midi_scroomer.cc.


git-svn-id: svn://localhost/ardour2/branches/3.0@3860 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-05 01:07:44 +00:00
3a97c19e1e Fix HansCode(TM) to follow style guidelines.
git-svn-id: svn://localhost/ardour2/branches/3.0@3859 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-05 00:38:13 +00:00
8635f0e897 Update to clearlooks from gtk-engines-2.16.0
git-svn-id: svn://localhost/ardour2/branches/3.0@3857 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-05 00:09:32 +00:00
ad4919ce92 Assortment of minor changes from 2.0-ongoing.
git-svn-id: svn://localhost/ardour2/branches/3.0@3852 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-03 18:24:38 +00:00
21c4721a68 Remove unnecessary #include.
git-svn-id: svn://localhost/ardour2/branches/3.0@3849 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-03 04:04:14 +00:00
ec6ab8a048 Apply panners/automation patch from torbenh (Panner is-a Processor).
git-svn-id: svn://localhost/ardour2/branches/3.0@3848 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-03 03:16:19 +00:00
612850c41b Apply automation fix patch from torbenh.
git-svn-id: svn://localhost/ardour2/branches/3.0@3847 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-03 02:19:12 +00:00
620475f9ac Fix libardour library version.
git-svn-id: svn://localhost/ardour2/branches/3.0@3846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-03 02:18:55 +00:00
a9021cdd1d Add waf build script.
git-svn-id: svn://localhost/ardour2/branches/3.0@3843 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-30 15:34:54 +00:00
ed751e0ad8 Move midi_util.h.
Fix building without aubio.


git-svn-id: svn://localhost/ardour2/branches/3.0@3842 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-30 15:19:49 +00:00
9829cd08fe remove pointless JACK error message; don't add every track as an automatic bundle, just busses
git-svn-id: svn://localhost/ardour2/branches/3.0@3841 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-30 14:34:24 +00:00
9a30bb2aec Separate low level details of SMF reading/writing from concept of 'midi source in ardour'.
git-svn-id: svn://localhost/ardour2/branches/3.0@3839 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-30 00:45:26 +00:00