ardour.git
5 years agoUse pretty-port-names in latency measurement dialog
Robin Gareus [Sun, 5 May 2019 16:15:18 +0000 (18:15 +0200)]
Use pretty-port-names in latency measurement dialog

5 years agoRemove outdated comment
Robin Gareus [Sun, 5 May 2019 16:07:21 +0000 (18:07 +0200)]
Remove outdated comment

5 years agoFix add/remove ALSA-MIDI ports bug
Robin Gareus [Sun, 5 May 2019 16:06:37 +0000 (18:06 +0200)]
Fix add/remove ALSA-MIDI ports bug

5 years agoTweak initial generic-midi sync/smoothing
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.

5 years agoFix midnam, duplicate note-names
Robin Gareus [Sat, 4 May 2019 18:54:18 +0000 (20:54 +0200)]
Fix midnam, duplicate note-names

5 years agoNO-OP: `xmllint --format` patchfiles
Robin Gareus [Sat, 4 May 2019 15:17:59 +0000 (17:17 +0200)]
NO-OP: `xmllint --format` patchfiles

5 years agoFix invalid MIDI Name Docs
Robin Gareus [Sat, 4 May 2019 15:13:18 +0000 (17:13 +0200)]
Fix invalid MIDI Name Docs

5 years agoUpdate Midnam DTD URI, use midi.org
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.

5 years agoAdd .dtd to validate midnam
Robin Gareus [Sat, 4 May 2019 14:28:15 +0000 (16:28 +0200)]
Add .dtd to validate midnam

5 years agoIgnore MIDNAM NRPN Controls for the time being
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.

5 years agoNO-OP: fix whitespace
Robin Gareus [Fri, 3 May 2019 21:57:16 +0000 (23:57 +0200)]
NO-OP: fix whitespace

5 years agoNO-OP: whitespace
Robin Gareus [Fri, 3 May 2019 18:02:46 +0000 (20:02 +0200)]
NO-OP: whitespace

5 years agoExtend list of supported LV2 features
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)

5 years agoFix typo in midnam XML
Robin Gareus [Fri, 3 May 2019 14:00:05 +0000 (16:00 +0200)]
Fix typo in midnam XML

5 years agoNO-OP: whitespace
Robin Gareus [Sun, 28 Apr 2019 19:16:50 +0000 (21:16 +0200)]
NO-OP: whitespace

5 years agoAllow analysis window to plot live pre/post signal analysis
Robin Gareus [Sun, 21 Apr 2019 20:33:28 +0000 (22:33 +0200)]
Allow analysis window to plot live pre/post signal analysis

5 years agoAdd/remove source(s) in our MSVC project (gtkmm2ext)
John Emmas [Sun, 21 Apr 2019 18:21:17 +0000 (19:21 +0100)]
Add/remove source(s) in our MSVC project (gtkmm2ext)

5 years agoMake use of ActionModel::build_custom_action_combo()
Johannes Mueller [Sat, 20 Apr 2019 20:36:51 +0000 (22:36 +0200)]
Make use of ActionModel::build_custom_action_combo()

5 years agoProvide ActionModel::build_custom_action_combo() for Control Protcols
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.

5 years agoUse ActionModel::build_action_combo() for Control Surfaces that need it
Johannes Mueller [Sat, 20 Apr 2019 12:35:50 +0000 (14:35 +0200)]
Use ActionModel::build_action_combo() for Control Surfaces that need it

5 years agoProvide a function to fill a Gtk::ComboBox with all available actions
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

5 years agoUse ActionModel API in the Control Surfaces that can make use of it
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

5 years agoProvide an API to get all available actions by one singleton class
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.

5 years agoFadeport: Fix User button state save and restore
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.

5 years agoFix restoring of CC121 configuration
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.

5 years agoUpdate Fluidsynth to v2.0.5
Robin Gareus [Fri, 19 Apr 2019 13:25:47 +0000 (15:25 +0200)]
Update Fluidsynth to v2.0.5

5 years agoRemove cruft
Robin Gareus [Fri, 19 Apr 2019 13:03:50 +0000 (15:03 +0200)]
Remove cruft

5 years agoNO-OP: whitespace
Robin Gareus [Fri, 19 Apr 2019 13:03:37 +0000 (15:03 +0200)]
NO-OP: whitespace

5 years agoFollow up f5bc64d00e - add gap to range-selection rect as well
Robin Gareus [Thu, 18 Apr 2019 14:46:44 +0000 (16:46 +0200)]
Follow up f5bc64d00e - add gap to range-selection rect as well

5 years agoRelease notch-bank filter
Robin Gareus [Thu, 18 Apr 2019 12:11:52 +0000 (14:11 +0200)]
Release notch-bank filter

5 years agoMixbus menu backport
Robin Gareus [Wed, 17 Apr 2019 13:32:35 +0000 (15:32 +0200)]
Mixbus menu backport

5 years agoNO-OP: whitespace
Robin Gareus [Wed, 17 Apr 2019 13:28:37 +0000 (15:28 +0200)]
NO-OP: whitespace

5 years agoFix crash when destroying session while control protocol is selected in preferences
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.

5 years agoAdd a DSP script to slowly fade in/out
Robin Gareus [Mon, 15 Apr 2019 22:05:33 +0000 (00:05 +0200)]
Add a DSP script to slowly fade in/out

5 years agoSplit new route messages into re-usable pieces
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.

5 years agoAlign port layout and code of a-exp with the one of a-comp
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

5 years agoRemove switch for different inline displays from 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.

5 years agoCorrect a typo that crept in somewhere
John Emmas [Sun, 14 Apr 2019 18:34:37 +0000 (19:34 +0100)]
Correct a typo that crept in somewhere

5 years agoNO-OP: <tab> after <space> fixes in libs
Robin Gareus [Sat, 13 Apr 2019 17:19:29 +0000 (19:19 +0200)]
NO-OP: <tab> after <space> fixes in libs

5 years agoNO-OP: whitespace
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.

5 years agoMerge patchfiles from https://github.com/at0m-c/midnam
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!

5 years agoNO-OP: whitespace
Robin Gareus [Sat, 13 Apr 2019 15:06:29 +0000 (17:06 +0200)]
NO-OP: whitespace

5 years agoFound another one -- does this ever end? :)
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.

5 years agoNO-OP: whitespace
Robin Gareus [Fri, 12 Apr 2019 19:38:06 +0000 (21:38 +0200)]
NO-OP: whitespace

5 years agoMore Ardour/Mixbus codebase unification
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.

5 years agoNO-OP: mixbus codebase unification
Robin Gareus [Fri, 12 Apr 2019 17:22:59 +0000 (19:22 +0200)]
NO-OP: mixbus codebase unification

5 years agoRemove unused "auto-backup" pane
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.

5 years agoFix the URI handling (for sfdb) for Windows
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.

5 years agoBackport backup folder creation
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.

5 years agoMixbus likes hyperthreading on Mac
Robin Gareus [Fri, 12 Apr 2019 16:30:52 +0000 (18:30 +0200)]
Mixbus likes hyperthreading on Mac

5 years agoUpdate Mixbus Mon-section #ifdef
Robin Gareus [Fri, 12 Apr 2019 16:29:23 +0000 (18:29 +0200)]
Update Mixbus Mon-section #ifdef

5 years agoSpecial case Lua copy-construction of trackable instances
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.

5 years agoRevert another sample/frame confusion
Robin Gareus [Fri, 12 Apr 2019 00:44:23 +0000 (02:44 +0200)]
Revert another sample/frame confusion

5 years agoNO-OP: whitespace
Robin Gareus [Thu, 11 Apr 2019 00:32:45 +0000 (02:32 +0200)]
NO-OP: whitespace

5 years agoSkip Subgroup menu-options when not available (no MIDI subgroups)
Robin Gareus [Thu, 11 Apr 2019 00:08:36 +0000 (02:08 +0200)]
Skip Subgroup menu-options when not available (no MIDI subgroups)

5 years agoAdd API to render a reflection
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

5 years agoArdour/Mixbus codebase unification - ui config
Robin Gareus [Thu, 11 Apr 2019 00:05:01 +0000 (02:05 +0200)]
Ardour/Mixbus codebase unification - ui config

5 years agoAdd option to leave vertical gap below audio regions
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.

5 years agoCleanup: Simplify conditionals
David Robillard [Sun, 31 Mar 2019 17:25:24 +0000 (19:25 +0200)]
Cleanup: Simplify conditionals

5 years agoRemove support for building against LV2 older than 1.2.0
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.

5 years agoClarify default template description
Robin Gareus [Tue, 9 Apr 2019 22:22:39 +0000 (00:22 +0200)]
Clarify default template description

5 years agoLV2: check required feature and options
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.

5 years agoDisable auto-input by default for new installs
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.

5 years agoBackport Mixbus delivery patch
Robin Gareus [Tue, 9 Apr 2019 12:33:27 +0000 (14:33 +0200)]
Backport Mixbus delivery patch

5 years agoUnify build-system customization (Ardour/Mixbus)
Robin Gareus [Tue, 9 Apr 2019 11:17:15 +0000 (13:17 +0200)]
Unify build-system customization (Ardour/Mixbus)

5 years agoFix session-export util (timecode: frames, not samples)
Robin Gareus [Tue, 9 Apr 2019 01:28:23 +0000 (03:28 +0200)]
Fix session-export util (timecode: frames, not samples)

5 years agoBackport Mixbus toolbutton layout
Robin Gareus [Tue, 9 Apr 2019 01:16:09 +0000 (03:16 +0200)]
Backport Mixbus toolbutton layout

5 years agoUpdate Lua Script to use new MusicSample API
Robin Gareus [Tue, 9 Apr 2019 01:15:38 +0000 (03:15 +0200)]
Update Lua Script to use new MusicSample API

5 years agoNO-OP: fix another comment
Robin Gareus [Tue, 9 Apr 2019 01:00:31 +0000 (03:00 +0200)]
NO-OP: fix another comment

5 years agoRemove cruft: unused typedef
Robin Gareus [Tue, 9 Apr 2019 00:23:17 +0000 (02:23 +0200)]
Remove cruft: unused typedef

5 years agoNO-OP: whitespace
Robin Gareus [Tue, 9 Apr 2019 00:20:06 +0000 (02:20 +0200)]
NO-OP: whitespace

5 years agoNO-OP: fix comment
Robin Gareus [Tue, 9 Apr 2019 00:19:51 +0000 (02:19 +0200)]
NO-OP: fix comment

5 years agoReplace some more "samples" with "frames" (rectangles)
Robin Gareus [Mon, 8 Apr 2019 22:31:29 +0000 (00:31 +0200)]
Replace some more "samples" with "frames" (rectangles)

5 years agoAnother round of whitespace fixes
Robin Gareus [Mon, 8 Apr 2019 22:27:05 +0000 (00:27 +0200)]
Another round of whitespace fixes

5 years agoFix typo in 37aaa2d1
Robin Gareus [Mon, 8 Apr 2019 20:56:50 +0000 (22:56 +0200)]
Fix typo in 37aaa2d1

5 years agoFix Timecode fps
Robin Gareus [Mon, 8 Apr 2019 20:24:10 +0000 (22:24 +0200)]
Fix Timecode fps

5 years agoClarify API name (I/O-selector frame)
Robin Gareus [Mon, 8 Apr 2019 20:14:09 +0000 (22:14 +0200)]
Clarify API name (I/O-selector frame)

5 years agoRevert more "frame/sample" replacements
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

5 years agoNO-OP: whitespace, alignment
Robin Gareus [Mon, 8 Apr 2019 19:37:02 +0000 (21:37 +0200)]
NO-OP: whitespace, alignment

5 years agoRemove hardcoded project-name from Actions
Robin Gareus [Mon, 8 Apr 2019 19:36:27 +0000 (21:36 +0200)]
Remove hardcoded project-name from Actions

5 years agoRemove cruft (commented code)
Robin Gareus [Mon, 8 Apr 2019 18:59:23 +0000 (20:59 +0200)]
Remove cruft (commented code)

5 years agoNO-OP: whitespace, indent
Robin Gareus [Mon, 8 Apr 2019 17:53:33 +0000 (19:53 +0200)]
NO-OP: whitespace, indent

5 years agoYet another "Rect frame" (not a sample)
Robin Gareus [Mon, 8 Apr 2019 18:25:05 +0000 (20:25 +0200)]
Yet another "Rect frame" (not a sample)

5 years agoFrame as in "picture frame", not sample
Robin Gareus [Mon, 8 Apr 2019 18:00:02 +0000 (20:00 +0200)]
Frame as in "picture frame", not sample

5 years agoNO-OP: more libardour whitespace tweaks
Robin Gareus [Mon, 8 Apr 2019 17:36:22 +0000 (19:36 +0200)]
NO-OP: more libardour whitespace tweaks

5 years agoUndo yet more frame/sample replacements
Robin Gareus [Mon, 8 Apr 2019 16:32:09 +0000 (18:32 +0200)]
Undo yet more frame/sample replacements

5 years agoNO-OP: whitespace, comments
Robin Gareus [Mon, 8 Apr 2019 16:29:04 +0000 (18:29 +0200)]
NO-OP: whitespace, comments

5 years agoCleaup meter-tap: reduce nesting and remove code-dup
Robin Gareus [Mon, 8 Apr 2019 14:12:19 +0000 (16:12 +0200)]
Cleaup meter-tap: reduce nesting and remove code-dup

5 years agoFix OMFtool; sample_rate vs frame_rate
Robin Gareus [Mon, 8 Apr 2019 14:11:38 +0000 (16:11 +0200)]
Fix OMFtool; sample_rate vs frame_rate

5 years agoRemove duplicate patchfiles
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.

5 years agoImport MIDNAM collection from Harrison Mixbus
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!

5 years agoNO-OP name change: CD-frames (not samples)
Robin Gareus [Mon, 8 Apr 2019 12:44:22 +0000 (14:44 +0200)]
NO-OP name change: CD-frames (not samples)

5 years agoNO-OP: whitespace
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.

5 years agoUndo incorrect sample/frame replacements in clearlooks
Robin Gareus [Mon, 8 Apr 2019 02:03:21 +0000 (04:03 +0200)]
Undo incorrect sample/frame replacements in clearlooks

5 years agoUndo more incorrect sample/frame replacements
Robin Gareus [Mon, 8 Apr 2019 01:46:02 +0000 (03:46 +0200)]
Undo more incorrect sample/frame replacements

5 years agoNO-OP: whitespace
Robin Gareus [Mon, 8 Apr 2019 01:45:12 +0000 (03:45 +0200)]
NO-OP: whitespace

5 years agoIndicate automation-latch as "touch" on the CC121
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.

5 years agoNO-OP: whitespace
Robin Gareus [Sun, 7 Apr 2019 23:56:52 +0000 (01:56 +0200)]
NO-OP: whitespace

5 years agoNO-OP: whitespace & revert samples -> [stack]frames
Robin Gareus [Sun, 7 Apr 2019 22:35:00 +0000 (00:35 +0200)]
NO-OP: whitespace & revert samples -> [stack]frames

5 years agoNO-OP: indent
Robin Gareus [Sun, 7 Apr 2019 22:29:13 +0000 (00:29 +0200)]
NO-OP: indent