summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_controller.cc
AgeCommit message (Collapse)Author
2017-07-24Remove unused "mark" parameter from stop_touch() APIRobin Gareus
2017-07-24Start/end touch for generic-UI knob and proc-box inline ctrlsRobin Gareus
2017-07-17Move Gtkmm2ext widgets into libwidgetRobin Gareus
2017-07-17Separate Ardour UI widgets into dedicated libraryRobin Gareus
2017-07-16Remove Timers to watch Controllable valuesRobin Gareus
Depend on Changed() signals alone, which are usually much less frequent than rapid-timer events. As side-effect we now need to make the widgets insensitive when playing automation. Previously the user could not change the value because the Timer periodically reset it.
2017-06-09Update GUI, drop Automatable::value_as_string() APIRobin Gareus
2017-03-24Revert "consistent use of context-menu popups"Robin Gareus
This reverts commit b3722f7063699fafd0421d504e05a7300c70e0ec. In some cases ardour shows context-menu on right-mouse-button release. In this case selecting a menu-entry should happen with the left-mouse button (or any button?!) Using ev->button is only correct if the menu is temporary and only visible while the button is held, button release then activates the menu-item. This needs further work, in some cases allowing any button (0) to work makes sense and overall consistency needs to be improved. Different places use different strategies for context-menus which don't always match the button used in the event-handler. This is a hotfix (to make TAV context menus work again with left-click)
2017-03-16consistent use of context-menu popupsRobin Gareus
2017-03-01Fix implicit selection when operating track-header ctrl buttonsRobin Gareus
Stop event propagation. Otherwise, on release the event is passed up and handled by the TAV which scrolls the editor viewpoint and the button is no longer under the mouse.
2017-02-28Fix touching mute automation (mostly)Robin Gareus
controllable->set_value() from GUI context will eventually queue a session-rt command. By the time the realtime command runs, the controllable needs to be in "touch" mode. The AutomationController "toggle" UI worked around this by directly using the underlying API (ignoring slaved-controls and ignoring groups). The RouteUI's GUI wasn't able to write mute-automation at all. This commit is a compromise: press + hold (touch) + release button. (it may need further special-casing for _desc.toggled in AutomationControl::actually_set_value(), also undoing automation-writes is currently not working correctly)
2017-02-21PBD::Signal<...>::connect() is already thread safe, so drop intermediate ↵Paul Davis
proxy/call_slot() invocation in handling Controllable::Changed within AutomationController
2016-11-11rename Tempo _beats_per_minute to _note_types_per_minute, provide pulse helpers.nick_m
- adds quarter_notes_per_minute(), note_divisions_per_minute (double) pulses_per_minute() and frames_per_quarter_note() - this should be a no-op except for the use of tempo by the vst callback which definitely uses quarter notes per minute. - the XML node for TempoSection named 'beats-per-minute' has been renamed.
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-07-04Replace Gtk::ToggleButton with ArdourButton in Generic Plugin GUIRobin Gareus
2016-07-04allow AutomatoinContoller to render as Knob instead of Slider.Robin Gareus
2016-05-27Tempo ramps - rename tempo_at() -> tempo_at_frame().. 3 decimals for the ↵nick_m
audioclock tempo display.
2016-03-07fix stuck touch modeRobin Gareus
previously the GUI locked out control surfaces (touch was never released).
2016-03-07remove unused GUI signals (confusing dup. name)Robin Gareus
2016-01-02change Controllable::set_value() API to include grouped control consideration.Paul Davis
This also removes Route::group_gain_control() and associated machinery. Not yet tested with Mackie or other surfaces. More work to done to start using the group capabilities, and also potentially to add or derive more controls as RouteAutomationControls
2015-10-20Set toggled automation controller using a double.nick_m
2015-10-20Automation - more toggled controller twiddling.nick_m
2015-10-20Make automation record undo per pass rather than per touch.nick_m
2015-10-20Toggled automation fixes.nick_m
- don't attempt to insert two points on toggle. - remove forced touch->write mode change on toggle - initial state still wrong, but works much better overall.
2015-09-16Remove ardour_ui.h header inclusionTim Mayberry
2015-06-17Automation -use editor_add in gui, record straight lines with fewer points.nick_m
- don't keep setting/unsetting write pass when transport frame remains the same (think larger jack buffer sizes) - insert guards are now 64 frames after when. - refactor previous approach.
2015-04-10allow MIDI bindings for boolean automationRobin Gareus
2015-04-02use plural form for menu itemPaul Davis
2015-03-08avoid non-integer loop conditions.Robin Gareus
2015-01-01Move Timers/Timeouts from ARDOUR_UI into functions in timers.h and use ↵Tim Mayberry
PBD::Timers
2014-12-04Make gain controls step by roughly 1.0/0.1 dB.David Robillard
Shoot for roughly 30 steps for all controls. Always keep sensible step information in ParameterDescriptor and just convert for the UI. This is a little weird, but it's less weird than it was before, and works.
2014-12-01Fix automation write/touch.David Robillard
2014-11-30gtk interface update for controller step/page sizeRobin Gareus
2014-11-29Fix write for boolean automation.David Robillard
2014-11-29show values on faders (fixes bug in 55c6165)Robin Gareus
2014-11-28Use a button as controller for toggled parameters.David Robillard
2014-11-03Check whether frequency controls are audible or low and provide appropriate ↵David Robillard
controls. Always clamp set value to controller range.
2014-11-03Add menu to set frequency controls in beats, and half or double current value.David Robillard
Test with e.g. fomp:cs_phaser1_lfo LFO frequency.
2014-11-03Note selector dialog for note controls.David Robillard
2014-11-02Automation of LV2 plugin properties.David Robillard
Work towards ParameterDescriptor being used more universally to describe control characteristics.
2014-11-01NOOP, just whitespace/indentingRobin Gareus
2014-11-01convert interface <> internal values for all automationRobin Gareus
fixes Send-Fader, Gain-Automation and various Plugin-Slider ranges
2014-10-16fix midi automation slidersRobin Gareus
Allow controls to work without a list. see also 34c1465 and b469cd2
2014-09-18plugin widgets were written to use Internal values, so use that for nowBen Loftis
2014-09-03consolidate some slider styles, and make bg darkerBen Loftis
2014-09-02prepare Slider API cleanupRobin Gareus
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2012-06-11Remove unused method.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12649 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24Remove over 500 unnecessary includes (including 54 of session.h).David Robillard
It's slightly possible that this causes trivial build failures on different configurations, but otherwise shouldn't cause any problems (i.e. no actual changes other than include/naming/namespace stuff). I deliberately avoided removing libardour-config.h since this can mysteriously break things, though a few of those do seem to be unnecessary. This commit only targets includes of ardour/*.h. There is also a very large number of unnecessary includes of stuff in gtk2_ardour; tackling that should also give a big improvement in build time when things are modified. git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-27Display amp automation in dB using a logarithmic fader.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11535 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-21Reinstate user Controllable values, as they are neededCarl Hetherington
for gain (which I forgot about). git-svn-id: svn://localhost/ardour2/branches/3.0@11293 d708f5d6-7413-0410-9779-e7cbd77b26cf