ardour.git
11 years agouse Gtk::Label::set_text() rather than Gtk::Label::set_markup() where no markup is...
Paul Davis [Tue, 23 Oct 2012 14:45:45 +0000 (14:45 +0000)]
use Gtk::Label::set_text() rather than Gtk::Label::set_markup() where no markup is involved

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

11 years agoescape markup text that may contain non-legal characters (for GMarkup). this may...
Paul Davis [Tue, 23 Oct 2012 14:45:09 +0000 (14:45 +0000)]
escape markup text that may contain non-legal characters (for GMarkup). this may need to be done more widely

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

11 years agoMTC slave - fix jumps on initialization
Robin Gareus [Mon, 22 Oct 2012 17:34:15 +0000 (17:34 +0000)]
MTC slave - fix jumps on initialization

Do not re-position transport before first full frame has arrived.

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

11 years agochange packing/design/sizing/labels at bottom of import dialog (should fix #5062...
Paul Davis [Mon, 22 Oct 2012 15:31:42 +0000 (15:31 +0000)]
change packing/design/sizing/labels at bottom of import dialog (should fix #5062 and looks a bit prettier even in english)

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

11 years agoadd LTC generator
Robin Gareus [Sun, 21 Oct 2012 14:07:10 +0000 (14:07 +0000)]
add LTC generator

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

11 years agoLTC Slave cleanup
Robin Gareus [Sun, 21 Oct 2012 14:07:07 +0000 (14:07 +0000)]
LTC Slave cleanup

initialize audioengine's ltc_port - if HAVE_LTC is not set
trying to connect it would segfault.

LTC frameno is < 40 by (two bit frame-ten's)

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

11 years agoLTC slave rewrite #2
Robin Gareus [Sat, 20 Oct 2012 18:14:13 +0000 (18:14 +0000)]
LTC slave rewrite #2

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

11 years agochange input/output button context menus for mixer strip to be non-additive: when...
Paul Davis [Thu, 18 Oct 2012 16:15:11 +0000 (16:15 +0000)]
change input/output button context menus for mixer strip to be non-additive: when selecting a new IO bundle, disconnect from any existing connections before connecting to the new one (fixes #5087)

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

11 years agofix computation of fixed ruler scales done before canvas width is set by allocation...
Paul Davis [Thu, 18 Oct 2012 15:38:04 +0000 (15:38 +0000)]
fix computation of fixed ruler scales done before canvas width is set by allocation handler (fixes #5065 and #5095)

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

11 years agoif a session is altered, ask about saving it BEFORE moving on to the new session...
Paul Davis [Thu, 18 Oct 2012 13:43:25 +0000 (13:43 +0000)]
if a session is altered, ask about saving it BEFORE moving on to the new session dialog (fixes #5086)

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

11 years agopatch from robin to fix where the transport start occurs when exporting (#4098)
Paul Davis [Wed, 17 Oct 2012 22:33:02 +0000 (22:33 +0000)]
patch from robin to fix where the transport start occurs when exporting (#4098)

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

11 years agopatch to take snapshots into account in the recent-session display of teh startup...
Paul Davis [Wed, 17 Oct 2012 22:22:03 +0000 (22:22 +0000)]
patch to take snapshots into account in the recent-session display of teh startup dialog, etc (from melvin ray herr)

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

11 years agosecond half of forward-port of recent a2/mb control protocol changes, this time enabl...
Paul Davis [Wed, 17 Oct 2012 22:01:02 +0000 (22:01 +0000)]
second half of forward-port of recent a2/mb control protocol changes, this time enabling the GUI to track protocol-active changes

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

11 years agodisable LTC,MTC speed deadzone for now.
Robin Gareus [Wed, 17 Oct 2012 17:11:32 +0000 (17:11 +0000)]
disable LTC,MTC speed deadzone for now.
wrong threshold causes jumps.

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

11 years agodecrease LTC flywheel time and adjust DLL settings
Robin Gareus [Wed, 17 Oct 2012 15:57:55 +0000 (15:57 +0000)]
decrease LTC flywheel time and adjust DLL settings

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

11 years agoAdd a 1% speed deadzone around speed=1.0 for LTC, MTC slaves
Robin Gareus [Wed, 17 Oct 2012 15:57:53 +0000 (15:57 +0000)]
Add a 1% speed deadzone around speed=1.0 for LTC, MTC slaves

trade-off constant re-sampling to achieve sample-delta ~0,
with trying to avoid resampling if the delta is within
1% of the sample-rate.

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

11 years agoslave delta display
Robin Gareus [Wed, 17 Oct 2012 15:57:51 +0000 (15:57 +0000)]
slave delta display

impl MClk slave, update format for LTC, MTC

negative delta: Ardour is behind,
positive delta: Ardour is ahead of ext clock.

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

11 years agofix delta display of MClk slave.
Robin Gareus [Wed, 17 Oct 2012 15:57:48 +0000 (15:57 +0000)]
fix delta display of MClk slave.

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

11 years agoforward part the backend part of the generic MIDI control fixes from mb2/a2
Paul Davis [Wed, 17 Oct 2012 14:36:40 +0000 (14:36 +0000)]
forward part the backend part of the generic MIDI control fixes from mb2/a2

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

11 years agoLTC remove debug out, delta-time: flywheel display
Robin Gareus [Tue, 16 Oct 2012 23:04:02 +0000 (23:04 +0000)]
LTC remove debug out, delta-time: flywheel display

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

11 years agoenable sync genlock & setFPS option for both MTC & LTC
Robin Gareus [Tue, 16 Oct 2012 23:04:00 +0000 (23:04 +0000)]
enable sync genlock & setFPS option for both MTC & LTC

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

11 years agoLTC slave reworked
Robin Gareus [Tue, 16 Oct 2012 20:53:15 +0000 (20:53 +0000)]
LTC slave reworked

* detect LTC framerate
* detect LTC discontinuities
* use a DLL for flywheel sync (engine rate)
* don't use seekahead - internal resync

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

11 years agoprepare for non-seekahead [LTC] slave. fix state machine
Robin Gareus [Tue, 16 Oct 2012 20:53:12 +0000 (20:53 +0000)]
prepare for non-seekahead [LTC] slave. fix state machine

locate() will call realtime_stop which will reset the slave-state.

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

11 years agoMTC Slave: allow >2 sec for re-sync, format delta
Robin Gareus [Tue, 16 Oct 2012 20:53:10 +0000 (20:53 +0000)]
MTC Slave: allow >2 sec for re-sync, format delta

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

11 years agodon't do a pending save if slave is syncing.
Robin Gareus [Tue, 16 Oct 2012 20:53:08 +0000 (20:53 +0000)]
don't do a pending save if slave is syncing.

13:00 < rgareus> When a slave does initial sync, it sets speed=0, pos=XXX (required by session_process.cc state-machine to init)
13:01 < rgareus> This triggers a locate(roll=false) which in turn triggers a realtime_stop() which in turn triggers a non_realtime_stop().
[..]
13:06 < rgareus> las: the problem I have with non_realtime_stop() is that it does save a pending state IFF  get_record_enabled() is true.
13:06 < rgareus> The save can take ages (seconds), which will void the initial sync of the slave.
13:07 < rgareus> The slave enters a live-lock: sync, save, re-sync, save...
13:07 < las> rgareus: understood
13:07 < rgareus> las: I propose to workaround this: only save pending state if there is no slave or the slave is not locked.
13:07 < las> rgareus: another reason why recording + slave == bad idea :(
13:07 < las> rgareus: but yes, that sounds fine to me
13:07 < rgareus> AFICT this is not harmful. It only affects pre-record settings.
13:07 < rgareus> 'did_record' is used to save a full state after each recording.

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

11 years agoimplement double click to ContentsRange on MidiScroomer
Hans Baier [Tue, 16 Oct 2012 09:19:19 +0000 (09:19 +0000)]
implement double click to ContentsRange on MidiScroomer

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

11 years agocreate and manage a new config parameter that defines where LTC originates (still...
Paul Davis [Mon, 15 Oct 2012 15:57:35 +0000 (15:57 +0000)]
create and manage a new config parameter that defines where LTC originates (still some tweaks to be done here and there)

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

11 years agoMTC slave: timcode and delta formatting
Robin Gareus [Mon, 15 Oct 2012 02:46:56 +0000 (02:46 +0000)]
MTC slave: timcode and delta formatting

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

11 years agoaudio-clock: use Timecode::timecode_format_time
Robin Gareus [Mon, 15 Oct 2012 02:46:54 +0000 (02:46 +0000)]
audio-clock: use Timecode::timecode_format_time

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

11 years agoMTC slave fix reporting approx position
Robin Gareus [Sun, 14 Oct 2012 23:23:57 +0000 (23:23 +0000)]
MTC slave fix reporting approx position

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

11 years agoprepare reporting slave delta & MTC slave implementation
Robin Gareus [Sun, 14 Oct 2012 23:23:53 +0000 (23:23 +0000)]
prepare reporting slave delta & MTC slave implementation

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

11 years agouse translatable strings for TC info,
Robin Gareus [Sun, 14 Oct 2012 16:42:32 +0000 (16:42 +0000)]
use translatable strings for TC info,
and prepare delta display

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

11 years agoMTC,LTC print current timecodes in warning
Robin Gareus [Sun, 14 Oct 2012 16:17:47 +0000 (16:17 +0000)]
MTC,LTC print current timecodes in warning

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

11 years agoLTC Slave, add support for variable framerates
Robin Gareus [Sun, 14 Oct 2012 16:17:42 +0000 (16:17 +0000)]
LTC Slave, add support for variable framerates

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

11 years agoformatting timecode: use a semicolon to indicate DF
Robin Gareus [Sun, 14 Oct 2012 16:17:40 +0000 (16:17 +0000)]
formatting timecode: use a semicolon to indicate DF

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

11 years agoMTC Slave: MIDI 30df -> A3 29.97df
Robin Gareus [Sun, 14 Oct 2012 16:17:37 +0000 (16:17 +0000)]
MTC Slave: MIDI 30df -> A3 29.97df

MIDI only specifies the frame-count, not the rate.
in the vast majority of cases MIDI's
"Count to 30 use drop-frame" is 29.97df fps.

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

11 years agoMTC Slave: fix return approx position.
Robin Gareus [Sun, 14 Oct 2012 16:17:35 +0000 (16:17 +0000)]
MTC Slave: fix return approx position.

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

11 years agofix matching TC color assignment (rev13264)
Robin Gareus [Sun, 14 Oct 2012 16:17:33 +0000 (16:17 +0000)]
fix matching TC color assignment (rev13264)

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

11 years agotimecode: make subframes unsigned int
Robin Gareus [Sat, 13 Oct 2012 23:47:05 +0000 (23:47 +0000)]
timecode: make subframes unsigned int

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

11 years agoMTCslave - use new timecode API
Robin Gareus [Sat, 13 Oct 2012 23:27:43 +0000 (23:27 +0000)]
MTCslave - use new timecode API

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

11 years agomove sample/timecode conversion to libtimecode.
Robin Gareus [Sat, 13 Oct 2012 23:27:40 +0000 (23:27 +0000)]
move sample/timecode conversion to libtimecode.

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

11 years agoprovide forgotten case for restoring Windows VST plugins
Paul Davis [Sat, 13 Oct 2012 00:31:46 +0000 (00:31 +0000)]
provide forgotten case for restoring Windows VST plugins

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

11 years agotweaks to be ready for more information timecode display in Timecode clock mode
Paul Davis [Fri, 12 Oct 2012 22:04:21 +0000 (22:04 +0000)]
tweaks to be ready for more information timecode display in Timecode clock mode

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

11 years agoLTC slave - basic working version (hardcoded 25fps)
Robin Gareus [Fri, 12 Oct 2012 21:28:08 +0000 (21:28 +0000)]
LTC slave - basic working version (hardcoded 25fps)

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

11 years agoMTC slave - return apparent_timecode_format
Robin Gareus [Fri, 12 Oct 2012 21:28:05 +0000 (21:28 +0000)]
MTC slave - return apparent_timecode_format

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

11 years agoMTC Slave: handle locates (quick re-sync)
Robin Gareus [Fri, 12 Oct 2012 17:04:20 +0000 (17:04 +0000)]
MTC Slave: handle locates (quick re-sync)

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

11 years agobasics for a TimecodeSlave parent class for MTC and LTC
Paul Davis [Fri, 12 Oct 2012 16:48:53 +0000 (16:48 +0000)]
basics for a TimecodeSlave parent class for MTC and LTC

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

11 years agomove TC FPS up into status bar, use lower right of timecode audioclock mode for somet...
Paul Davis [Fri, 12 Oct 2012 16:25:57 +0000 (16:25 +0000)]
move TC FPS up into status bar, use lower right of timecode audioclock mode for something ... TBDiscussed

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

11 years agoskeleton framework for LTC-slave
Robin Gareus [Fri, 12 Oct 2012 09:45:22 +0000 (09:45 +0000)]
skeleton framework for LTC-slave

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

11 years agomake the time axis view remember it midnam model/mode settings
Hans Baier [Fri, 12 Oct 2012 09:25:55 +0000 (09:25 +0000)]
make the time axis view remember it midnam model/mode settings

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

11 years agomake sure routes instrument info initializes correctly
Hans Baier [Fri, 12 Oct 2012 09:25:20 +0000 (09:25 +0000)]
make sure routes instrument info initializes correctly

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

11 years agotidy
Hans Baier [Fri, 12 Oct 2012 09:24:31 +0000 (09:24 +0000)]
tidy

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

11 years agoissue 0005121: added comment to source. Sorry, last commit was for issue 0005121...
Hans Baier [Fri, 12 Oct 2012 06:04:06 +0000 (06:04 +0000)]
issue 0005121: added comment to source. Sorry, last commit was for issue 0005121, not 0005120, copied from the wrong line :[

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

11 years agofix issue 0005120: dont treat percussive mode differently than sustained mode except...
Hans Baier [Fri, 12 Oct 2012 05:58:47 +0000 (05:58 +0000)]
fix issue 0005120: dont treat percussive mode differently than sustained mode except in GUI. Leaving out all note offs crashes LinuxSampler and totally drowns my Yamaha PSR-S900 by stealing all its available voices. Code is #ifdef-ed out until a more thorough discussion would conclude the removal of percussive mode from the MIDI model, which IMHO makes sense. I don't see any virtue in leaving out note offs since it only creates problems.

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

11 years agoMTC: map between timecodes
Robin Gareus [Fri, 12 Oct 2012 01:08:32 +0000 (01:08 +0000)]
MTC: map between timecodes

allow external timecode device to supply timecode with
framerates other than ardour session's framerate.

also fix latency overcompensation. The slave is supposed to
provide transport time - and not audible frame time.

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

11 years agomove TimecodeFormat to libtimecode
Robin Gareus [Fri, 12 Oct 2012 01:08:29 +0000 (01:08 +0000)]
move TimecodeFormat to libtimecode

provide a way to convert any TimecodeFormat to float frame-rate,
not only the currently active timecode_foramt.

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

11 years agomore transport prefs tooltips and tidy up sync/slave stuff some more
Paul Davis [Thu, 11 Oct 2012 15:50:54 +0000 (15:50 +0000)]
more transport prefs tooltips and tidy up sync/slave stuff some more

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

11 years agofurther tweak midi channel selector layout in track header
Hans Baier [Thu, 11 Oct 2012 08:55:20 +0000 (08:55 +0000)]
further tweak midi channel selector layout in track header

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

11 years agodisable Ubuntu global menu for ardev
Hans Baier [Thu, 11 Oct 2012 08:23:18 +0000 (08:23 +0000)]
disable Ubuntu global menu for ardev

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

11 years agonicer layout of MIDI channel selector
Hans Baier [Thu, 11 Oct 2012 08:13:40 +0000 (08:13 +0000)]
nicer layout of MIDI channel selector

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

11 years agoMake input filtering while recording work in GUI, too
Hans Baier [Thu, 11 Oct 2012 06:32:09 +0000 (06:32 +0000)]
Make input filtering while recording work in GUI, too

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

11 years agoimplement missing midi event filtering during recording
Hans Baier [Thu, 11 Oct 2012 05:39:40 +0000 (05:39 +0000)]
implement missing midi event filtering during recording

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

11 years agorevert last commit, wrong place...
Hans Baier [Thu, 11 Oct 2012 04:31:57 +0000 (04:31 +0000)]
revert last commit, wrong place...

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

11 years agofix bug: capture buffer not filtered by track channel selector
Hans Baier [Thu, 11 Oct 2012 04:27:53 +0000 (04:27 +0000)]
fix bug: capture buffer not filtered by track channel selector

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

11 years agomake sysex contents appear as verbose_cursor for visual feedback the flag as been...
Hans Baier [Thu, 11 Oct 2012 04:05:22 +0000 (04:05 +0000)]
make sysex contents appear as verbose_cursor for visual feedback the flag as been entered and for readability

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

11 years agofix bug: sysexes x position not relative to region
Hans Baier [Thu, 11 Oct 2012 03:40:39 +0000 (03:40 +0000)]
fix bug: sysexes x position not relative to region

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

11 years agoimplement deleting of sysex events
Hans Baier [Thu, 11 Oct 2012 03:22:17 +0000 (03:22 +0000)]
implement deleting of sysex events

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

11 years agomove the external sync source selection tobe a global config parameter, not per-sessi...
Paul Davis [Thu, 11 Oct 2012 03:10:18 +0000 (03:10 +0000)]
move the external sync source selection tobe a global config parameter, not per-session, since this is likely a reflection of studio setup, h/w etc.; starting using real tooltips in the RC option editor

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

11 years agoadd the notion of a "tip widget" for all option editor elements, allowing us to add...
Paul Davis [Wed, 10 Oct 2012 23:28:07 +0000 (23:28 +0000)]
add the notion of a "tip widget" for all option editor elements, allowing us to add tooltips to each item; add one such proto-tool-tip

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

11 years agomove timecode-is-clock-synced option to global configuration parameters, not per...
Paul Davis [Wed, 10 Oct 2012 22:56:21 +0000 (22:56 +0000)]
move timecode-is-clock-synced option to global configuration parameters, not per session

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

11 years agomove sync-frame-rate option to Transport tab, rename "Interface" tab as "GUI"
Paul Davis [Wed, 10 Oct 2012 22:46:21 +0000 (22:46 +0000)]
move sync-frame-rate option to Transport tab, rename "Interface" tab as "GUI"

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

11 years agoadd global config parameter timecode-sync-frame-rate to control behaviour when a...
Paul Davis [Wed, 10 Oct 2012 21:07:24 +0000 (21:07 +0000)]
add global config parameter timecode-sync-frame-rate to control behaviour when a timecode slave (MTC, LTC) has a different frame rate than an Ardour session

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

11 years agoMTC slave, don't touch position if no MTC was received
Robin Gareus [Wed, 10 Oct 2012 20:37:59 +0000 (20:37 +0000)]
MTC slave, don't touch position if no MTC was received

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

11 years agoMTC-slave: print error if framerate mismatch
Robin Gareus [Wed, 10 Oct 2012 20:37:56 +0000 (20:37 +0000)]
MTC-slave: print error if framerate mismatch

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

11 years agoremove incorrect and unnecessary template class declaration from Evoral (added recently)
Paul Davis [Wed, 10 Oct 2012 15:42:47 +0000 (15:42 +0000)]
remove incorrect and unnecessary template class declaration from Evoral (added recently)

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

11 years agobreak out of step editing if a session goes away; do nothing in Editor::located(...
Paul Davis [Wed, 10 Oct 2012 15:19:58 +0000 (15:19 +0000)]
break out of step editing if a session goes away; do nothing in Editor::located() if the session has gone away

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

11 years agodebug msg - varispeed recording
Robin Gareus [Wed, 10 Oct 2012 14:03:19 +0000 (14:03 +0000)]
debug msg - varispeed recording

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

11 years agoignore slave/engine time-delta when recording.
Robin Gareus [Wed, 10 Oct 2012 14:03:18 +0000 (14:03 +0000)]
ignore slave/engine time-delta when recording.

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

11 years agofix and improve MTC-slave
Robin Gareus [Wed, 10 Oct 2012 14:03:15 +0000 (14:03 +0000)]
fix and improve MTC-slave

 - MTC-speed average (MIDI thread)
   * base timing on quarter-frames
   * replace hann-window average with a DLL
 - MTC/engine alignment
   * replace 1st order PI-controller with 2nd order DLL

The 2nd DLL is needed because the jack-process callback effectively
quantizes the transport-speed to integer audio-frames (speed * nframes).
This leaves a delta on every cycle because the remainder from previous
cycles is not compensated for.

Theoretically it is possible to merge the two DLLs into one.
However, with callbacks coming from by two independent threads
it is cleaner to track the MTC and JACK engine-alignment speeds
independently.

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

11 years agoYamaha-PSR-S900.midnam: correct organ flutes, duplicate settings generated from fault...
Hans Baier [Wed, 10 Oct 2012 05:33:49 +0000 (05:33 +0000)]
Yamaha-PSR-S900.midnam: correct organ flutes, duplicate settings generated from faulty data sheet

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

11 years agoprogram changes must be zero-based in the MIDNAM file, but they are one-based in...
Hans Baier [Wed, 10 Oct 2012 05:08:56 +0000 (05:08 +0000)]
program changes must be zero-based in the MIDNAM file, but they are one-based in the manual, where this midnam file is generated from

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

11 years agoenable and extend EVORAL_MIDI_XML. Useful for Debugging. Any objections?
Hans Baier [Wed, 10 Oct 2012 04:31:59 +0000 (04:31 +0000)]
enable and extend EVORAL_MIDI_XML. Useful for Debugging. Any objections?

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

11 years agowhitespace
Hans Baier [Wed, 10 Oct 2012 04:30:48 +0000 (04:30 +0000)]
whitespace

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

11 years agoevoral/MIDIEvent: Whitespace cosmetics in header, make XML output work properly eg...
Hans Baier [Tue, 9 Oct 2012 08:33:27 +0000 (08:33 +0000)]
evoral/MIDIEvent: Whitespace cosmetics in header, make XML output work properly eg show the numbers instead of blanks

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

11 years agoadd missing unit test runner shell script for midi++
Hans Baier [Tue, 9 Oct 2012 03:17:55 +0000 (03:17 +0000)]
add missing unit test runner shell script for midi++

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

11 years agofix insidious bugs in midnam_patch.cc which account for garbled data
Hans Baier [Tue, 9 Oct 2012 03:17:15 +0000 (03:17 +0000)]
fix insidious bugs in midnam_patch.cc which account for garbled data

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

11 years agoAdd patchfile for Yamaha PSR-S900, add unit test for it, remove camel case from test...
Hans Baier [Tue, 9 Oct 2012 03:13:38 +0000 (03:13 +0000)]
Add patchfile for Yamaha PSR-S900, add unit test for it, remove camel case from test method names

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

11 years agofix whitespace in gtk2_ardour/canvas_patch_change.h
Hans Baier [Tue, 9 Oct 2012 03:10:46 +0000 (03:10 +0000)]
fix whitespace in gtk2_ardour/canvas_patch_change.h

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

11 years agofix whitespace in libs/midi++2/midi++/midnam_patch.h
Hans Baier [Tue, 9 Oct 2012 03:09:54 +0000 (03:09 +0000)]
fix whitespace in libs/midi++2/midi++/midnam_patch.h

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

11 years agonew Ring Tone default export format
Paul Davis [Mon, 8 Oct 2012 19:47:03 +0000 (19:47 +0000)]
new Ring Tone default export format

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

11 years agoadd 8kHz as an available export format sample rate
Paul Davis [Mon, 8 Oct 2012 19:45:25 +0000 (19:45 +0000)]
add 8kHz as an available export format sample rate

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

11 years agoadd unit tests to midi++ and assorted bugfixes for midnam_patch.cc
Hans Baier [Mon, 8 Oct 2012 04:32:12 +0000 (04:32 +0000)]
add unit tests to midi++ and assorted bugfixes for midnam_patch.cc

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

11 years agoFix wscript when PKG_CONFIG_PATH is empty.
Carl Hetherington [Fri, 5 Oct 2012 08:53:18 +0000 (08:53 +0000)]
Fix wscript when PKG_CONFIG_PATH is empty.

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

11 years agofix up various aspects of building against a private/personal dependency stack
Paul Davis [Thu, 4 Oct 2012 22:21:59 +0000 (22:21 +0000)]
fix up various aspects of building against a private/personal dependency stack

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

11 years agodrop connections to incoming MIDI signals before deleting MTC Slave object
Paul Davis [Thu, 4 Oct 2012 20:54:08 +0000 (20:54 +0000)]
drop connections to incoming MIDI signals before deleting MTC Slave object

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

11 years agodo not add in ticks in the "at" position when computing BBT duration somewhere on...
Paul Davis [Mon, 1 Oct 2012 20:55:10 +0000 (20:55 +0000)]
do not add in ticks in the "at" position when computing BBT duration somewhere on the timeline (fixes issues with nudging etc.

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

11 years agodifferent version of previous commit that leaves previous semantics intact unless...
Paul Davis [Thu, 27 Sep 2012 14:11:01 +0000 (14:11 +0000)]
different version of previous commit that leaves previous semantics intact unless punch in/out are enabled

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

11 years agowhen deciding monitoring state, only consider the session to be in global record...
Paul Davis [Thu, 27 Sep 2012 11:38:13 +0000 (11:38 +0000)]
when deciding monitoring state, only consider the session to be in global record state if we are actively recording, not just if we are rec-enabled. this provides correct monitoring when punch in/out are enabled

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

11 years agomark session dirty when route active status changes
Paul Davis [Wed, 19 Sep 2012 19:32:05 +0000 (19:32 +0000)]
mark session dirty when route active status changes

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

11 years agofix missing variable initialization
Paul Davis [Mon, 17 Sep 2012 21:09:12 +0000 (21:09 +0000)]
fix missing variable initialization

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