13
0
Commit Graph

9492 Commits

Author SHA1 Message Date
a2b4128035 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
2012-10-10 14:03:15 +00:00
Hans Baier
62ce39de7e 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
2012-10-10 05:33:49 +00:00
Hans Baier
f2909e7858 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
2012-10-10 05:08:56 +00:00
Hans Baier
3f5c6f8190 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
2012-10-10 04:31:59 +00:00
Hans Baier
f8b7687f78 whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@13222 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-10 04:30:48 +00:00
Hans Baier
c3850cfb35 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
2012-10-09 08:33:27 +00:00
Hans Baier
5c2d7d3644 add missing unit test runner shell script for midi++
git-svn-id: svn://localhost/ardour2/branches/3.0@13220 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-09 03:17:55 +00:00
Hans Baier
9a19da77e3 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
2012-10-09 03:17:15 +00:00
Hans Baier
dec0e3d6da 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
2012-10-09 03:13:38 +00:00
Hans Baier
7191aa2a10 fix whitespace in gtk2_ardour/canvas_patch_change.h
git-svn-id: svn://localhost/ardour2/branches/3.0@13217 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-09 03:10:46 +00:00
Hans Baier
ad8c184218 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
2012-10-09 03:09:54 +00:00
5a79a81a0f new Ring Tone default export format
git-svn-id: svn://localhost/ardour2/branches/3.0@13215 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-08 19:47:03 +00:00
9a4fbfcdfe add 8kHz as an available export format sample rate
git-svn-id: svn://localhost/ardour2/branches/3.0@13214 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-08 19:45:25 +00:00
Hans Baier
0bb2227eb8 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
2012-10-08 04:32:12 +00:00
Carl Hetherington
1a9d9b058c Fix wscript when PKG_CONFIG_PATH is empty.
git-svn-id: svn://localhost/ardour2/branches/3.0@13210 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-05 08:53:18 +00:00
5ee968d66b 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
2012-10-04 22:21:59 +00:00
d29c5cdfb0 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
2012-10-04 20:54:08 +00:00
a63d01e24a 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
2012-10-01 20:55:10 +00:00
02a98547f1 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
2012-09-27 14:11:01 +00:00
f940452bc0 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
2012-09-27 11:38:13 +00:00
53afa11311 mark session dirty when route active status changes
git-svn-id: svn://localhost/ardour2/branches/3.0@13195 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-19 19:32:05 +00:00
b30ba842d8 fix missing variable initialization
git-svn-id: svn://localhost/ardour2/branches/3.0@13194 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-17 21:09:12 +00:00
2b1692c094 updated czech translation file for gtk ui
git-svn-id: svn://localhost/ardour2/branches/3.0@13193 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-17 13:55:51 +00:00
Carl Hetherington
2373c48da6 Revert shade on playhead cursor (SVN 13048).
git-svn-id: svn://localhost/ardour2/branches/3.0@13192 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-17 12:08:21 +00:00
87017d581a Support latest options extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@13191 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-16 17:01:23 +00:00
Carl Hetherington
d80482dddf Check for panner_shell rather than panner before
connecting to it.  This means that we connect to mono
routes (without panners) so that if they do get panners
we find out about it.  Should help with #5093.


git-svn-id: svn://localhost/ardour2/branches/3.0@13190 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-15 12:18:41 +00:00
Carl Hetherington
dd7c0dcf30 Improve sensitization of buttons in the advanced options
part of the startup dialog.


git-svn-id: svn://localhost/ardour2/branches/3.0@13189 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-15 12:18:35 +00:00
Carl Hetherington
d1a470038f Tweak label.
git-svn-id: svn://localhost/ardour2/branches/3.0@13188 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-15 12:18:29 +00:00
4ee7e09e2c fix a couple of errors in zh.po files
git-svn-id: svn://localhost/ardour2/branches/3.0@13185 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-12 21:30:44 +00:00
20c1084dd5 add email address for Rui-huai Zhang
git-svn-id: svn://localhost/ardour2/branches/3.0@13184 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-12 21:26:06 +00:00
3008fbdea5 add chinese translation from Rui-huai Zhang
git-svn-id: svn://localhost/ardour2/branches/3.0@13183 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-12 21:24:55 +00:00
696631f04e comment tweaks from a second reading
git-svn-id: svn://localhost/ardour2/branches/3.0@13182 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-09 20:31:43 +00:00
999ec4a074 remove unused code
git-svn-id: svn://localhost/ardour2/branches/3.0@13181 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-09 20:21:50 +00:00
bfb5292e74 Consistent style.
git-svn-id: svn://localhost/ardour2/branches/3.0@13180 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-08 18:18:47 +00:00
Carl Hetherington
f404e90836 I think Region::can_move() should take into account _locked
as well as the never-used (apart from ImageFrameView)
_position_locked.  Fixes #5090.


git-svn-id: svn://localhost/ardour2/branches/3.0@13179 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-08 01:03:00 +00:00
Carl Hetherington
6568182452 Update to gtk2_ardour Czech translation from Pavel Fric
(#5092).


git-svn-id: svn://localhost/ardour2/branches/3.0@13178 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-08 00:21:39 +00:00
Sakari Bergen
a7cd27e744 Fix end-of-input-handling in silence trimmer
git-svn-id: svn://localhost/ardour2/branches/3.0@13160 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-04 18:16:21 +00:00
Carl Hetherington
fb9a184340 Patch from timbyr to stop the startup dialog
unexpectedly resizing when you ask for more options
(#5068).


git-svn-id: svn://localhost/ardour2/branches/3.0@13159 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-01 11:32:38 +00:00
Carl Hetherington
c779474c13 Reset pending_locate_roll in all cases, not just when the
roll happened; should help with #5047.


git-svn-id: svn://localhost/ardour2/branches/3.0@13158 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-09-01 11:24:17 +00:00
3eaadafd31 Fix compilation without svn lv2.
git-svn-id: svn://localhost/ardour2/branches/3.0@13152 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-30 01:23:39 +00:00
7e335a8234 Implement latest buf-size extension via new options extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@13151 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-29 20:22:18 +00:00
fd37871315 added missing header include
git-svn-id: svn://localhost/ardour2/branches/3.0@13150 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-29 00:30:50 +00:00
4e3aee3548 LV2: Send messages from one UI to all replicated instances.
Addresses issue mentioned in previous commit.

git-svn-id: svn://localhost/ardour2/branches/3.0@13149 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-28 15:42:42 +00:00
322f1c7d0d LV2: amend previous commit, respect replicated plugin instances
When a plugin is replicated (eg. mono plugin on a stereo-track),
configure_io() is only called for the first instance.
The 2nd instance will not have dedicated buffers but re-use copies
of the first instance. Should the 2nd instance use a LV2 worker-thread or
local communication ports they can not be shared with the first instance.
-> this patch allocates Atom-buffers for each instance.

PS. this still needs more work; there is only one UI instance for
all plugin instances. messages from the UI should go to all
instances.

git-svn-id: svn://localhost/ardour2/branches/3.0@13148 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-28 15:42:40 +00:00
198efb82bc LV2: allocate dedicated buffers for [non-midi] event-ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@13147 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-28 15:42:38 +00:00
9ab45f37c6 LV2 worker: prevent corruption of ringbuffer
git-svn-id: svn://localhost/ardour2/branches/3.0@13146 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-28 15:42:35 +00:00
a8f0c3255f fix LV2 worker
start worker thread after _sem and _exit have been initialized.
stop thread when plugin is removed.

git-svn-id: svn://localhost/ardour2/branches/3.0@13145 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-27 04:08:48 +00:00
0a834da466 dedicated LV2 non-MIDI atom-event-port handling
git-svn-id: svn://localhost/ardour2/branches/3.0@13144 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-27 04:08:45 +00:00
7b7140f5ed Create and realize LV2 UI container before instantiating (required for proper embedding in some situations).
git-svn-id: svn://localhost/ardour2/branches/3.0@13140 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-21 19:29:19 +00:00
7baf499ca7 fix long-option: --no-splash = -n (and test git+svn first-commit)
git-svn-id: svn://localhost/ardour2/branches/3.0@13139 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-21 17:44:48 +00:00