Paul Davis [Thu, 20 Oct 2016 02:35:05 +0000 (22:35 -0400)]
various tweaks to improve the preferences presentation of midi-input-follows-selection
Paul Davis [Wed, 19 Oct 2016 21:49:29 +0000 (17:49 -0400)]
need to refill treeviews for MIDI port prefs at least once
Paul Davis [Wed, 19 Oct 2016 21:44:54 +0000 (17:44 -0400)]
move MIDI port options out of engine dialog and into prefs
Paul Davis [Wed, 19 Oct 2016 21:17:30 +0000 (17:17 -0400)]
infrastructure for MIDI-input-follows-selection
Paul Davis [Wed, 19 Oct 2016 19:13:32 +0000 (15:13 -0400)]
basics of following MIDI track selection and rewiring input
Paul Davis [Wed, 19 Oct 2016 19:13:09 +0000 (15:13 -0400)]
NOOP: whitespacing tweak
Paul Davis [Wed, 19 Oct 2016 19:12:49 +0000 (15:12 -0400)]
basics of managing a list of port names for MIDI-input-follows-selection
Robin Gareus [Wed, 19 Oct 2016 17:45:35 +0000 (19:45 +0200)]
Use official LV2 state:StateChanged URI
http://lv2plug.in/git/cgit.cgi/lv2.git/commit/?id=
dbb18d82136d43eec435e321bffa835ba5776d6e
Robin Gareus [Wed, 19 Oct 2016 17:10:18 +0000 (19:10 +0200)]
Work around OSX MIDI devices that send no timestamps
nick_m [Wed, 19 Oct 2016 16:40:06 +0000 (03:40 +1100)]
bbt duration clock - revert
3d38b4f58ec0 and
a32aea4201. use an alternate fix.
nick_m [Wed, 19 Oct 2016 12:09:24 +0000 (23:09 +1100)]
Duration clock edit uses current time to resolve meter.
- should fix the remaining part of #7072
Paul Davis [Wed, 19 Oct 2016 01:18:32 +0000 (21:18 -0400)]
set up MIDI port treeview columns *just once*
Paul Davis [Tue, 18 Oct 2016 22:14:00 +0000 (18:14 -0400)]
correctly show both the old MIDI setup tab (device oriented) and the new one (port oriented)
Paul Davis [Tue, 18 Oct 2016 22:00:55 +0000 (18:00 -0400)]
further work on a MIDI port functionality dialog
Robin Gareus [Tue, 18 Oct 2016 21:40:14 +0000 (23:40 +0200)]
Add tooltip info for inline-display
Paul Davis [Tue, 18 Oct 2016 20:56:35 +0000 (16:56 -0400)]
beginnings of a tab in Audio/MIDI setup to manage MIDI port functionality
Paul Davis [Tue, 18 Oct 2016 20:56:28 +0000 (16:56 -0400)]
remove unnecessary and now impossible #include
Paul Davis [Tue, 18 Oct 2016 20:53:54 +0000 (16:53 -0400)]
remove unusued and useless midi_port_dialog.{cc,h} files
Paul Davis [Tue, 18 Oct 2016 20:45:39 +0000 (16:45 -0400)]
fix retrieval of port properties (metadata) when the value has no type
Robin Gareus [Tue, 18 Oct 2016 20:25:10 +0000 (22:25 +0200)]
fix link in manpage
Robin Gareus [Tue, 18 Oct 2016 20:25:02 +0000 (22:25 +0200)]
Processor box interaction:
Allow to toggle inline display with tertiary + double-click.
also fix tooltip and fix inconsistent modifiers on inline display.
nick_m [Tue, 18 Oct 2016 18:56:26 +0000 (05:56 +1100)]
Tempo lines drawing performance tweak.
nick_m [Tue, 18 Oct 2016 18:10:15 +0000 (05:10 +1100)]
Tempo line tweaks.
- ensure lines don't get too dense in the all bars case.
- never draw tick divisions in the all bar case.
nick_m [Tue, 18 Oct 2016 16:56:43 +0000 (03:56 +1100)]
Improve bbt ruler drawing performance for large time ranges.
- when the timeline displays many bars, zoom/autoscroll
speed is improved by calculating the bbt ruler scale first
then requesting a suitably scaled grid.
David Robillard [Mon, 17 Oct 2016 23:47:56 +0000 (19:47 -0400)]
Warn about skipped MIDI events
This can occur when the MIDI readahead time is too low and events get
pushed into the MidiRingBuffer after the corresponding read. In this
case, skip_to() gets called (as it does before every read) and the
events are silently dropped.
This is a Very Bad Thing(TM), so warn about it. I am not sure which
other scenarios can skip events that aren't problematic, but there's
probably some. A more sophisticated detection/reporting (or maybe even
dynamic reconfiguration) scheme would be nice here, but some false
positive messages are at least better than silently failing to play
notes and the like.
David Robillard [Mon, 17 Oct 2016 23:47:39 +0000 (19:47 -0400)]
Clean up MIDI debugging output
Paul Davis [Mon, 17 Oct 2016 21:57:39 +0000 (17:57 -0400)]
spelling corrections from Jaromír Mikeš <mira.mikes@seznam.cz>
Corresponds to https://anonscm.debian.org/cgit/pkg-multimedia/ardour.git/tree/debian/patches/0070-spelling.patch
Paul Davis [Mon, 17 Oct 2016 19:58:30 +0000 (15:58 -0400)]
reset peak meters used in push2 when stripable goes away
Paul Davis [Mon, 17 Oct 2016 19:58:02 +0000 (15:58 -0400)]
remove unused variable
Nathan Stewart [Mon, 17 Oct 2016 17:06:02 +0000 (13:06 -0400)]
Initialize uninitialized member variables in ctor - warning suppression
Robin Gareus [Mon, 17 Oct 2016 19:34:40 +0000 (21:34 +0200)]
fast region export -- don't call process()
Robin Gareus [Mon, 17 Oct 2016 19:22:32 +0000 (21:22 +0200)]
remove unused variable
Paul Davis [Mon, 17 Oct 2016 18:48:15 +0000 (14:48 -0400)]
fix potentially crash-inducing race condition by removing event loops' x-thread channel from an event loop when it is destroyed
Paul Davis [Mon, 17 Oct 2016 17:41:22 +0000 (13:41 -0400)]
remove debug output
Paul Davis [Mon, 17 Oct 2016 17:30:15 +0000 (13:30 -0400)]
propagate key press events through the widget heirarchy + custom ardour bindings, not just focus widget-then-global bindings
Paul Davis [Mon, 17 Oct 2016 17:19:42 +0000 (13:19 -0400)]
fix thinko in
d2835bc80 (re-enables mute, solo and likely other automation controls)
Robin Gareus [Mon, 17 Oct 2016 15:51:56 +0000 (17:51 +0200)]
fix typo + remove cruft.
Paul Davis [Fri, 14 Oct 2016 16:30:16 +0000 (12:30 -0400)]
add more DEBUG_TRACE statements for port/destruction debugging
Paul Davis [Fri, 14 Oct 2016 16:30:04 +0000 (12:30 -0400)]
convert cerr<< to DEBUG_TRACE
Paul Davis [Fri, 14 Oct 2016 16:28:38 +0000 (12:28 -0400)]
use existing method rather than inline code for pending port deletions
nick_m [Mon, 17 Oct 2016 15:14:15 +0000 (02:14 +1100)]
Initialize TempoMetric _pulse in sonstructor.
nick_m [Mon, 17 Oct 2016 15:12:33 +0000 (02:12 +1100)]
Music locked regions stay positive after tempo map change.
Robin Gareus [Sun, 16 Oct 2016 22:32:35 +0000 (00:32 +0200)]
ignore send buffers for which there's no return
This fixes an issue with Audio+Midi sends feeding into an audio only return.
Paul Davis [Sun, 16 Oct 2016 19:50:41 +0000 (15:50 -0400)]
improved and hopefully correct fix for "setting AutomationControl marks session dirty even when it should not, if in playback mode"
Hopefully comment is more explanatory as well.
Robin Gareus [Sun, 16 Oct 2016 19:27:07 +0000 (21:27 +0200)]
refine
29f604418, move selected track to left-edge (if possible)
nick_m [Sun, 16 Oct 2016 17:33:48 +0000 (04:33 +1100)]
Amend previous commit.
nick_m [Sun, 16 Oct 2016 17:23:43 +0000 (04:23 +1100)]
Set note colour of new MidiGhostRegions corrctly.
nick_m [Sun, 16 Oct 2016 16:19:02 +0000 (03:19 +1100)]
Performance: store NoteBase UIConfiguration colors between config changes.
Cumulative time in percent while wiggling the tempo lines rapidly.
Before:
MidiRegionview::update_sustained 12.02
NoteBase::base_color 6.43
MidiGhostRegion::update_note 3.12
Note::set 1.27
TempoMap::frame_at_quarter_note 0.59
_dynamic_cast 0.13
After:
MidiRegionview::update_sustained 10.49
MidiGhostRegion::update_note 5.57
Note::set 2.52
TempoMap::frame_at_quarter_note 1.13
NoteBase::base_color 0.17
_dynamic_cast 0.17
nick_m [Sun, 16 Oct 2016 15:25:16 +0000 (02:25 +1100)]
Fix region colors not updating on theme change.
nick_m [Sun, 16 Oct 2016 14:28:33 +0000 (01:28 +1100)]
Tempo curve cleanup, now also works on optimized builds.
Robin Gareus [Sat, 15 Oct 2016 21:16:09 +0000 (23:16 +0200)]
Mixer strip list: click to move strip into view
Robin Gareus [Sat, 15 Oct 2016 19:24:53 +0000 (21:24 +0200)]
Increase range of a-comp release time.
This facilitates ducking music for voice-overs w/o hold-time.
Robin Gareus [Sat, 15 Oct 2016 19:16:57 +0000 (21:16 +0200)]
Source and AudioSource Lua bindings
nick_m [Sat, 15 Oct 2016 18:09:49 +0000 (05:09 +1100)]
BBT duration clock can only compare musical times.
nick_m [Sat, 15 Oct 2016 16:50:14 +0000 (03:50 +1100)]
Minor cleanup (don't set pulse twice in Region::set_position()).
nick_m [Sat, 15 Oct 2016 16:47:10 +0000 (03:47 +1100)]
Fix various snap issues when dragging control points (AutomationRegionView).
nick_m [Sat, 15 Oct 2016 16:41:58 +0000 (03:41 +1100)]
Fix incorrect musical position in NoteDrag::total_dx.
nick_m [Sat, 15 Oct 2016 16:26:30 +0000 (03:26 +1100)]
AudioClock: remove duplicated code. amends
3a0a628a7
nick_m [Sat, 15 Oct 2016 16:11:05 +0000 (03:11 +1100)]
Slightly improve note update performance, fix note resizing for non-4.0 meter divisors.
nick_m [Sat, 15 Oct 2016 15:33:49 +0000 (02:33 +1100)]
Rework duration clock and TempoMap::insert_time to include meter at offset.
- should fix 7072
- also fixes scroll behavior over multiple tempi.
nick_m [Sat, 15 Oct 2016 12:50:02 +0000 (23:50 +1100)]
Note selection state uses note event_id_t.
nick_m [Sat, 15 Oct 2016 12:17:19 +0000 (23:17 +1100)]
Ensure correct initial automation region view position.
Robin Gareus [Sat, 15 Oct 2016 02:13:30 +0000 (04:13 +0200)]
Editor up/down arrow keys: snap to track (not 60px)
Robin Gareus [Fri, 14 Oct 2016 23:41:40 +0000 (01:41 +0200)]
Include session-utils with OSX bundles
Robin Gareus [Fri, 14 Oct 2016 20:58:59 +0000 (22:58 +0200)]
mixer left/right: snap to track
Robin Gareus [Fri, 14 Oct 2016 16:33:16 +0000 (18:33 +0200)]
include session-utils with windows bundles
Paul Davis [Fri, 14 Oct 2016 15:50:27 +0000 (11:50 -0400)]
remove debug output
Paul Davis [Fri, 14 Oct 2016 15:42:35 +0000 (11:42 -0400)]
much simpler implementation of fix originally in
c104c9d4726f3: don't call Session::set_dirty() or emit Changed() unless AutomationControl actually changes value
Paul Davis [Fri, 14 Oct 2016 15:16:42 +0000 (11:16 -0400)]
Revert "change return type of AutomationControl::actually_set_value() from void to bool, to indicate if value was changed."
This reverts commit
c104c9d4726f3ba1ecd352d13b88a57f2f964510.
Robin Gareus [Fri, 14 Oct 2016 14:07:30 +0000 (16:07 +0200)]
GUI to allow aux-send feedback loops
Robin Gareus [Fri, 14 Oct 2016 13:06:49 +0000 (15:06 +0200)]
allow feedback (loops) from internal sends
This facilitates custom "Echo" chains:
Bus 1 [FX] [aux-send to Bus 2] -> master
Bus 2 [FX] -> Bus 2
Robin Gareus [Thu, 13 Oct 2016 21:41:49 +0000 (23:41 +0200)]
fix math ambiguity & OSX compilation
cc121.cc: In member function 'void ArdourSurface::CC121::encoder_handler(MIDI::Parser&, MIDI::EventTwoBytes*)':
cc121.cc:413: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
/usr/include/architecture/i386/math.h:343: note: candidate 1: double pow(double, double)
/usr/include/c++/4.2.1/cmath:357: note: candidate 2: float std::pow(float, float)
Paul Davis [Thu, 13 Oct 2016 21:18:42 +0000 (17:18 -0400)]
new scheme for managing port deletion
shared_ptr<Port> now uses a deleter functor which pushes Port* to a lock-free FIFO so that the Port is
always deleted (and thus unregistered with the PortEngine/backend) in a safe context w.r.t. various
callbacks in the host. Currently the auto_connect_thread in Session has been tasked with doing these
deletions.
Paul Davis [Thu, 13 Oct 2016 21:11:38 +0000 (17:11 -0400)]
stop using gkd_pango_context_get() in ArdourCanvas::Canvas and require concrete instances to supply a Pango::Context; do this for GtkCanvas and Push2Canvas
Robin Gareus [Thu, 13 Oct 2016 17:57:50 +0000 (19:57 +0200)]
fix panner reset when switching to aux-sends -- fixes #6893
W.P. van Paassen [Wed, 12 Oct 2016 18:58:40 +0000 (20:58 +0200)]
Small improvement and change to comply with coding standard
W.P. van Paassen [Tue, 11 Oct 2016 17:21:21 +0000 (19:21 +0200)]
Inital support for Steinberg's CC121 control surface
Michiel de Roo [Thu, 15 Sep 2016 17:05:18 +0000 (19:05 +0200)]
OSC added plugin activate/deactivate
Robin Gareus [Thu, 13 Oct 2016 16:07:18 +0000 (18:07 +0200)]
handle blink-rec-arm change without application restart
Nil Geisweiller [Wed, 28 Sep 2016 20:09:46 +0000 (23:09 +0300)]
Add region position to note start in the midi list editor
Robert Scott [Thu, 6 Oct 2016 22:15:57 +0000 (17:15 -0500)]
Don't reset the audio tracks name when changing the channel configuration.
cooltehno [Wed, 12 Oct 2016 22:11:39 +0000 (02:11 +0400)]
Update cubasish-ardour.colors
file:///home/cooltehno/DATA/ARDOUR_EXP/.темы/3_cubasish/cor_131016.jpg
This commit changes the clip indicator from white to red coloured (from "color 9" to "color 55"). Also the "color 55" is changing from orange (f85813) to maximum bright red color (ff0009)
Robin Gareus [Thu, 13 Oct 2016 14:04:28 +0000 (16:04 +0200)]
Allow a LV2 plugin to mark the session dirty
If some plugin-internal state changes (GUI <> Plugin e.g. load a sample)
no ports change and the host does not know that the plugin state has
changed. The session may be closed without save.
This is a prototype using an ardour.org URI, pending upstream lv2plug.in
nick_m [Thu, 13 Oct 2016 03:26:54 +0000 (14:26 +1100)]
Improve check in tempoAtPulseTest
nick_m [Thu, 13 Oct 2016 03:14:27 +0000 (14:14 +1100)]
Fix ramp test, add tempoAtPulseTest.
Robin Gareus [Thu, 13 Oct 2016 00:07:08 +0000 (02:07 +0200)]
Allow opening sessions with files embedded from removable drives
Otherwise Windows shows a critical error for files embedded from
removable devices.
Paul Davis [Wed, 12 Oct 2016 21:26:46 +0000 (17:26 -0400)]
change return type of AutomationControl::actually_set_value() from void to bool, to indicate if value was changed.
Don't call Session::set_dirty() when no change occurs
Paul Davis [Wed, 12 Oct 2016 19:50:30 +0000 (15:50 -0400)]
peak level numeric display now uses "clip indicator" for base color, not "bright indicator"
Should address #7010
Paul Davis [Wed, 12 Oct 2016 19:43:47 +0000 (15:43 -0400)]
add gtk_clip_indicator as a separate color from gtk_bright_indicator
Nathan Stewart [Sun, 9 Oct 2016 12:26:59 +0000 (08:26 -0400)]
Fixed array index out of bounds in Push2Menu::set_active()
Nathan Stewart [Tue, 11 Oct 2016 15:07:17 +0000 (11:07 -0400)]
Fixes minor memory leak found in color_theme_manager.cpp:326
Nathan Stewart [Wed, 12 Oct 2016 03:07:52 +0000 (23:07 -0400)]
map::clear() calls erase. Cleans up cpp check warning 'iterator used after element has been erased'
Robin Gareus [Wed, 12 Oct 2016 18:08:39 +0000 (20:08 +0200)]
Clarify documentation of Lua inter-processor communication
Robin Gareus [Tue, 11 Oct 2016 20:57:38 +0000 (22:57 +0200)]
cleaner version of
feed9648 -- fixes #7067
Robin Gareus [Tue, 11 Oct 2016 20:54:21 +0000 (22:54 +0200)]
Revert "Allow loading sessions with missing external files #7067"
This reverts commit
feed9648e19f5750b102a161a1028bb143ea16c5.
Robin Gareus [Tue, 11 Oct 2016 20:05:27 +0000 (22:05 +0200)]
Allow loading sessions with missing external files #7067
The issue was introduced in
dbf86a495b, forcing must_exist = true
for *all* files that have a absolute _origin, including stub
SilentFileSources.
If an external file is no longer available and a user chooses to
"ignore, skip" an SilentFile is created instead of the actual source,
The SilentFileSource has the same XML state which includes _origin.
ARDOUR::SilentFileSource::SilentFileSource () c'tor calls
AudioFileSource::AudioFileSource (,.., must_exit = false)
but since the file has an absolute _origin, the AudioFileSource c'tor sets
must_exist = true; throws and the session cannot be loaded.
Robin Gareus [Tue, 11 Oct 2016 17:55:35 +0000 (19:55 +0200)]
add missing symbol for windows compile
Robin Gareus [Tue, 11 Oct 2016 12:09:54 +0000 (14:09 +0200)]
cater for Note translations. e.g. "Ré ♯" UTF-8
Robin Gareus [Tue, 11 Oct 2016 00:20:26 +0000 (02:20 +0200)]
Bundle session-scripts for linux builds
Robin Gareus [Mon, 10 Oct 2016 22:29:56 +0000 (00:29 +0200)]
Hide Dummy backend from optimized release builds
Prepare to bundle session-utils with releases.
Session-utils use libardour which needs an Engine. "Dummy" is the only
engine that always works