X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=_manual%2F24_lua-scripting%2F01_brain_dump.html;h=c73fa4de9b8411814d618803d08c6e799fe0275f;hb=ef07095586ef14e1d61ef5e1e56b1f3b9b88cb75;hp=2a8be189e77871949b6ad8ca321e58c91eaba526;hpb=a39c23ba18599cbc07f3591b92f1bab15e4e334d;p=ardour-manual-diverged diff --git a/_manual/24_lua-scripting/01_brain_dump.html b/_manual/24_lua-scripting/01_brain_dump.html index 2a8be18..c73fa4d 100644 --- a/_manual/24_lua-scripting/01_brain_dump.html +++ b/_manual/24_lua-scripting/01_brain_dump.html @@ -15,13 +15,13 @@ Examples for these include voice-activate (record-arm specific tracks and roll t rename all regions after a specific timecode, launch an external application when a certain track is soloed, generate automation curves or simply provide a quick shortcut for a custom batch operation.

-Cases like this call for means to extend the DAW without actually changing the DAW itself. This is here scripting comes in. +Cases like this call for means to extend the DAW without actually changing the DAW itself. This is where scripting comes in.

"Scripting" refers to tasks that could alternatively be executed step-by-step by a human operator.

Lua is a tiny and simple language which is easy to learn, yet allows for comprehensive solutions. Lua is also a glue language it allows to tie existing component in Ardour together in unprecedented ways, -and most importantly Lua is one of the few scripting-languages which be safely used in a real-time environment. +and most importantly Lua is one of the few scripting-languages which can be safely used in a real-time environment.

A good introduction to Lua is the book Programming in Lua. The first edition is available online, but if you have the means buy a copy of the book, it not only helps to support the Lua project, @@ -142,7 +142,7 @@ The common part for all scripts is the "Descriptor". It's a Lua function which r

type [required]
one of "DSP", "Session", "EditorHook", "EditorAction" (the type is not case-sensitive)
name [required]
Name/Title of the script
-
authorYour Name +
author
Your Name
license
The license of the script (e.g. "GPL" or "MIT")
description
A longer text explaining to the user what the script does