13
0
Commit Graph

22571 Commits

Author SHA1 Message Date
8357775fbb further work on a MIDI port functionality dialog 2016-10-18 18:01:03 -04:00
e6ff4d8455 Add tooltip info for inline-display 2016-10-18 23:40:14 +02:00
1d39500e64 beginnings of a tab in Audio/MIDI setup to manage MIDI port functionality 2016-10-18 16:56:35 -04:00
c74ce58d1a remove unnecessary and now impossible #include 2016-10-18 16:56:28 -04:00
9c98e577d0 remove unusued and useless midi_port_dialog.{cc,h} files 2016-10-18 16:53:54 -04:00
d29d93f4cd fix retrieval of port properties (metadata) when the value has no type 2016-10-18 16:46:33 -04:00
6bf65dd21d fix link in manpage 2016-10-18 22:26:23 +02:00
389cacab11 Processor box interaction:
Allow to toggle inline display with tertiary + double-click.
also fix tooltip and fix inconsistent modifiers on inline display.
2016-10-18 22:26:23 +02:00
nick_m
115bc84c27 Tempo lines drawing performance tweak. 2016-10-19 05:56:26 +11:00
nick_m
f8d5a6b3b6 Tempo line tweaks.
- ensure lines don't get too dense in the all bars case.

	- never draw tick divisions in the all bar case.
2016-10-19 05:10:15 +11:00
nick_m
715b178130 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.
2016-10-19 03:56:43 +11:00
208cb967e5 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.
2016-10-17 20:22:26 -04:00
94f8b7b8f2 Clean up MIDI debugging output 2016-10-17 20:22:26 -04:00
69cbcb84a6 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
2016-10-17 17:57:39 -04:00
c43046320b reset peak meters used in push2 when stripable goes away 2016-10-17 15:58:39 -04:00
687ac2d294 remove unused variable 2016-10-17 15:58:39 -04:00
Nathan Stewart
84c66c75db Initialize uninitialized member variables in ctor - warning suppression 2016-10-17 15:58:39 -04:00
3e32a00a52 fast region export -- don't call process() 2016-10-17 21:35:00 +02:00
551eea452b remove unused variable 2016-10-17 21:35:00 +02:00
8519677a24 fix potentially crash-inducing race condition by removing event loops' x-thread channel from an event loop when it is destroyed 2016-10-17 14:48:15 -04:00
157253c2c6 remove debug output 2016-10-17 13:41:22 -04:00
a127cb35b5 propagate key press events through the widget heirarchy + custom ardour bindings, not just focus widget-then-global bindings 2016-10-17 13:30:15 -04:00
9a3c1dbfe7 fix thinko in d2835bc80 (re-enables mute, solo and likely other automation controls) 2016-10-17 13:20:03 -04:00
39cad9ac00 fix typo + remove cruft. 2016-10-17 17:57:11 +02:00
5b22e67387 add more DEBUG_TRACE statements for port/destruction debugging 2016-10-17 11:16:07 -04:00
2c2ce7aa55 convert cerr<< to DEBUG_TRACE 2016-10-17 11:16:07 -04:00
1fd7ec58cd use existing method rather than inline code for pending port deletions 2016-10-17 11:16:07 -04:00
nick_m
46d137414b Initialize TempoMetric _pulse in sonstructor. 2016-10-18 02:14:15 +11:00
nick_m
0585393989 Music locked regions stay positive after tempo map change. 2016-10-18 02:12:33 +11:00
466141229f ignore send buffers for which there's no return
This fixes an issue with Audio+Midi sends feeding into an audio only return.
2016-10-17 00:33:02 +02:00
d2835bc802 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.
2016-10-16 15:51:50 -04:00
7e5e95d7db refine 29f604418, move selected track to left-edge (if possible) 2016-10-16 21:27:30 +02:00
nick_m
1c9dbb5242 Amend previous commit. 2016-10-17 04:33:48 +11:00
nick_m
2359a0b2fa Set note colour of new MidiGhostRegions corrctly. 2016-10-17 04:23:43 +11:00
nick_m
bf5933add6 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
2016-10-17 03:19:02 +11:00
nick_m
bcea5fc9d3 Fix region colors not updating on theme change. 2016-10-17 02:25:16 +11:00
nick_m
92920307ae Tempo curve cleanup, now also works on optimized builds. 2016-10-17 01:28:33 +11:00
29f6044180 Mixer strip list: click to move strip into view 2016-10-15 23:16:09 +02:00
f52443e17e Increase range of a-comp release time.
This facilitates ducking music for voice-overs w/o hold-time.
2016-10-15 21:27:29 +02:00
07ee9b6164 Source and AudioSource Lua bindings 2016-10-15 21:27:29 +02:00
nick_m
a32aea4201 BBT duration clock can only compare musical times. 2016-10-16 05:09:49 +11:00
nick_m
8ae0c1b36c Minor cleanup (don't set pulse twice in Region::set_position()). 2016-10-16 03:50:14 +11:00
nick_m
0b50945484 Fix various snap issues when dragging control points (AutomationRegionView). 2016-10-16 03:47:10 +11:00
nick_m
2c844552a7 Fix incorrect musical position in NoteDrag::total_dx. 2016-10-16 03:41:58 +11:00
nick_m
50963a03c2 AudioClock: remove duplicated code. amends 3a0a628a7 2016-10-16 03:26:30 +11:00
nick_m
1692968627 Slightly improve note update performance, fix note resizing for non-4.0 meter divisors. 2016-10-16 03:11:05 +11:00
nick_m
3a0a628a75 Rework duration clock and TempoMap::insert_time to include meter at offset.
- should fix 7072

	- also fixes scroll behavior over multiple tempi.
2016-10-16 02:33:49 +11:00
nick_m
9698f16aee Note selection state uses note event_id_t. 2016-10-15 23:50:02 +11:00
nick_m
7da51b9792 Ensure correct initial automation region view position. 2016-10-15 23:17:19 +11:00
2606b81d04 Editor up/down arrow keys: snap to track (not 60px) 2016-10-15 04:13:30 +02:00