Commit graph

27576 commits

Author SHA1 Message Date
Robin Gareus
f08e2b7eb1
Hide designated [lv2] BPM port from GUI 2019-05-08 21:59:22 +02:00
Robin Gareus
4185ad80a6
Prepare for Ardour/ALSA multiple identical MIDI devices
The engine setup identifies devices by name (device list is a map<>
with the device-name as key). To support multiple devices with the
same name, the name needs to be unique.

So far this is achieved by simply adding a number suffix starting with
the 2nd device (this allows to re-use configurations).

Ideally we'd use UUIDs or unique device IDs to handle this, and also
somehow clarify which device is which...
2019-05-08 19:58:53 +02:00
Robin Gareus
ba41ac3cec
Fix solo logic, connection/feed-information
Assume the following connections
      Audio -> Bus1 --aux-send--> Bus2
Prior to this commit, Audio -> Bus2 was marked as "direct feed",
even though the connection was only indirect via an aux-send.
This caused issues with implicit solo and could lead to stuck solo.
2019-05-08 19:51:20 +02:00
Robin Gareus
ef283ed29c
NO-OP: Unclutter -DGraph 2019-05-08 19:49:01 +02:00
Robin Gareus
83f484a3ce
Engine Dialog: update MIDI devices, merge settings with state 2019-05-06 01:29:18 +02:00
Robin Gareus
00e226e3c6
Fix ALSA MIDI latency update call (playback/capture direction mismatch) 2019-05-06 00:14:27 +02:00
Robin Gareus
ae181f5f66
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
2019-05-06 00:13:47 +02:00
Robin Gareus
837678bdcc
Use pretty-port-names in latency measurement dialog 2019-05-05 18:15:18 +02:00
Robin Gareus
ddd1cda260
Remove outdated comment 2019-05-05 18:07:21 +02:00
Robin Gareus
c5346f5c15
Fix add/remove ALSA-MIDI ports bug 2019-05-05 18:06:37 +02:00
Robin Gareus
5bde8f4456
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.
2019-05-05 02:49:53 +02:00
Robin Gareus
7e7ca24f8f
Fix midnam, duplicate note-names 2019-05-04 20:54:18 +02:00
Robin Gareus
fe7e92de52
NO-OP: xmllint --format patchfiles 2019-05-04 17:17:59 +02:00
Robin Gareus
df50385af9
Fix invalid MIDI Name Docs 2019-05-04 17:13:18 +02:00
Robin Gareus
611aa4696f
Update Midnam DTD URI, use midi.org
This also fixes some dos/unix line-ending issues along the way.
2019-05-04 16:47:26 +02:00
Robin Gareus
a7b5fbf17e
Add .dtd to validate midnam 2019-05-04 16:28:15 +02:00
Robin Gareus
0f24316c3c
Ignore MIDNAM NRPN Controls for the time being
This fixes an issue with Novation_BassStationII.midnam
duplicate assignments CC + NRPN.
2019-05-04 00:07:26 +02:00
Robin Gareus
757c29ae68
NO-OP: fix whitespace 2019-05-03 23:58:09 +02:00
Robin Gareus
e776402b0d
NO-OP: whitespace 2019-05-03 20:02:46 +02:00
Robin Gareus
8329f55e5f
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)
2019-05-03 20:02:26 +02:00
Robin Gareus
2ef3f65ab4
Fix typo in midnam XML 2019-05-03 16:00:05 +02:00
Robin Gareus
a156d4f446
NO-OP: whitespace 2019-04-28 21:16:50 +02:00
Robin Gareus
20bdf5d966
Allow analysis window to plot live pre/post signal analysis 2019-04-21 22:43:16 +02:00
John Emmas
2fcd19581a Add/remove source(s) in our MSVC project (gtkmm2ext) 2019-04-21 19:21:17 +01:00
Johannes Mueller
ce47ec411a Make use of ActionModel::build_custom_action_combo() 2019-04-20 22:36:51 +02:00
Johannes Mueller
822f55f4af Provide ActionModel::build_custom_action_combo() for Control Protcols
to consolidate code that's identical in several control protocols.
2019-04-20 22:12:52 +02:00
Johannes Mueller
73f8b8d982 Use ActionModel::build_action_combo() for Control Surfaces that need it 2019-04-20 15:25:32 +02:00
Johannes Mueller
de876acc8b Provide a function to fill a Gtk::ComboBox with all available actions 2019-04-20 15:25:32 +02:00
Johannes Mueller
5b7bcec529 Use ActionModel API in the Control Surfaces that can make use of it 2019-04-20 15:25:32 +02:00
Johannes Mueller
b141d17274 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.
2019-04-20 15:25:32 +02:00
Johannes Mueller
8cbbd3dd00 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.
2019-04-20 00:15:20 +02:00
Johannes Mueller
23b196952b Fix restoring of CC121 configuration
The button ids are in the children of the cc121 protocol node, not in the
protocol node itself.
2019-04-20 00:12:59 +02:00
Robin Gareus
1f982b532d
Update Fluidsynth to v2.0.5 2019-04-19 15:44:14 +02:00
Robin Gareus
bcd33a2381
Remove cruft 2019-04-19 15:03:50 +02:00
Robin Gareus
5553979511
NO-OP: whitespace 2019-04-19 15:03:37 +02:00
Robin Gareus
c285229423
Follow up f5bc64d00e - add gap to range-selection rect as well 2019-04-18 16:46:44 +02:00
Robin Gareus
0a9674ec6b
Release notch-bank filter 2019-04-18 14:11:52 +02:00
Robin Gareus
6edc919656
Mixbus menu backport 2019-04-17 16:29:35 +02:00
Robin Gareus
bb5d237d66
NO-OP: whitespace 2019-04-17 16:29:35 +02:00
Johannes Mueller
6d4d4ccc78 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.
2019-04-17 13:53:45 +02:00
Robin Gareus
d686076711
Add a DSP script to slowly fade in/out 2019-04-16 00:05:33 +02:00
Robin Gareus
eae88bc119
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.
2019-04-15 22:12:26 +02:00
Johannes Mueller
ca05f03e72 Align port layout and code of a-exp with the one of a-comp 2019-04-15 18:40:27 +02:00
Johannes Mueller
beaaa80d42 Remove switch for different inline displays from a-comp.
Reverts a0a4db47a7

This feature never was in a release.
2019-04-15 12:11:38 +02:00
John Emmas
94036cc7c0 Correct a typo that crept in somewhere 2019-04-14 19:34:37 +01:00
Robin Gareus
2f91bdfa53
NO-OP: <tab> after <space> fixes in libs 2019-04-13 19:19:29 +02:00
Robin Gareus
31815b5f26
NO-OP: whitespace
This fixes mostly <tab> after <space> and similar <tab> not used
for indenting as well as some related code alignment issues.
2019-04-13 17:57:46 +02:00
Robin Gareus
90a7bef656
Merge patchfiles from https://github.com/at0m-c/midnam
Kudos to at0m!
2019-04-13 17:14:07 +02:00
Robin Gareus
bf3e91e5cf
NO-OP: whitespace 2019-04-13 17:06:29 +02:00
Robin Gareus
b799c05c1a
Found another one -- does this ever end? :)
Undo s/sample/frame/ replacement.
2019-04-12 22:23:48 +02:00