summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_line.cc
AgeCommit message (Collapse)Author
2020-05-20Speed up automation lane removal with many ctrl points6.0-rc2Robin Gareus
Deleting the group first, directly removes child items without triggering Canvas::item_changed() for every item. This significantly speeds up closing sessions (or deleting tracks) with lots of automation events.
2019-12-14Make BusSendLevel 1st class citizen (2/2)Robin Gareus
2019-11-02rename all Evoral source from .(hpp|cpp)$ to .(h|cc)Paul Davis
2019-08-03Update GPL boilerplate and (C)Robin Gareus
Copyright-holder and year information is extracted from git log. git history begins in 2005. So (C) from 1998..2005 is lost. Also some (C) assignment of commits where the committer didn't use --author.
2017-10-03Fix MIDI Automation interpolation optionsRobin Gareus
2017-09-18globally change all use of "frame" to refer to audio into "sample".Paul Davis
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible
2017-09-18Revert "Temporary session-format compatibility (revert before release)"Robin Gareus
This reverts commit 8cd8cb165037906d5a35c8e147785845d0f4f808.
2017-07-24Drags are such a drag.Robin Gareus
2017-07-17Clean up library inheritance (colors.h, utils.h)Robin Gareus
make libwidget independent of libcanvas. Confine basics to pbd and gtkmm2ext.
2017-06-21Temporary session-format compatibility (revert before release)Robin Gareus
Saving the new ControlList interpolation methods (enum) breaks loading the session in older version. The session-format version will need to be increased. Until then: * Fader automation + region gain envelope uses linear fades * The automation-line visible in the GUI does not match the actual fade (the y-axis is log/exp-scale, the fade is linear) * Adding new points on the line is not using the correct initial value * Custom changes of interpolation mode are not available Neither of these issues is a regression.
2017-06-21Log-scale/relative automation point draggingRobin Gareus
2017-06-21update GUI to use new APIsRobin Gareus
2017-06-21GUI: prepare for API changesRobin Gareus
remove use of - unbound_min/max - list->default_value and min/max_y
2017-01-12allow automation line fill opacity to be theme-ableBen Loftis
2017-01-09clamp values appropriately in AutomationLine::view_to_model_y()Paul Davis
Before this, drags from one automation track to another could add illegal/stupid values to an automation line. Presumably there needs to be another bounds check in ControlList
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-07-05highlight area below automation lanesRobin Gareus
2016-06-05tweak API of SelectablePaul Davis
2016-05-27Tempo ramps - rename meter_at() -> meter_at_frame() & make the ticker ↵nick_m
slightly more efficient.
2016-05-27Tempo ramps - rename tempo_at() -> tempo_at_frame().. 3 decimals for the ↵nick_m
audioclock tempo display.
2015-10-27another log-scale automation fixRobin Gareus
2015-10-28AutomationLine::drag_motion () returns any clamped fractions correctly.nick_m
2015-10-28Fix incorrectly placed control points (y-axis). fixes #6647.nick_m
- also use the return from AutomationLine::drag_motion () in anticipation of it correctly reporting its clamping to AutomationRangeDrag.
2015-10-20Select the control point about to be deleted when using shift + right click.nick_m
- fixes incorrect selection changes when doing this.
2015-10-05remove unused fstream includesRobin Gareus
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-09-16Move UIConfiguration Singleton into UIConfiguration headerTim Mayberry
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-05fix log-scale for automation lanes.Robin Gareus
2015-09-05don't use gain-mapping (verbose-cursor) for plugin params.Robin Gareus
2015-06-21Automation selection fixes.nick_m
- display selected comtrol points in region gain lines - display selected points in internal edit mode - allow dragging of region gain lines in MouseContent mode
2015-06-19Don't begin command on start_grab for AutomationRangeDrag and NoteResizeDragnick_m
- fixes a crash when clicking to resize without movement. - minor readability fix for _drag_had_movement
2015-06-17More _reversible_command() auditing in the gui.nick_m
- try to keep begin/commit pairs in the same file where possible.
2015-04-26fix verbose cursor for db automation.Robin Gareus
2015-04-25fix automation lane for dB ranges other than fader.Robin Gareus
2015-04-25Trim Automation UIRobin Gareus
2015-03-26Clam points to valid values on drag end.David Robillard
Fixes bug #6214. It would be better to do this while dragging, but this would require rewriting much of the drag code to keep track of a cumulative y delta since the current position of points would be "sticky" and prevent any movement at all, so this will have to do for now.
2015-03-26Keep automation lines within their parent (#6215).David Robillard
2015-01-11Fix AutomationTrackItem rubberband click thinking it was unhandled.nick_m
Fix several other cases where a single mouse click could cause several (not nested) selection ops. Fix missing selection memento for midi notes and midi commands. Rename some variables. Fix random style issues.
2014-12-18Add editor selection state to session history via a SelectionMemento, whichnick_m
combines selection related editor properties with the current editor selection. The related editor properties are: mouse mode, zoom setting, left frame of the canvas, y origin of the canvas. Selection state now includes region views (storing the underlying region id) and time. This patch also fixes a region mute undo bug.
2014-12-14fixed merge conflictPaul Davis
2014-12-01Remove unused method.David Robillard
2014-12-01Make it compile with C++11 support.Julien de Kozak
Reference : https://bugs.webkit.org/show_bug.cgi?id=59249
2014-11-29Somewhat working gain automation.David Robillard
This probably isn't correct in several ways, but it works more than it did, so I figure it's push worthy. Still not working: * Saving mute automation list * Dragged control points are not snapped to model restrictions (boolean, in this case, but general problem) * Line goes funny if you record mute automation (as opposed to drawing it which works)
2014-11-28Show discrete/toggled automation as stepped line.David Robillard
2014-11-22Fix invisible discrete control points.David Robillard
2014-11-16Don't hide selected control points.David Robillard
There was already code for this, but actually setting the corresponding visibility flags seems to have been lost at some point.
2014-11-15Fix entering/editing MIDI region "automation" (controllers).David Robillard
Two issues: 1) AutomationRegionView not receiving events (CC breakage). 2) Entered values must be rounded to integer for MIDI controllers. This should be done more generically with ParameterDescriptor for all controls (also supporting boolean toggles and such), once ParameterDescriptor becomes more pervasive and takes over Evoral::Parameter, but this will do for now.
2014-11-02Display gain and midiNote plugin parameters/properties nicely.David Robillard
Show fancy values on generic GUI controls, automation lane controls, and automation lane verbose cursor. Fix text display of midiNote values. Make bigstep of midiNote parameters 12 (one octave). Add ARDOUR::value_as_string() as a stateless one-stop-shop for value printing.
2014-11-02Automation of LV2 plugin properties.David Robillard
Work towards ParameterDescriptor being used more universally to describe control characteristics.