13
0
Commit Graph

228 Commits

Author SHA1 Message Date
7aaaae8bfe Initial checkin of a Full Band template script. 2017-08-14 22:03:57 -05:00
f27e53f485 Add support for scripted meta-templates. 2017-08-11 15:24:05 +02:00
8fbc2c6484 Add some more Lua script examples 2017-08-10 02:26:16 +02:00
ceb31ff683 Rough-in an qm-barbeattracker Lua example 2017-08-04 01:56:50 +02:00
a9d2955f83 Replace a ringbuffer with a multi-reader circular table
a-Inline Spectrogram used a ringbuffer to send mixed down audio data
from the DSP thread to the inline display thread. The problem is that
several inline display threads can coexist (one for the channel strip in
the editor, one for the channel strip in the mixer, and soon one for an
inline display in the generic plugin UI). A ringbuffer is single-writer
single-reader so each display only got part of the data, and all were
competing for it.

Replace it with a circular table, where the DSP sets a write pointer,
and every (inline display) user keeps its own read pointer and checks it
is not so far in the past as to be overtaken by the DSP write pointer.
2017-07-24 15:05:05 +02:00
2ed15cfc7e Fix a typo in recent commit 2017-07-17 12:08:42 +02:00
3b1a6a350e Simplify _midifilter.lua example
Instead of and-ing the first byte to extract the event type, it is
simpler and easier to understand to bitwise-shift it, so that we don't
get the result as a multiple of 2^4, but as values corresponding to the
MIDI specification.

Currently, a guard is put against events with completely empty data,
though maybe ardour discards those earlier on since that would not be
valid MIDI.
2017-07-14 15:16:33 +02:00
104bebe1bd Update LuaDialog example script to include File/Folder selection 2017-06-08 13:22:43 +02:00
a55fb928a7 Lua bindings to set group color 2017-05-03 17:53:00 +02:00
4521c1d525 Annotate CC-to-Automation Lua-script and fix start/pos offset. 2017-04-27 15:36:50 +02:00
b8a7b444e2 Update LuaDialog scripts 2017-04-25 16:46:21 +02:00
6efa5d4be2 Update CC-to-Automation script: use Lua-Dialog for parameters 2017-04-25 14:01:38 +02:00
72017b6117 Add a Lua script to exercise the LuaDialog 2017-04-25 14:01:34 +02:00
061f005ac3 Add example script to convert MIDI-CC to Plugin Automation 2017-04-24 04:21:25 +02:00
b7b1ccc8b6 Simplify example script
Now that AutomationList is-a ControlList no explicit cast is needed.
2017-04-24 04:21:25 +02:00
448bc635e5 Add example script to access midi-region events 2017-03-18 19:10:19 +01:00
71c5137a25 Lua VAMP plugin list: print value-names 2017-03-17 18:27:45 +01:00
96a3e4d321 Add example Lua script to print region transients 2017-03-17 18:13:16 +01:00
d98eca6811 Update scripts to use == operator 2017-03-16 20:55:41 +01:00
85d741d908 Bundle a session-callback script 2017-03-14 03:29:03 +01:00
7bada83a3f two new action scripts (no icons yet) 2017-03-07 00:32:19 +01:00
6bb2416df7 Add some Lua-script icon. 2017-02-24 23:41:22 +01:00
1e8af6535f add an example script to show/hide TAVs 2017-02-24 16:10:14 +01:00
9e543beb56 Add some convenient public editor methods (for lua-bindings)
and s/get// in the old API for consistency.
2017-02-24 16:10:14 +01:00
1e4e97019d Lua bindings to access editor selection + region selection bindings 2017-02-23 22:32:32 +01:00
cdbf6215c9 Update lua-script to use new playlist-API 2017-02-23 03:22:24 +01:00
5789206f88 update plugin-utils Lua example script 2017-02-21 16:15:13 +01:00
120e75b420 And some more action-script icons 2017-02-20 03:58:52 +01:00
83aac1ce88 Add 2 more action-script icons 2017-02-20 00:53:09 +01:00
8d8666d041 NO-OP; clean up script spacing and remove goto 2017-02-20 00:52:40 +01:00
44852aa529 Add a Lua script to send multiple tracks to an aux-bus. 2017-02-20 00:30:15 +01:00
13b1b607b5 Clean up create drum-tracks script (no global variables) 2017-02-19 16:03:17 +01:00
1ab3d33df7 Some more EditorAction icons & color API update 2017-02-18 16:12:59 +01:00
0a40909655 Bundle Audio to MIDI Lua script 2017-02-18 02:25:28 +01:00
b475a81f98 Update Lua action-icon doc 2017-02-17 23:28:53 +01:00
b4dd020139 ..and another action-button icon 2017-02-17 21:03:30 +01:00
144bfba2dd Example Lua action script icon 2017-02-17 18:58:11 +01:00
64eb3bc724 Refine faders-to-trim script 2017-02-17 11:19:15 +01:00
83c9bb20b7 Don't bundle rewind example script 2017-02-17 11:14:43 +01:00
fef0739a10 Update solo/mute example script (use sessions' set_control(s) 2017-02-17 03:38:15 +01:00
61ae00ed23 Example lua script to re-order/reverse plugins 2017-02-15 18:12:51 +01:00
dd66542e91 Update Lua script - API change after 59daffea1 2017-02-14 14:52:07 +01:00
26118af1a4 Update scripts for API change in 59daffea1 2017-02-13 18:44:59 +01:00
f2327835f9 Lua script to save a snapshot after export 2017-02-02 14:20:08 +01:00
ddeaa6c52d Add Example script to import file(s) 2017-01-21 20:18:27 +01:00
758f183b99 add delete x-run marker script 2017-01-19 19:35:55 +01:00
d0596d815f prototype track/bus sharing: state-export 2017-01-08 01:23:01 +01:00
83c964cfd4 Add an example script to start recording on a MIDI event 2017-01-02 00:52:25 +01:00
910e369140 Add script to exercise AudioRegion Peak/RMS Normalization 2016-12-28 22:19:37 +01:00
3242bbd84c Add some doc/comments to the timecode example script 2016-12-08 15:42:11 +01:00
462deb3544 Add timecode example script 2016-12-08 12:45:44 +01:00
6e2dfe65bf create_drum_tracks lua script by Phillip Smith 2016-12-06 15:34:08 -06:00
fb257f1ed1 add_filters lua script by Phillip Smith 2016-12-06 15:34:08 -06:00
d64646a2ca fader-to-trim lua script by Phillip Smith 2016-12-05 09:48:35 -06:00
a2c0b10d8a a-High/LowPass allow 8K samples inclusive 2016-11-24 21:03:56 +01:00
e7243c0486 MIDI LFO generator plugin 2016-11-21 21:24:11 +01:00
b2aaffadc5 Add a Lua script snippet processing region data from the editor 2016-11-19 21:58:03 +01:00
1805437110 Add example script to modulate parmaters globally 2016-11-16 18:56:45 +01:00
f217487aff fix typo in example script 2016-11-12 16:19:36 +01:00
nick_m
953dcb9153 update lua script to follow Region API change. 2016-11-11 04:02:17 +11:00
ae63243bf3 Revert "update lua script to follow API change (bb459a2e7d)"
This reverts commit f09e9347e1.
because the new-midi branch wasn't merged, yet
2016-11-10 17:32:19 +01:00
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