Commit Graph

12147 Commits

Author SHA1 Message Date
Paul Davis
fc69b29c88 avoid crazy costs of looking up and constructing color modifier every time, and cache color values for MIDI notes 2018-07-06 07:57:19 -04:00
Paul Davis
2d40773755 apply commit cbe458addd to all other themes 2018-07-05 16:59:10 -04:00
Paul Davis
b0e496c825 remove more unused MIDI note colors 2018-07-05 16:52:49 -04:00
Robin Gareus
cbe458addd update dark-theme midi-velocity + midi-meter colors
This matches the previous editor velocity colors: green..yellow..orange
2018-07-05 22:44:07 +02:00
Paul Davis
0b8f57f762 retire no-longer used color names for MIDI notes 2018-07-05 16:26:40 -04:00
Paul Davis
631b8f1b6b fix interpolation math error 2018-07-05 15:01:55 -04:00
Paul Davis
44c40bc065 use MIDI meter colors (themeable) to show MIDI note velocity.
Selected notes no longer show the selected color for fill, following Alex
Mitchell's proof-of-concept patch that showed it was easier to see what you're
doing when the fill color shows velocity and we just use outline for selection
status.
2018-07-05 14:56:56 -04:00
Paul Davis
db5377da46 move velocity display options under Appearance/Editor 2018-07-03 21:27:21 -04:00
Paul Davis
870fe055cf make use-note-color-for-velocity much much more efficient
(by not invoking the global color change signal)
2018-07-03 18:33:11 -04:00
Paul Davis
b1ad462a7a respond to changes in use-note-color-for-velocity 2018-07-03 17:02:20 -04:00
Paul Davis
38b499a8f0 permit editing velocity bars option 2018-07-03 15:39:28 -04:00
Paul Davis
20328f2929 set up core stuff for velocity display option 2018-07-03 14:06:25 -04:00
Paul Davis
a1df752095 call Note::set_velocity() at an appropriate time 2018-07-03 11:28:01 -04:00
Paul Davis
644a05f60b use new Canvas::Note object for (sustained) note display 2018-07-03 11:21:53 -04:00
Johannes Mueller
f647ac7dae Allow plugin inline displays to shrink
Plugin inline displays were forbidden to shrink as this might cause a deadlock
when the shrinkage causes the scrollbar to disappear.

display shrink → scrollbar unneeded → scrollbar disappears →
more horizontal space -> display grows -> scrollbar appears →
less horizontal space -> display shrink and so forth

This was formerly avoided by not allowing display shrinkage.

The solution proposed here sets the maximum height of the display to the
current height, if a scrollbar is present during resizing and has not been
present during the last resizing. So if this scrollbar disappears (after
resizing it might no longer be needed), the display would have the possibility
to grow, but it does not grow vertically as the maximum height is limited to
the current height.
2018-06-20 21:06:16 +02:00
Johannes Mueller
e6a6778466 Revert frame -> sample changes where it's a frame as in Gtk::Frame 2018-06-19 20:17:40 +02:00
Paul Davis
3a6d7ba321 context menus should have accelerators 2018-06-14 17:30:14 -04:00
Ben Loftis
7fbbfc0729 Allow snapping to the start of the video timeline. (should work, but needs testing on a machine with harvid). 2018-06-08 16:12:35 -05:00
John Emmas
c79d0c1a9b NO-OP: Modify a #include (purely for consistency) 2018-06-04 10:43:19 +01:00
Paul Davis
f448041ec0 no error logging for CURL HTTP requests; future callers can request it if necessary 2018-06-02 13:24:31 -04:00
Nikolaus Gullotta
29aba34d1c moving singen and noisegen from mixbus repo to ardour + change singen display and add noisegen display 2018-06-01 09:55:41 -05:00
Nikolaus Gullotta
112a1ab1c4 add Gtk::ColorButton widget to LuaDialog and add ability to change multiple route colors at a time 2018-06-01 09:55:25 -05:00
Paul Davis
1e5813cf18 no actual error messages when curl requests fail 2018-05-23 23:08:13 -04:00
Robin Gareus
7e78d1c786 Display profile-data in generic plugin-UI. 2018-05-17 22:15:07 +02:00
Ben Loftis
41cf86cb9f Playhead to Grid: handle case where PH is rolling, and we are prevented from skipping backwards sensibly. 2018-05-17 15:01:09 -05:00
Ben Loftis
10add0fbb9 Quantize Dialog: Use same grid names as the main grid. (1/16 Note instead of Beats/4) 2018-05-15 09:53:54 -05:00
Ben Loftis
db98341d4d Quantize Dialog: Fix quantize-to-main-grid selection. Was checking against incorrect menu entry string. 2018-05-15 09:53:44 -05:00
Ben Loftis
131c545a3c Plugin Ordering: PluginStatusChanged signal went missing. This fixes breakage in drag+drop and live status-updates from the Plugin Manager window. 2018-05-08 16:12:15 -05:00
Ben Loftis
811aed2be5 Remove debug printout. 2018-05-08 13:27:01 -05:00
Ben Loftis
f5bbbe321c Plugin Order: Use the new plugin_manager function to save plugin order. 2018-05-08 13:26:08 -05:00
Ben Loftis
c074c7ce52 playhead_X_to_grid: Handle the case of GridTypeNone 2018-05-08 09:03:20 -05:00
Ben Loftis
a5d90c3d9d Arrow keys (playhead_x_to_grid()) should move the view along with it. This is more consistent with jog-wheel operation, which has proven to work nicely. 2018-05-08 08:45:22 -05:00
Ben Loftis
e83301daaa Replace the check for SnapPref, which went missing. Some functions (like playhead_to_next_grid) can request GridOnly. 2018-05-08 08:43:44 -05:00
Robin Gareus
f69938a9c4 Add option to disable plotting collected signal in analysis. 2018-04-30 22:24:35 +02:00
Robin Gareus
cc5e758a08 Fix plugin analysis for some VST and AU Plugins.
set_block_size() implies plugin deactivate(), activate() calls
to re-initialize AU and VST plugins. So plugins will reset the
internal state and not immediately respond correctly.
Some plugins zero the output or ramp up internally, leading the analyzer
to show invalid or random/uncorrelated information.

This avoid periodic calls to de/activate()
2018-04-13 23:19:13 +02:00
Damien Zammit
e0947579b9 pt import: Add commented out code for inserting silent missing sources
- Disabled due to ptformat not knowing the length of sources
- Added MIDI region/track summary information to dialog
2018-04-08 15:31:52 +10:00
Julien "_FrnchFrgg_" RIVAUD
ca0e4f2e32 Fix a French translation
It conveyed the idea of continuous silencing as long as the transport
is in a stopped state. Make it correctly mean a one-shot reset when the
transport is being stopped.
2018-03-30 20:55:56 +02:00
Paul Davis
5132a6c2eb fix undo/redo for duplicate-regions in ripple mode
Also fix duplicate of multiple regions in the same track, and change "gap" variable
name to "span" for greater clarity
2018-03-28 14:24:21 -04:00
Robin Gareus
1de68d7917 Sparse update for granular controls on sliders
Don't call ::set_value() if the actual value has not changed.
e.g. MIDI-CC or integer controls. Moving the Bar-controller was able to
create events even though the actual value remained unchanged.

This check has to be done UI-side, since the underlying API is also used
for state-restore and automation. e.g.
"old value" (user-set) may be default "0", "new value" may also be "0" but
libardour still needs to send an event (a synth's internal state may not
default to "0")
2018-03-28 00:18:13 +02:00
Paul Davis
9840f84830 duplicate (regions) should honor ripple edit mode 2018-03-27 10:19:12 -04:00
Robin Gareus
929cea9ef4 Remove debug message and trailing whitespace 2018-03-27 15:30:48 +02:00
Robin Gareus
a4df6e565b Fix MIDI-port info in plugin-manager 2018-03-24 20:05:17 +01:00
Robin Gareus
e7f6eff84b Fix crash when re-assigning groups to a disjunct set.
Drag a group-tab's right-edge horizontally to the right to remove all
current routes from the groups before adding new routes to the group.

The group becomes temporarily empty, and
Session::route_removed_from_route_group() removes the group (before new
routes can be added).
2018-03-20 18:08:12 +01:00
Robin Gareus
3ee2c3d632 Lua is not an acronym 2018-03-19 18:18:35 +01:00
Robin Gareus
efbfbb8330 Speed up plugin-selector refill.
* Detach model from treeview and disable sorting during refill.
* Prevent multiple re-fills due to sensitivity updates of ComboBoxes:
  gtk_widget_set_sensitive() -> CairoWidget::on_state_changed ()
  -> CairoWidget::set_visual_state () ->  StateChanged Signal
2018-03-19 18:13:37 +01:00
Robin Gareus
ecb6e7fcfe Fix "Shortcut" special-case in the script-selector.
The Script-selector is used in various places, not just for
Action-scripts.

Also add a "--" prefix for the separator to avoid name conflicts with
actual script names.
2018-03-19 15:43:07 +01:00
Damien Zammit
5e2d5db6c7 Fix midi track mapping on pt import 2018-03-18 11:41:54 +11:00
Robin Gareus
c2ed125b8d Remove another C++11 construct (local struct) from UI code 2018-03-17 20:00:08 +01:00
Robin Gareus
37e5b705e7 Fix wrong "_nth_" replacement in ba202cc09 2018-03-17 18:17:25 +01:00
Robin Gareus
ba202cc095 Don't alter, use and rely on selection for PT import 2018-03-17 17:32:29 +01:00