13
0
Commit Graph

96 Commits

Author SHA1 Message Date
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