13
0
Commit Graph

167 Commits

Author SHA1 Message Date
e34f8dbf1e don't ship fan-out instrument lua script (but keep it as example) 2016-11-10 04:55:03 +01:00
ce77df24ca prototype script to fan out instrument outputs to busses 2016-11-10 01:32:08 +01:00
a369db5600 another lua DSP example 2016-11-09 13:06:01 +01:00
f09e9347e1 update lua script to follow API change (bb459a2e7d) 2016-10-31 15:27:25 +01:00
Nathan Stewart
4ab80e16e9 vamp_audio_to_midi script now operates on a list of regions, calling qm-transcription for each region. The MIDI region holding the output is resized to the extents of the audio region list. This is because qm-transcription is a memory hog and barfs if you try to process too big a region. 2016-10-21 17:31:57 +02:00
e4edd8e602 Clarify documentation of Lua inter-processor communication 2016-10-12 20:08:55 +02:00
9543452bb0 make raw-midi script pass unit-tests (no midi port on track) 2016-10-11 00:01:27 +02:00
ecba48a116 Example Lua script for inter-plugin communication 2016-10-10 17:34:18 +02:00
nick_m
4faf44588f Interpret start & length_beats properties as double rather than Evoral::Beats.
- Evoral::Beats operator!= would prevent an increment
	  of start_beats by intervals of less than a tick,
	  so its possible that other subtle problems
	  existed due to this kind of thing.
2016-10-10 03:39:57 +11:00
631c8afc66 Audio->MIDI script: properly handle MIDI-region start-offset 2016-10-09 16:42:47 +02:00
d6453cf534 add BBT offsets to Audio->MIDI script 2016-10-07 16:33:50 +02:00
39653830dc Arrrgh Ardour starts counting at 1 :( 2016-10-07 14:54:54 +02:00
d988a4b978 fix script now that block + step size are set correctly 2016-10-07 14:42:11 +02:00
5e63206216 prototype polyphonic audio to midi script 2016-10-07 03:45:59 +02:00
392972fb50 Lua Script Example for Audio to Midi Transcription (work in progress) 2016-10-06 18:49:46 +02:00
c2c5062539 Add Lua snippet to list and describe Vamp Plugins 2016-10-06 17:50:57 +02:00
cd5d4b081e elaborate Lua-Vamp example 2016-10-05 16:07:03 +02:00
c8157dd117 add Lua script example for vamp onset analysis 2016-10-03 18:26:16 +02:00
2607e154ea add vamp-plugin example lua script 2016-10-03 03:52:51 +02:00
2e8621fdbf update script to follow libardour API change 2016-09-18 09:55:59 +02:00
a5169907e5 match ID of Inline Scope following 2b7a89e 2016-09-18 01:17:05 +02:00
37f7d7595c Tweak PR 269 for portable file-path 2016-09-12 12:05:03 +02:00
Johannes Mueller
cf0d06c137 Cleaned up messed indents (tabs vs. spaces) 2016-09-12 12:03:16 +02:00
Johannes Mueller
9d927b54c1 Lua script to export markers as mp4 chapters
Location markers, that are not xruns are exported as mp4 chapter
marks. This requires `Location::name()` to be exposed to Lua.
2016-09-12 12:03:16 +02:00
Johannes Mueller
ba0eb858bc Example script to prepare the session to record
Often one needs to make sure that all the relevant settings are made
before one actually starts recording. The Lua interface can take care of
this task easily, that the operater by just one action can make sure
that the relevant settings (e.g. recenables, playhead position, etc.)
are ready for recording. This example was written with a quasi live
podcast scenario in mind.

See `scripts/prepare_record_example.lua` for details.
2016-09-12 11:10:40 +02:00
9ada4fcc0f and another SNAFU... 2016-08-30 23:54:25 +02:00
d4f4342bb2 fix jump out of local scope 2016-08-30 23:41:07 +02:00
43078f7e88 correct comments and avoid /={4+}/ 2016-08-30 23:20:32 +02:00
Thomas Brand
f4751f1018 -put method print_help() inside factory() (!) -nop / add comments
Signed-off-by: Thomas Brand <tom@trellis.ch>
2016-08-30 23:16:16 +02:00
557bbcbfe7 tom's loop: fix arguments to add_region() 2016-08-30 20:42:27 +02:00
Thomas Brand
5ccfe6feae -adapt to new method syntax of add_region() to make script work with latest lua API -add help text; displayed on error in script output window
Signed-off-by: Thomas Brand <tom@trellis.ch>
2016-08-30 20:36:08 +02:00
3a5d394a8c notch: narrow the bandwidth with increasing frequency 2016-08-28 00:18:06 +02:00
90a5fbdb27 fix typo in notch example script 2016-08-28 00:02:16 +02:00
bddcb9eb1f newbie documentation 2016-08-27 23:35:02 +02:00
36a0ddd9e4 notch-bank: increase max Q, use logscale 2016-08-27 19:56:08 +02:00
798cd4831b update notch-bank to variable i/o, increase max stages to 100 2016-08-27 19:47:53 +02:00
21dace3075 add a notch-bank filter 2016-08-27 17:48:11 +02:00
6a396d887c example fluidsynth lua script (currently: hardcoded .sf2) 2016-08-23 22:21:03 +02:00
c6ba653c9b pong on the major scale (and fix a typo) 2016-08-22 03:26:14 +02:00
970241b654 more musical pong. uhm ping. 2016-08-21 23:02:37 +02:00
a55fe94b5e NO-OP: more source code comments 2016-08-21 17:57:55 +02:00
ba6377a801 refurbish a-pong
* add code comments
* support no-inplace audio processing
* display score
* add re-init & difficulty settings
2016-08-21 12:34:15 +02:00
d5f55246cc clean up a-pong 2016-08-21 01:36:50 +02:00
a0493283c4 showcase 2016-08-21 00:24:23 +02:00
3dc71953de fix SNAFU in track-properties script 2016-08-18 19:49:16 +02:00
036bcb259b add some track properties example script 2016-08-17 20:31:04 +02:00
7fa99abc3a These are not the scripts you're looking for 2016-08-17 02:04:27 +02:00
55089df0c4 remove debug output 2016-08-10 03:25:25 +02:00
a8143ea44e prefix no-inst script with an underscore and skip install 2016-08-10 03:12:11 +02:00
2b7a89ecff prefix blessed scripted DSP plugins with a-* 2016-08-10 03:11:49 +02:00
72964609c9 add a script to multi-split regions 2016-08-06 22:14:24 +02:00
66470b96b7 Remove dsp_has_midi_*() in favor of dsp_ioconfig()
_has_midi_*put members of LuaProc will be set according to the actual
configuration chosen, for configure_io() and run() to use.
2016-08-06 19:38:09 +02:00
4e693c1830 add a script to exercise varispeed playback 2016-07-24 13:00:15 +02:00
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
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
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
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
7e1a722a15 clean up Hp/Lp code 2016-07-18 10:53:48 +02:00
3458844878 cleanup High/Low Pass
* shorten Name
* fix typo in Time Constant
* remove some local variables
2016-07-17 14:10:13 +02:00
65eeeb7a65 remove old a-Hi/Low pass 2016-07-17 01:20:45 +02:00
00b8cff66f clean up a-HP/LP 2016-07-17 01:20:23 +02:00
e7a154b9dd Hi AND low pass filter -- fresh from the oven werks. 2016-07-16 23:05:30 +02:00
543e230f79 consistent height of a-eq a-hp/lp 2016-07-14 16:52:43 +02:00
a4ff28006e midimon: add option to format note-names 2016-07-12 23:02:46 +02:00
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
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
e8cd2949bd update MIDIEvent lua bindings/example 2016-07-12 01:46:58 +02:00
57df370e2a add a convenient lua forward mapped buffers method 2016-07-11 22:36:00 +02:00
2d32b50a3f Improve MIDI monitor 2016-07-11 17:39:59 +02:00
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
bcfe7c2daa elaborate documented raw audio/midi buffer lua example 2016-07-11 03:05:43 +02:00
4bb54f4128 refine lua-script documentation 2016-07-10 16:48:38 +02:00
77fa4462f9 add a raw midi buffer plugin example 2016-07-10 14:46:41 +02:00
53b51ee536 update lua-biquad: add en/disable 2016-07-07 16:45:10 +02:00
29184a2b72 rewrite spectrogram using PBD::Ringbuffer 2016-07-07 15:37:11 +02:00
8d360e8628 fix a-High/LowPass transfer-fn display visual bleed 2016-07-06 04:05:46 +02:00
83e1d9fff3 tweak a-series plugin names 2016-07-05 17:17:59 +02:00
11d2074ee6 more lua-script updates:
* comments and explain amp4.lua
* move amp1-3 to "Example" category
2016-07-04 01:48:23 +02:00
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
913609becc add grid to inline-spectrum 2016-07-03 14:46:29 +02:00
9c29e99345 HP/LP: enforce enum integr type (inline control sends continuous value) 2016-07-03 01:53:29 +02:00
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
f2d2bcfd10 fix lua filters for multi-channels processing 2016-07-01 16:02:03 +02:00
d47fb0ccaf update lua script to use new remote_id lookup API 2016-05-31 23:51:22 +02:00
39e818a03a prototype lua midi generators & filters and port event-rewrite 2016-05-29 20:36:32 +02:00
491d183c78 lua script to remove all unknown processors 2016-05-23 22:27:09 +02:00
1cf6661196 add a lua high/low pass filter with configurable slope 2016-05-23 00:43:55 +02:00
d6aa79bca5 complete lua DSP filter with parameter interpolation & comments 2016-05-21 16:24:15 +02:00
e82f0cb763 add an lua DSP example filter w/inline display 2016-05-20 23:43:47 +02:00
c560ca67bd some love for session-scripts. 2016-05-14 23:59:32 +02:00
e89e799eb5 lua script to bounce regions w/processing and replace the region 2016-05-05 23:49:44 +02:00
d6fb182e9b add Lua DSP plugin category 2016-04-29 02:57:57 +02:00
09e5730ffd lua snippet to interact with portengine 2016-04-26 18:16:14 +02:00
eed0a7965c example multi-channel synth for testing (revert this) 2016-04-15 23:05:51 +02:00
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
5bbfd0d1bd luaproc: assert instance access 2016-04-14 03:08:58 +02:00
baf6319613 update and cleanup lua example scripts 2016-04-11 14:36:57 +02:00
f67c204121 Add tom's additions to tom's loop and turn it into an Action Script 2016-04-11 00:04:53 +02:00
49656a2d7c fix loop example script (updated API) 2016-04-10 23:02:00 +02:00
c76ef64870 some more example lua scripts 2016-04-10 20:57:24 +02:00