Commit graph

11244 commits

Author SHA1 Message Date
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
Robin Gareus
551eea452b remove unused variable 2016-10-17 21:35:00 +02:00
Paul Davis
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
Robin Gareus
39cad9ac00 fix typo + remove cruft. 2016-10-17 17:57:11 +02:00
Robin Gareus
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
Robin Gareus
29f6044180 Mixer strip list: click to move strip into view 2016-10-15 23:16:09 +02:00
nick_m
a32aea4201 BBT duration clock can only compare musical times. 2016-10-16 05:09:49 +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
Robin Gareus
2606b81d04 Editor up/down arrow keys: snap to track (not 60px) 2016-10-15 04:13:30 +02:00
Robin Gareus
4251747760 mixer left/right: snap to track 2016-10-14 22:58:59 +02:00
Robin Gareus
a4ad0a90d1 GUI to allow aux-send feedback loops 2016-10-14 16:07:30 +02:00
W.P. van Paassen
5a3fe4aa20 Inital support for Steinberg's CC121 control surface 2016-10-13 12:10:39 -04:00
Robin Gareus
24eaec1fa8 handle blink-rec-arm change without application restart 2016-10-13 18:07:41 +02:00
Nil Geisweiller
651fb79818 Add region position to note start in the midi list editor 2016-10-13 12:06:38 -04:00
Robert Scott
8098c7785f Don't reset the audio tracks name when changing the channel configuration. 2016-10-13 12:05:28 -04:00
cooltehno
c087b7ab30 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)
2016-10-13 12:02:02 -04:00
Paul Davis
27cff39dc7 peak level numeric display now uses "clip indicator" for base color, not "bright indicator"
Should address #7010
2016-10-12 15:50:30 -04:00
Paul Davis
4bfe707342 add gtk_clip_indicator as a separate color from gtk_bright_indicator 2016-10-12 15:43:47 -04:00
Nathan Stewart
114bc97f94 Fixes minor memory leak found in color_theme_manager.cpp:326 2016-10-12 14:50:03 -04:00
Robin Gareus
688eb2883f allow to run single tests from ./artest 2016-10-11 00:03:18 +02:00
nick_m
4faf44588f Interpret start & length_beats properties as double rather than Evoral::Beats.
- Evoral::Beats operator!= would prevent an increment
	  of start_beats by intervals of less than a tick,
	  so its possible that other subtle problems
	  existed due to this kind of thing.
2016-10-10 03:39:57 +11:00
nick_m
2f72b42385 TempoSection methods deal in beats rather than pulses per minute.
- removes note type from curve function for a slightly more
	  accurate result.
2016-10-09 03:46:50 +11:00
nick_m
a54d105107 Use double comparison in MidiRegionView::note_in_region_range(). 2016-10-09 03:24:14 +11:00
Nathan Stewart
59cc0a11ca Clean up cppcheck warnings about handling of allocated memory in SysEx class 2016-10-07 19:49:00 +02:00
Robin Gareus
f71ad74ca7 update LuaWindow output on-the-go (allow progress print) 2016-10-06 18:35:29 +02:00
Robin Gareus
70b580a4b4 Hold ctrl + click "open" session -> safe mode
This allows to hide the "Safe Mode" checkbox.
2016-10-06 17:42:46 +02:00
Robin Gareus
b63babbc3d sort instrument list alphabetically 2016-10-06 13:57:58 +02:00
Robin Gareus
2a27cc4758 GUI support for type-0/1 SMF import (display channel/track count)
This needs further work:

Type-1 SMF are always
   "One [Ardour] track per [MIDI] track"

Only type-0 SMF have the option
   "One [Ardour] track per [MIDI] channel"
and
   "One [Ardour] track per [MIDI] file"


This is ambiguous with multi-channel audio or multiple selection,
mixed audio+midi and worse with mixed type0/1 .mid selection.

This calls for a dedicated dropdown to select MIDI Import Disposition
for type-0 SMF.
2016-10-05 21:01:21 +02:00
Robin Gareus
b233a56a80 fix interface - proessor_selection is not a Lua C-Function 2016-10-05 01:14:43 +02:00
Kamil Rytarowski
f9c83a04f1 Fix ldd(1) parsing on NetBSD
* NetBSD

$ ldd /bin/cat
/bin/cat:
        -lc.12 => /lib/libc.so.12

 * Linux

$ ldd /usr/bin/cat
        linux-vdso.so.1 =>  (0x0000726abb373000)
        libc.so.6 => /lib64/libc.so.6 (0x0000726abafa7000)
        /lib64/ld-linux-x86-64.so.2 (0x0000726abb374000)
2016-10-04 22:15:33 +02:00
Ben Loftis
07acc1dfa6 revert previous unintended commit 2016-09-30 10:59:14 -05:00
Ben Loftis
ea10f0a53e fix: using arrow-keys on selected mixer strips would recursively affect grouped faders 2016-09-30 10:52:46 -05:00
Robin Gareus
3d256ff2c2 Constrain Samplerate selection when session is loaded
Ardour does not allow to change the rate of a session itself.
2016-09-30 16:50:00 +02:00
Robin Gareus
7f8ec25e25 fix sample-rate display: show active (not desired) rate 2016-09-30 16:50:00 +02:00
Tim Mayberry
2637aaee23 Fix finding of splash file and display in About dialog 2016-09-30 22:37:00 +10:00
Robin Gareus
10d05f0ee3 some Collaborative Albums from the early 80's 2016-09-29 20:46:23 +02:00
Paul Davis
587439acf8 fix crash on OS X el capitan when using command line arguments 2016-09-29 13:05:38 -04:00
Paul Davis
1f88b6d35f make error dump on stderr slightly more obvious 2016-09-28 11:28:45 -05:00