Robin Gareus [Sun, 5 May 2019 22:13:47 +0000 (00:13 +0200)]
Fix MIDI latency measurement
* Restore active state of devices after measurement
* Don't manually set latencies for measurement (backend handles this)
* remove superfluous call to stop measurement
Robin Gareus [Sun, 5 May 2019 16:15:18 +0000 (18:15 +0200)]
Use pretty-port-names in latency measurement dialog
Robin Gareus [Sun, 5 May 2019 16:07:21 +0000 (18:07 +0200)]
Remove outdated comment
Robin Gareus [Sun, 5 May 2019 16:06:37 +0000 (18:06 +0200)]
Fix add/remove ALSA-MIDI ports bug
Robin Gareus [Sat, 4 May 2019 21:33:27 +0000 (23:33 +0200)]
Tweak initial generic-midi sync/smoothing
"last_controllable_value" is using midi value range (0..127).
It is used to compare received midi-value with the actual controllable
for non-motorized surfaces, and this change allows the first
event to already be in_sync.
Previously the first MIDI-event was usually ignored (because
last_controllable_value was out of bounds or didn't match the 0..127
range.
Robin Gareus [Sat, 4 May 2019 18:54:18 +0000 (20:54 +0200)]
Fix midnam, duplicate note-names
Robin Gareus [Sat, 4 May 2019 15:17:59 +0000 (17:17 +0200)]
NO-OP: `xmllint --format` patchfiles
Robin Gareus [Sat, 4 May 2019 15:13:18 +0000 (17:13 +0200)]
Fix invalid MIDI Name Docs
Robin Gareus [Sat, 4 May 2019 14:43:21 +0000 (16:43 +0200)]
Update Midnam DTD URI, use midi.org
This also fixes some dos/unix line-ending issues along the way.
Robin Gareus [Sat, 4 May 2019 14:28:15 +0000 (16:28 +0200)]
Add .dtd to validate midnam
Robin Gareus [Fri, 3 May 2019 22:07:26 +0000 (00:07 +0200)]
Ignore MIDNAM NRPN Controls for the time being
This fixes an issue with Novation_BassStationII.midnam
duplicate assignments CC + NRPN.
Robin Gareus [Fri, 3 May 2019 21:57:16 +0000 (23:57 +0200)]
NO-OP: fix whitespace
Robin Gareus [Fri, 3 May 2019 18:02:46 +0000 (20:02 +0200)]
NO-OP: whitespace
Robin Gareus [Fri, 3 May 2019 18:02:26 +0000 (20:02 +0200)]
Extend list of supported LV2 features
* boundedBlockLength is given since ardour sets min/max blocksize
* add non-standard features (inline display, midnam,
MIDI bank/patch notify)
Robin Gareus [Fri, 3 May 2019 14:00:05 +0000 (16:00 +0200)]
Fix typo in midnam XML
Robin Gareus [Sun, 28 Apr 2019 19:16:50 +0000 (21:16 +0200)]
NO-OP: whitespace
Robin Gareus [Sun, 21 Apr 2019 20:33:28 +0000 (22:33 +0200)]
Allow analysis window to plot live pre/post signal analysis
John Emmas [Sun, 21 Apr 2019 18:21:17 +0000 (19:21 +0100)]
Add/remove source(s) in our MSVC project (gtkmm2ext)
Johannes Mueller [Sat, 20 Apr 2019 20:36:51 +0000 (22:36 +0200)]
Make use of ActionModel::build_custom_action_combo()
Johannes Mueller [Sat, 20 Apr 2019 20:12:52 +0000 (22:12 +0200)]
Provide ActionModel::build_custom_action_combo() for Control Protcols
to consolidate code that's identical in several control protocols.
Johannes Mueller [Sat, 20 Apr 2019 12:35:50 +0000 (14:35 +0200)]
Use ActionModel::build_action_combo() for Control Surfaces that need it
Johannes Mueller [Sat, 20 Apr 2019 12:12:24 +0000 (14:12 +0200)]
Provide a function to fill a Gtk::ComboBox with all available actions
Johannes Mueller [Sat, 20 Apr 2019 12:08:36 +0000 (14:08 +0200)]
Use ActionModel API in the Control Surfaces that can make use of it
Johannes Mueller [Sat, 20 Apr 2019 10:37:07 +0000 (12:37 +0200)]
Provide an API to get all available actions by one singleton class
The singleton ActionModel provides a Gtk::Treestore of all actions known to
ardour.
To be used for example by surface control editors to implement action bindings.
Johannes Mueller [Fri, 19 Apr 2019 18:35:40 +0000 (20:35 +0200)]
Fadeport: Fix User button state save and restore
Since we (since
ddfc37e4) set the UserDown flag for the User button actions, we
need to set it also when we lookup actions when saving the state.
Furthermore, we need also look for the UserDown flag, when we set the state
of the configuration combos for the User button.
Johannes Mueller [Fri, 19 Apr 2019 18:32:19 +0000 (20:32 +0200)]
Fix restoring of CC121 configuration
The button ids are in the children of the cc121 protocol node, not in the
protocol node itself.
Robin Gareus [Fri, 19 Apr 2019 13:25:47 +0000 (15:25 +0200)]
Update Fluidsynth to v2.0.5
Robin Gareus [Fri, 19 Apr 2019 13:03:50 +0000 (15:03 +0200)]
Remove cruft
Robin Gareus [Fri, 19 Apr 2019 13:03:37 +0000 (15:03 +0200)]
NO-OP: whitespace
Robin Gareus [Thu, 18 Apr 2019 14:46:44 +0000 (16:46 +0200)]
Follow up
f5bc64d00e - add gap to range-selection rect as well
Robin Gareus [Thu, 18 Apr 2019 12:11:52 +0000 (14:11 +0200)]
Release notch-bank filter
Robin Gareus [Wed, 17 Apr 2019 13:32:35 +0000 (15:32 +0200)]
Mixbus menu backport
Robin Gareus [Wed, 17 Apr 2019 13:28:37 +0000 (15:28 +0200)]
NO-OP: whitespace
Johannes Mueller [Wed, 17 Apr 2019 11:44:02 +0000 (13:44 +0200)]
Fix crash when destroying session while control protocol is selected in preferences
The GUI should be notified about the tearing down of the control
surfaces *before* the protocols are actually destroyed.
On ProtocolStatusChange ControlSurfacesOptions::selection_changed() might try
to access protocol->has_editor() of a protocol that happens to be selected in
the preferences GUI. I this protocol already has been destroyed, a crash will
occur.
Robin Gareus [Mon, 15 Apr 2019 22:05:33 +0000 (00:05 +0200)]
Add a DSP script to slowly fade in/out
Robin Gareus [Mon, 15 Apr 2019 19:42:42 +0000 (21:42 +0200)]
Split new route messages into re-usable pieces
This improves consistency for the various new-route descriptions
and allows to unify messages with Mixbus without re-doing complete
strings. It may also benefit translations.
Johannes Mueller [Mon, 15 Apr 2019 13:33:44 +0000 (15:33 +0200)]
Align port layout and code of a-exp with the one of a-comp
Johannes Mueller [Mon, 15 Apr 2019 10:11:38 +0000 (12:11 +0200)]
Remove switch for different inline displays from a-comp.
Reverts
a0a4db47a76da788096e3a93c3824d56c8e804b5
This feature never was in a release.
John Emmas [Sun, 14 Apr 2019 18:34:37 +0000 (19:34 +0100)]
Correct a typo that crept in somewhere
Robin Gareus [Sat, 13 Apr 2019 17:19:29 +0000 (19:19 +0200)]
NO-OP: <tab> after <space> fixes in libs
Robin Gareus [Sat, 13 Apr 2019 15:48:27 +0000 (17:48 +0200)]
NO-OP: whitespace
This fixes mostly <tab> after <space> and similar <tab> not used
for indenting as well as some related code alignment issues.
Robin Gareus [Sat, 13 Apr 2019 15:14:07 +0000 (17:14 +0200)]
Merge patchfiles from https://github.com/at0m-c/midnam
Kudos to at0m!
Robin Gareus [Sat, 13 Apr 2019 15:06:29 +0000 (17:06 +0200)]
NO-OP: whitespace
Robin Gareus [Fri, 12 Apr 2019 20:23:48 +0000 (22:23 +0200)]
Found another one -- does this ever end? :)
Undo s/sample/frame/ replacement.
Robin Gareus [Fri, 12 Apr 2019 19:38:06 +0000 (21:38 +0200)]
NO-OP: whitespace
Robin Gareus [Fri, 12 Apr 2019 19:34:14 +0000 (21:34 +0200)]
More Ardour/Mixbus codebase unification
Note Presentation-Info bits used by Mixbus to prevent conflicts
when sharing sessions.
Robin Gareus [Fri, 12 Apr 2019 17:22:59 +0000 (19:22 +0200)]
NO-OP: mixbus codebase unification
Robin Gareus [Fri, 12 Apr 2019 16:51:00 +0000 (18:51 +0200)]
Remove unused "auto-backup" pane
This reverts/reworks commit
e87012ca8905604e4 -- a failed experiment
which isn't used by Mixbus either since it introduced various issues.
When reverting to backups > 1 hour old, closing the session first
is acceptable.
Robin Gareus [Fri, 12 Apr 2019 16:38:49 +0000 (18:38 +0200)]
Fix the URI handling (for sfdb) for Windows
This forward ports Mixbus'
4eca3dea47 without additional code to correct
for old (Ardour2) URIs.
A2, used path2uri() which accumulated and left duplicate slashes in place,
eg. "file:////". Mixbus3 auto-corrected this on load in
AudioLibrary::search_members_and().
However sfdb libraries are not shared between major versions, so this
code does no need to be forward ported.
Robin Gareus [Fri, 12 Apr 2019 16:32:34 +0000 (18:32 +0200)]
Backport backup folder creation
Other parts for auto-backup is already in ardour-git.
Robin Gareus [Fri, 12 Apr 2019 16:30:52 +0000 (18:30 +0200)]
Mixbus likes hyperthreading on Mac
Robin Gareus [Fri, 12 Apr 2019 16:29:23 +0000 (18:29 +0200)]
Update Mixbus Mon-section #ifdef
Robin Gareus [Fri, 12 Apr 2019 02:12:22 +0000 (04:12 +0200)]
Special case Lua copy-construction of trackable instances
This fixes an crashing issue with ArdourUI.SelectionList a bug
introduced in
6dc3bdf252c and
35dcd46d7d.
Since removal of the special cases in
35dcd46d7d, when using
a C-pointer in a std::list<>,
std::list<class*>::push_back(TypeListValue)
TypeListValues<>'s Head was expanded to "class*& const"
implied by void ::push_back(const T& value);
This resulted in lifetime issues with a classes that derive
from sigc::trackable (e.g. Ardour's Selection).
The reference leaves scope and isn't duplicated when it is pushed back
to the std::list<>.
The script scripts/select_every_2nd_region.lua crashed because entries
in the SelectionList were no longer valid.
Previously (before
6dc3bdf252c) TypeListValues explicitly
copy-constructed the value to work around the lifetime issue.
This new solution bypasses the issue by directly using the c-pointer
without dereferencing it.
Robin Gareus [Fri, 12 Apr 2019 00:44:23 +0000 (02:44 +0200)]
Revert another sample/frame confusion
Robin Gareus [Thu, 11 Apr 2019 00:32:45 +0000 (02:32 +0200)]
NO-OP: whitespace
Robin Gareus [Thu, 11 Apr 2019 00:08:36 +0000 (02:08 +0200)]
Skip Subgroup menu-options when not available (no MIDI subgroups)
Robin Gareus [Thu, 11 Apr 2019 00:06:32 +0000 (02:06 +0200)]
Add API to render a reflection
This is to be used sparingly because the pattern is dynamically
created every time. Mainly for the benefit of some Mixbus
widgets -- compared to ArdourButton::convex_pattern
Robin Gareus [Thu, 11 Apr 2019 00:05:01 +0000 (02:05 +0200)]
Ardour/Mixbus codebase unification - ui config
Robin Gareus [Wed, 10 Apr 2019 19:03:08 +0000 (21:03 +0200)]
Add option to leave vertical gap below audio regions
This is a backport from Mixbus, to leave are 4 "open" pixels
at the bottom of the track so one can see the grid-lines between tracks.
This is useful with low region-transparency. grid-lines behind
opaque regions are not visible.
David Robillard [Sun, 31 Mar 2019 17:25:24 +0000 (19:25 +0200)]
Cleanup: Simplify conditionals
David Robillard [Sun, 31 Mar 2019 17:19:21 +0000 (19:19 +0200)]
Remove support for building against LV2 older than 1.2.0
LV2 1.2.0 was released in 2012, over 6 years ago now.
Robin Gareus [Tue, 9 Apr 2019 22:22:39 +0000 (00:22 +0200)]
Clarify default template description
Robin Gareus [Tue, 9 Apr 2019 22:19:39 +0000 (00:19 +0200)]
LV2: check required feature and options
When discovering LV2 plugins, verify if a plugin's required features
and required options can be be satisfied.
This replaces a previous blacklist with a whitelist of supported
features/options.
Robin Gareus [Tue, 9 Apr 2019 12:36:56 +0000 (14:36 +0200)]
Disable auto-input by default for new installs
This prevents audible feedback on laptops when adding new tracks
with default settings.
Robin Gareus [Tue, 9 Apr 2019 12:33:27 +0000 (14:33 +0200)]
Backport Mixbus delivery patch
Robin Gareus [Tue, 9 Apr 2019 11:17:15 +0000 (13:17 +0200)]
Unify build-system customization (Ardour/Mixbus)
Robin Gareus [Tue, 9 Apr 2019 01:28:23 +0000 (03:28 +0200)]
Fix session-export util (timecode: frames, not samples)
Robin Gareus [Tue, 9 Apr 2019 01:16:09 +0000 (03:16 +0200)]
Backport Mixbus toolbutton layout
Robin Gareus [Tue, 9 Apr 2019 01:15:38 +0000 (03:15 +0200)]
Update Lua Script to use new MusicSample API
Robin Gareus [Tue, 9 Apr 2019 01:00:31 +0000 (03:00 +0200)]
NO-OP: fix another comment
Robin Gareus [Tue, 9 Apr 2019 00:23:17 +0000 (02:23 +0200)]
Remove cruft: unused typedef
Robin Gareus [Tue, 9 Apr 2019 00:20:06 +0000 (02:20 +0200)]
NO-OP: whitespace
Robin Gareus [Tue, 9 Apr 2019 00:19:51 +0000 (02:19 +0200)]
NO-OP: fix comment
Robin Gareus [Mon, 8 Apr 2019 22:31:29 +0000 (00:31 +0200)]
Replace some more "samples" with "frames" (rectangles)
Robin Gareus [Mon, 8 Apr 2019 22:27:05 +0000 (00:27 +0200)]
Another round of whitespace fixes
Robin Gareus [Mon, 8 Apr 2019 20:56:50 +0000 (22:56 +0200)]
Robin Gareus [Mon, 8 Apr 2019 20:24:10 +0000 (22:24 +0200)]
Fix Timecode fps
Robin Gareus [Mon, 8 Apr 2019 20:14:09 +0000 (22:14 +0200)]
Clarify API name (I/O-selector frame)
Robin Gareus [Mon, 8 Apr 2019 19:40:33 +0000 (21:40 +0200)]
Revert more "frame/sample" replacements
- Coverage concerns rectangles (frames, not sample)
- frame-handles are rectangles
- layout container boxes are frames
- inline display boxes are display_frame
Robin Gareus [Mon, 8 Apr 2019 19:37:02 +0000 (21:37 +0200)]
NO-OP: whitespace, alignment
Robin Gareus [Mon, 8 Apr 2019 19:36:27 +0000 (21:36 +0200)]
Remove hardcoded project-name from Actions
Robin Gareus [Mon, 8 Apr 2019 18:59:23 +0000 (20:59 +0200)]
Remove cruft (commented code)
Robin Gareus [Mon, 8 Apr 2019 17:53:33 +0000 (19:53 +0200)]
NO-OP: whitespace, indent
Robin Gareus [Mon, 8 Apr 2019 18:25:05 +0000 (20:25 +0200)]
Yet another "Rect frame" (not a sample)
Robin Gareus [Mon, 8 Apr 2019 18:00:02 +0000 (20:00 +0200)]
Frame as in "picture frame", not sample
Robin Gareus [Mon, 8 Apr 2019 17:36:22 +0000 (19:36 +0200)]
NO-OP: more libardour whitespace tweaks
Robin Gareus [Mon, 8 Apr 2019 16:32:09 +0000 (18:32 +0200)]
Undo yet more frame/sample replacements
Robin Gareus [Mon, 8 Apr 2019 16:29:04 +0000 (18:29 +0200)]
NO-OP: whitespace, comments
Robin Gareus [Mon, 8 Apr 2019 14:12:19 +0000 (16:12 +0200)]
Cleaup meter-tap: reduce nesting and remove code-dup
Robin Gareus [Mon, 8 Apr 2019 14:11:38 +0000 (16:11 +0200)]
Fix OMFtool; sample_rate vs frame_rate
Robin Gareus [Mon, 8 Apr 2019 13:01:26 +0000 (15:01 +0200)]
Remove duplicate patchfiles
The previous commit also unified the naming schama to prefer underscores.
Robin Gareus [Mon, 8 Apr 2019 12:48:26 +0000 (14:48 +0200)]
Import MIDNAM collection from Harrison Mixbus
Kudos to Nik and Ben at Harrisonconsoles. You Rock!
Robin Gareus [Mon, 8 Apr 2019 12:44:22 +0000 (14:44 +0200)]
NO-OP name change: CD-frames (not samples)
Robin Gareus [Mon, 8 Apr 2019 03:16:33 +0000 (05:16 +0200)]
NO-OP: whitespace
Fix space-alignment, mostly due to "frame" -> "sample" changes.
Robin Gareus [Mon, 8 Apr 2019 02:03:21 +0000 (04:03 +0200)]
Undo incorrect sample/frame replacements in clearlooks
Robin Gareus [Mon, 8 Apr 2019 01:46:02 +0000 (03:46 +0200)]
Undo more incorrect sample/frame replacements
Robin Gareus [Mon, 8 Apr 2019 01:45:12 +0000 (03:45 +0200)]
NO-OP: whitespace
Robin Gareus [Mon, 8 Apr 2019 00:05:36 +0000 (02:05 +0200)]
Indicate automation-latch as "touch" on the CC121
Without a dedicated "Latch" control, this does at least consistently
indicate "Touch", rather than show some arbitrary LED state.
Robin Gareus [Sun, 7 Apr 2019 23:56:52 +0000 (01:56 +0200)]
NO-OP: whitespace
Robin Gareus [Sun, 7 Apr 2019 22:35:00 +0000 (00:35 +0200)]
NO-OP: whitespace & revert samples -> [stack]frames