Commit graph

64 commits

Author SHA1 Message Date
Robin Gareus
2e789e34e7 enforce range of HP/LP
We must not assume that the host sends values within the the range
nor that the enum is always an integer.
2016-07-19 19:26:05 +02:00
Julien "_FrnchFrgg_" RIVAUD
2e933a6414 Fix a typo in HiAndLowPass.lua
Instead of mixing two consecutive biquad orders with a linear xfade, the
code used the same weight for both signals to mix, due to a copy-paste
blunder. Brown-bag fix this now. Also change a little the threshold for
using 32-samples chunks to cater for steepness jumping from 0 to 4 (this
doesn't change anything for commonly used rates and is just for
robustness in never-happening cases anyway).
2016-07-19 16:42:27 +02:00
Julien "_FrnchFrgg_" RIVAUD
1dcb54ba22 Optimize a-HiAndLowPass
- Better formula for the lpf smoothness parameter. It is computed only
  on init and rate change anyway...
- Only run as many Biquads as needed to save computing power, esp. when
  using low steepness and parameters are not changing.
2016-07-18 15:05:50 +02:00
Julien _FrnchFrgg_ RIVAUD
d527fdf30a Simplify the logic in HiAndLowPass filter
And beef up comments for readers using the filter as an example.
2016-07-18 11:15:09 +02:00
Robin Gareus
7e1a722a15 clean up Hp/Lp code 2016-07-18 10:53:48 +02:00
Robin Gareus
3458844878 cleanup High/Low Pass
* shorten Name
* fix typo in Time Constant
* remove some local variables
2016-07-17 14:10:13 +02:00
Robin Gareus
65eeeb7a65 remove old a-Hi/Low pass 2016-07-17 01:20:45 +02:00
Robin Gareus
00b8cff66f clean up a-HP/LP 2016-07-17 01:20:23 +02:00
Robin Gareus
e7a154b9dd Hi AND low pass filter -- fresh from the oven werks. 2016-07-16 23:05:30 +02:00
Robin Gareus
543e230f79 consistent height of a-eq a-hp/lp 2016-07-14 16:52:43 +02:00
Robin Gareus
a4ff28006e midimon: add option to format note-names 2016-07-12 23:02:46 +02:00
Robin Gareus
4866106bcc re-classify bundled lua scripts
* search by author:
  - "Ardour Team" for "ready to use" plugins
  - "Ardour Lua Task Force" = example plugins

* search by Category
  - use "Example" for DSP plugins (except instruments)
2016-07-12 16:43:10 +02:00
Julien "_FrnchFrgg_" RIVAUD
30240b33e9 Make MIDI monitor a pass-through for audio and midi
MIDI monitor only accepted midi data and output that same data. That was
logical for a MIDI plugin, but a consequence is that automatic pin
configuration makes MIDI monitors opaque to audio data, which means
drag'n'dropping a MIDI monitor for debugging purposes can suddenly cut
audio, or even change the channel count if strict I/O is enabled.

Improve the MIDI monitor so that it passes through all incoming data
unchanged.
2016-07-12 01:47:02 +02:00
Robin Gareus
e8cd2949bd update MIDIEvent lua bindings/example 2016-07-12 01:46:58 +02:00
Robin Gareus
57df370e2a add a convenient lua forward mapped buffers method 2016-07-11 22:36:00 +02:00
Julien "_FrnchFrgg_" RIVAUD
2d32b50a3f Improve MIDI monitor 2016-07-11 17:39:59 +02:00
Julien "_FrnchFrgg_" RIVAUD
1f08503ada Add a new MIDI monitor plugin
This plugin lets through all incoming MIDI events, and also shows the
latest ones in a human-readable format directly on the mixer strip. The
user can choose the font size and the number of recent events displayed,
as well as whether to print values in decimal or hexadecimal, and
whether to print system events.
2016-07-11 15:29:56 +02:00
Robin Gareus
bcfe7c2daa elaborate documented raw audio/midi buffer lua example 2016-07-11 03:05:43 +02:00
Robin Gareus
4bb54f4128 refine lua-script documentation 2016-07-10 16:48:38 +02:00
Robin Gareus
77fa4462f9 add a raw midi buffer plugin example 2016-07-10 14:46:41 +02:00
Robin Gareus
53b51ee536 update lua-biquad: add en/disable 2016-07-07 16:45:10 +02:00
Robin Gareus
29184a2b72 rewrite spectrogram using PBD::Ringbuffer 2016-07-07 15:37:11 +02:00
Robin Gareus
8d360e8628 fix a-High/LowPass transfer-fn display visual bleed 2016-07-06 04:05:46 +02:00
Robin Gareus
83e1d9fff3 tweak a-series plugin names 2016-07-05 17:17:59 +02:00
Robin Gareus
11d2074ee6 more lua-script updates:
* comments and explain amp4.lua
* move amp1-3 to "Example" category
2016-07-04 01:48:23 +02:00
Robin Gareus
3267b4892c update lua scripts
* add proper amplifier (smooth gain change) + text-example
* remove commented no-inplace from High/Low pass
* amend 913609be inline spectrogam re-init
2016-07-04 00:20:11 +02:00
Robin Gareus
913609becc add grid to inline-spectrum 2016-07-03 14:46:29 +02:00
Robin Gareus
9c29e99345 HP/LP: enforce enum integr type (inline control sends continuous value) 2016-07-03 01:53:29 +02:00
Robin Gareus
ff0e1ac79b update lua-scripts:
* add an inline spectrum display
* fix re-init HP/LP and Biquad
* add some comments, labels etc
2016-07-03 00:05:02 +02:00
Robin Gareus
f2d2bcfd10 fix lua filters for multi-channels processing 2016-07-01 16:02:03 +02:00
Robin Gareus
d47fb0ccaf update lua script to use new remote_id lookup API 2016-05-31 23:51:22 +02:00
Robin Gareus
39e818a03a prototype lua midi generators & filters and port event-rewrite 2016-05-29 20:36:32 +02:00
Robin Gareus
491d183c78 lua script to remove all unknown processors 2016-05-23 22:27:09 +02:00
Robin Gareus
1cf6661196 add a lua high/low pass filter with configurable slope 2016-05-23 00:43:55 +02:00
Robin Gareus
d6aa79bca5 complete lua DSP filter with parameter interpolation & comments 2016-05-21 16:24:15 +02:00
Robin Gareus
e82f0cb763 add an lua DSP example filter w/inline display 2016-05-20 23:43:47 +02:00
Robin Gareus
c560ca67bd some love for session-scripts. 2016-05-14 23:59:32 +02:00
Robin Gareus
e89e799eb5 lua script to bounce regions w/processing and replace the region 2016-05-05 23:49:44 +02:00
Robin Gareus
d6fb182e9b add Lua DSP plugin category 2016-04-29 02:57:57 +02:00
Robin Gareus
09e5730ffd lua snippet to interact with portengine 2016-04-26 18:16:14 +02:00
Robin Gareus
eed0a7965c example multi-channel synth for testing (revert this) 2016-04-15 23:05:51 +02:00
Robin Gareus
769163c889 change lua synth to multi-output
lua processors follow the same connection logic I/O as AudioUnit.
handy for testing.
2016-04-15 00:17:09 +02:00
Robin Gareus
5bbfd0d1bd luaproc: assert instance access 2016-04-14 03:08:58 +02:00
Robin Gareus
baf6319613 update and cleanup lua example scripts 2016-04-11 14:36:57 +02:00
Robin Gareus
f67c204121 Add tom's additions to tom's loop and turn it into an Action Script 2016-04-11 00:04:53 +02:00
Robin Gareus
49656a2d7c fix loop example script (updated API) 2016-04-10 23:02:00 +02:00
Robin Gareus
c76ef64870 some more example lua scripts 2016-04-10 20:57:24 +02:00
Robin Gareus
fcb9092e2c add undo to the lua bounce+loop example script, just because. 2016-04-10 02:01:27 +02:00
Robin Gareus
fa7b15babf exercise new lua bindings 2016-04-09 15:45:30 +02:00
Robin Gareus
5b60070034 add "for each track" snippet. 2016-04-07 22:13:00 +02:00