From d6b5c357848c26ccdb5e25c19ba6550cfaae6dc0 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 21 May 2016 16:43:21 +0200 Subject: [PATCH] update lua class doc --- .../24_lua-scripting/02_class_reference.html | 41 +++++++++++-------- 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/_manual/24_lua-scripting/02_class_reference.html b/_manual/24_lua-scripting/02_class_reference.html index 0351e24d..5eda4751 100644 --- a/_manual/24_lua-scripting/02_class_reference.html +++ b/_manual/24_lua-scripting/02_class_reference.html @@ -566,18 +566,21 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

calculate peaks

data
data to analyze
min
result, minimum value found in range
max
result, max value found in range
n_samples
number of samples to analyze

 ARDOUR:DSP:Biquad

-

C‡: ARDOUR::DSP::BiQuad

+

C‡: ARDOUR::DSP::Biquad

Biquad Filter

+ - + - + + + - +
Constructor
ARDOUR.DSP.Biquad (double)

Instantiate Biquad Filter

samplerate
Samplerate
Methods
voidcompute (Type, double, double, double)
voidcompute (Type, double, double, double)

setup filter, compute coefficients

type
filter type (LowPass, HighPass, etc)
freq
filter frequency
Q
filter quality
gain
filter gain
voidreset ()
floatdB_at_freq (float)

filter transfer function (filter response for spectrum visualization)

freq
frequency

Returns gain at given frequency in dB (clamped to -120..+120)

voidreset ()

reset filter state

voidrun (FloatArray, unsigned int)
voidrun (FloatArray, unsigned int)

process audio data

data
pointer to audio-data
n_samples
number of samples to process

 ARDOUR:DSP:DspShm

@@ -2086,7 +2089,8 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods LuaMetaTablearray () LuaTableget_table () - boolsameinstance (FloatArray) + FloatArrayoffset (unsigned int) + boolsameinstance (FloatArray) voidset_table (LuaTable {float})

 C:IntArray

@@ -2096,7 +2100,8 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods LuaMetaTablearray () LuaTableget_table () - boolsameinstance (IntArray) + IntArrayoffset (unsigned int) + boolsameinstance (IntArray) voidset_table (LuaTable {int})

 C:StringList

@@ -2755,17 +2760,17 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
  • Editing.ImportSerializeFiles
  • Editing.ImportDistinctChannels
  • -

     ARDOUR.DSP.BiQuad.Type

    +

     ARDOUR.DSP.Biquad.Type

    Class Index

    - + -
    Ardour 4.7-1011-g1968f94  -  Sun, 15 May 2016 13:59:13 +0200
    +
    Ardour 4.7-1065-ge63c2c3  -  Sat, 21 May 2016 16:17:54 +0200