with one click
ardour-automator
Headless Ardour DAW automation via Lua scripting and CLI.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Headless Ardour DAW automation via Lua scripting and CLI.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | ardour-automator |
| category | daw-master |
| description | Headless Ardour DAW automation via Lua scripting and CLI. |
| triggers | [] |
| provides | ["run_script","probe","export","arpeggiators"] |
Wraps Ardour's headless operation modes:
ardour8-lua / ardour6-lua — Lua scripting interpreter (versioned binaries preferred)luasession — headless session accessardour --script — run Lua scripts (legacy, may not be available in all builds)run_script(script_path, session_path=None, dry_run=False, cleanup=False) — Execute a Lua automation scriptprobe(session_path) — Get session metadata (tracks, duration, tempo)export(session_path, output_path, format="wav", dry_run=False) — Render session or stemsThe arpeggiators module provides Lua script generators for three classic arpeggiator
DSP plugins by Albert Gräf, copied from his ardour-lua collection.
All functions return a complete Lua script as a string. Use the convenience runners
(run_simple_arp(), run_barlow_arp(), run_raptor_arp()) to render a script to a
temporary file and execute it via run_script() automatically.
simple_arp)Basic monophonic arpeggiator with up/down/exclusive/inclusive/order/random patterns.
render_simple_arp(division=2, octave_up=0, octave_down=0, pattern=1, ...) → strrun_simple_arp(dry_run=False, cleanup=False, **render_kwargs) → dictKey parameters:
division: beat subdivisions (1–16)pattern: 1=up, 2=down, 3=exclusive, 4=inclusive, 5=order, 6=randomlatch / sync: boolean modesbarlow_arp)Uses indispensability theory (Barlow) to accentuate notes rhythmically. Includes velocity and filter accentuation based on metric weight.
render_barlow_arp(division=1, pattern=1, min_vel=60, max_vel=120, min_filter=0.0, max_filter=1.0, ...) → strrun_barlow_arp(dry_run=False, cleanup=False, **render_kwargs) → dictKey parameters:
min_filter / max_filter: filter pulses by indispensability weight [0,1]division: note value (1=whole, 4=quarter, 7=32nd)debug: verbosity (0–2)raptor_arp)Advanced random arpeggiator with harmonicity-based filtering, step width, density, and uniqueness control.
render_raptor_arp(division=1, mode=0, min_vel=60, max_vel=120, velmod=0, gain=0.5, ...) → strrun_raptor_arp(dry_run=False, cleanup=False, **render_kwargs) → dictKey parameters:
mode: 0=random, 1=up, 2=down, 3=up-down, 4=down-up, 5=outside-inpref, pmin, pmax, pmod: pitch select filterhmin, hmax, hmod: harmonicity filtersmin, smax, smod: step width / density filternmax, uniq: repetition limit / uniqueness filterraptor: enable raptor algorithm (0/1)from ardour_automator import arpeggiators as arp
# Generate and run a Barlow arpeggiator on a running Ardour session
result = arp.run_barlow_arp(
division=4, # 1/4 notes
pattern=3, # exclusive up/down
min_filter=0.3, # accent stronger pulses
max_filter=0.9,
latch=1,
dry_run=False,
)
Use when working with the Sleepy Circuits Hypno 2 video synthesizer/resampler — 2-channel video mixer/looper, shader engine, MIDI CC mapping, CV/modulation, sampler. Firmware v0.0.163+.
Hardware instrument skills — reference guides for each device in the music studio setup.
GLSL fragment shader techniques adapted for the Hypno 2 video synthesizer — single-pass generative visuals and video effects optimized for Raspberry Pi 5, 5-uniform limit, CC-mapped parameters
Korg KAOSS DJ — USB DJ controller with X-Y touchpad, Serato DJ Intro integration, KAOSS effects, EQ, crossfader, and MIDI on Linux
Korg KAOSSILATOR dynamic phrase synthesizer (2007 model) — X-Y touchpad, 100 programs, gate arpeggiator, phrase loop recording, USB MIDI on Linux
Use when working with the Korg kaossilator 2S dynamic phrase synthesizer — X-Y touchpad, 150 programs, 50 arp patterns, loop recording, audio player, master recorder, microSD storage, and USB MIDI on Linux.