Commit graph

139 commits

Author SHA1 Message Date
Robin Gareus
591292da0f
a-amp: special case empty pin-mapping mode 2020-07-27 22:03:53 +02:00
Robin Gareus
44fc824128
Update Lua script to use new bounce API 2020-07-26 17:17:49 +02:00
Robin Gareus
134319bde6
Fix a/b and cross-fade plugins to handle unconnected inputs 2020-07-23 21:51:13 +02:00
Robin Gareus
affc28a0a0
Fix meter-point Lua script 2020-07-22 03:54:43 +02:00
Robin Gareus
398101ad92
Add cross-fade and A/B switch plugins 2020-07-13 00:53:45 +02:00
Robin Gareus
6f0e0000e6
Further updates to Scala to MTS script:
* allow non-realtime bulk transfers
* debug mode, dump .syx file
* add some comments and references
2020-06-22 23:06:19 +02:00
Robin Gareus
0d5e01eda6
Update Scala to MTS script:
* relax octave requirement, allow the scale
  to repeat at intervals other than 1200 cents
* fix frequency alignment of root note
  to use the given scale (not equal temperament)
2020-06-17 16:18:07 +02:00
Robin Gareus
f70b53803d
Include SCL to MTS script with releases 2020-06-16 16:41:39 +02:00
Robin Gareus
c93ce8d6a4
Refine scala -> MTS script
* clean up, add comments
* skip out-of-bounds notes
* replace assert() with dialogs
* add simple icon
2020-06-16 16:41:07 +02:00
Robin Gareus
dc23b9e118
Update SCL -> MTS script to send events to tracks or plugins 2020-06-16 04:22:57 +02:00
Robin Gareus
59fb0aed36
Add script to read scala files and generate MTS sysex
So far this script can only send MTS to async MIDI output ports
(from the GUI thread).
2020-06-16 03:32:46 +02:00
Robin Gareus
9b9128f917
Better version of 1ee2d57d49 (a hi/lo bypass) 2020-05-29 19:55:58 +02:00
Robin Gareus
1ee2d57d49
Add a bypass/enable port to a-HP/LP 2020-05-29 17:29:52 +02:00
Daniel Appelt
2e7992dd58 Use editor_add to avoid unwanted event points 2020-05-17 15:02:04 +02:00
Daniel Appelt
a7fa29d731
Delete as little automation data as possible 2020-05-17 14:14:36 +02:00
Robin Gareus
34fd8b5356
Bundle script to send raw MIDI to a given port 2020-05-09 23:43:04 +02:00
Robin Gareus
e424fdc197
Prototype an A/B x-fade plugin 2020-04-30 21:30:04 +02:00
Robin Gareus
5c127f35b1
Add a Lua script to map MIDI events for the AVL Drumkits 2020-04-24 06:52:01 +02:00
Robin Gareus
f72b05d3a5
Update Lua script descriptions, rename some scripts 2020-04-24 05:47:02 +02:00
Robin Gareus
1e57175471
Example Lua script to add plugins and sends 2020-04-22 21:40:46 +02:00
Robin Gareus
656cd9c8a7
Fix Lua script auto-connect new tracks
Since c16ab3a248 Session::new_audio_track has an optional parameter
to auto-connect inputs. Lua scripts don't have a default parameter,
so bool input_auto_connect was assumed false and inputs left
unconnected.
2020-04-20 22:24:08 +02:00
Robin Gareus
8edc94edea
Update a-Amplifier, use Ardour::Amp
This fixes an issue with a-Amp interpolating the parameter in dB,
resulting in a double-exponential fade when the parameter changes.

Now fade is linear in dB, also using Ardour' Amp processor is more
efficient, since interpolation happens in C++.
2020-04-19 00:49:43 +02:00
Nikolaus Gullotta
4fffb39258
Fix Mixer Recall script
Add new Mixbus internal processors to well_known list, and ensure that
proc is not nil before invalidation
2020-04-16 10:59:44 -05:00
Robin Gareus
87626e0bdd
NO-OP: remove trailing whitespace 2020-04-16 16:53:48 +02:00
Nikolaus Gullotta
858bb4294d
Fix Mixer Store/Recall
Two main problems are addressed by this commit.

First, storage of
parameters was broken because the index for values was set by the
parameter count, not the control port count which set_processor_param()
expects.

Second, the value was not clamped to pd.upper and pd.lower causing some
parameters to fail when set.

This invalidates previous mixer store files.
2020-04-15 13:38:33 -05:00
Nikolaus Gullotta
07709b39c1
Reset master send control along with sends 2020-04-14 13:34:49 -05:00
Robin Gareus
f18a7e3fc3
Prefer using C++ DSP for noise generation in scripts
This significantly reduces the DSP load of the noise
generator (avg. process time is reduced by a factor of 8 or more).
2020-04-11 11:41:22 +02:00
Robin Gareus
93a5f2d768
Fix typo in script 2020-03-15 11:24:55 +01:00
Robin Gareus
925be49b2d
Remove redundant collectgarbage() calls from scripts
Since 8112d6472e garbage is automatically collected
after running a Lua GUI script.
2020-03-10 23:31:20 +01:00
Robin Gareus
f921b4790f
Add Lua example snippet to set region fades 2020-03-10 23:20:07 +01:00
Robin Gareus
1d17993a29
Revert failed experiment, scripted multiple MIDI outputs via dsp_run()
This reverts commit 8702ff2189,
and b10d9cf09b.

There was a misconception on the iterator (port vs message
in sequence), besides Ardour's mixer-strip is preferably used
with a single MIDI port. Most plugin-standards also only support
one port.

If need be LuaDSP run_map() can be used to handle multiple
MIDI I/O ports already.
2020-03-09 22:12:23 +01:00
Robin Gareus
1a69bc4a96
Fix off by one in Lua scripts
Lua arrays (tables) start counting at one.
Also `for i = a, b do .. end` is inclusive: a <= i <= b
2020-03-03 00:28:19 +01:00
Robin Gareus
9712501139
Lua Amplifier plugin with gain-coeff ratio controls 2020-02-29 00:25:51 +01:00
Robin Gareus
bf3a36a126
Fix script to bypass all plugins
deactivate() hard bypassed all plugins, this made plugins with
a dedicated en/disable soft-bypass option inaccessible.
2020-02-28 04:34:54 +01:00
R
b10d9cf09b
Add example Lua DSP script with multiple MIDI outputs 2020-02-26 20:39:21 +01:00
Robin Gareus
28accee44e
Update script to use new process_map() API 2020-02-26 17:51:32 +01:00
Robin Gareus
65425b9fe2
Add a mute/gate plugin 2020-02-26 17:51:25 +01:00
Robin Gareus
b5761ea443
Update gitignore, clean up git status
* allow for a "local" folder with stuff that git does not list
* ignore local Lua scripts
* ignore icon tool binary
2020-02-23 21:11:47 +01:00
Robin Gareus
180843f9bd
Also move Lua scripts to share subfolder 2020-02-23 20:48:02 +01:00