X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fclass-reference.html;h=6d324b8cb7dc2dd6133ea8bf209ad8fa1dd2404e;hb=54bca41fed4d8a2eae3818151273a94022c6511b;hp=45c410312dd432751332d97cdfa7e6029a7a3ca3;hpb=10ed3719edfb68e676023a5c43d21fb9bcaf4a37;p=ardour-manual diff --git a/include/class-reference.html b/include/class-reference.html index 45c4103..6d324b8 100644 --- a/include/class-reference.html +++ b/include/class-reference.html @@ -32,10 +32,10 @@ Operations are performed on objects. One gets a reference to an object and then e.g obj = Session:route_by_name("Audio") obj:set_name("Guitar").

-Lua automatically follows C++ class inheritance. e.g one can directly call all SessionObject and Route methods on Track object. However lua does not automatically promote objects. A Route object which just happens to be a Track needs to be explicily cast to a Track. Methods for casts are provided with each class. Note that the cast may fail and return a nil reference. +Lua automatically follows C++ class inheritance. e.g one can directly call all SessionObject and Route methods on Track object. However lua does not automatically promote objects. A Route object which just happens to be a Track needs to be explicitly cast to a Track. Methods for casts are provided with each class. Note that the cast may fail and return a nil reference.

-Likewise multiple inheritance is a non-trivial issue in lua. To avoid performance penalties involved with lookups, explicit casts are required in this case. One example is ARDOUR:SessionObject which is-a StatefulDestructible which inhertis from both Stateful and Destructible. +Likewise multiple inheritance is a non-trivial issue in lua. To avoid performance penalties involved with lookups, explicit casts are required in this case. One example is ARDOUR:SessionObject which is-a StatefulDestructible which inherits from both Stateful and Destructible.

Object lifetimes are managed by the Session. Most Objects cannot be directly created, but one asks the Session to create or destroy them. This is mainly due to realtime constrains: @@ -95,7 +95,7 @@ print (rv, ref[1], ref[2])

Pointer Classes

Libardour makes extensive use of reference counted boost::shared_ptr to manage lifetimes. -The Lua bindings provide a complete abstration of this. There are no pointers in lua. +The Lua bindings provide a complete abstraction of this. There are no pointers in lua. For example a ARDOUR:Route is a pointer in C++, but lua functions operate on it like it was a class instance.

@@ -115,12 +115,18 @@ This is not unlike a = nil a:test() which results in en error "

From the lua side of things there is no distinction between weak and shared pointers. They behave identically. -Below they're inidicated in orange and have an arrow to indicate the pointer type. +Below they're indicated in orange and have an arrow to indicate the pointer type. Pointer Classes cannot be created in lua scripts. It always requires a call to C++ to create the Object and obtain a reference to it.

Class Documentation

+

 ARDOUR

+
+ + + +
Methods
RCConfigurationconfig ()

 ARDOUR:Amp

C‡: boost::shared_ptr< ARDOUR::Amp >, boost::weak_ptr< ARDOUR::Amp >

is-a: ARDOUR:Processor

@@ -130,7 +136,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods GainControlgain_control () boolisnil () - boolsameinstance (Amp)

Inherited from ARDOUR:Processor

@@ -139,6 +144,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -149,10 +155,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
boolactive ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
ChanCountinput_streams ()
ChanCountoutput_streams ()
Cast
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -188,7 +195,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - @@ -225,7 +231,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C -
Methods
std::stringname ()
unsigned intoutput_channels ()
std::stringoutput_device_name ()
unsigned intperiod_size ()
boolsameinstance (AudioBackend)
floatsample_rate ()
intset_buffer_size (unsigned int)

Set the buffer size to be used.

The device is assumed to use a double buffering scheme, so that one buffer's worth of data can be processed by hardware while software works on the other buffer. All known suitable audio APIs support this model (though ALSA allows for alternate numbers of buffers, and CoreAudio doesn't directly expose the concept).

check buffer for silence

nframes
number of frames to check
n
first non zero sample (if any)

Returns true if all samples are zero

FloatArraydata (long)
voidread_from (FloatArray, long, long, long)
boolsameinstance (AudioBuffer)
voidsilence (long, long)

silence buffer

len
number of samples to clear
offset
start offset
@@ -277,7 +282,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods boolisnil () longread (FloatArray, FloatArray, FloatArray, long, long, unsigned int) - boolsameinstance (AudioPlaylist)

Inherited from ARDOUR:Playlist

@@ -295,6 +299,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -317,7 +322,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
gap
from the beginning of the region to the next beginning
end
the first frame that does _not_ contain a duplicated frame
Regionfind_next_region (long, RegionPoint, int)
longfind_next_region_boundary (long, int)
longfind_next_transient (long, int)
voidlower_region (Region)
voidlower_region_to_bottom (Region)
unsigned intn_regions ()
AudioPlaylistto_audioplaylist ()
MidiPlaylistto_midiplaylist ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -332,7 +337,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Methods
std::stringname ()
-
Methods
boolisnil ()
boolsameinstance (AudioPort)

Inherited from ARDOUR:Port

@@ -377,7 +381,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + @@ -396,8 +402,8 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - +
Constructor
ARDOUR.AudioRangeList ()
Methods
AudioRangeback ()
boolempty ()
AudioRangefront ()
LuaIteriter ()
voidreverse ()
unsigned longsize ()

Returns the maximum (linear) amplitude of the region, or a -ve number if the Progress object reports that the process was cancelled.

doublerms (Progress)

Returns the maximum (rms) signal power of the region, or a -1 if the Progress object reports that the process was cancelled.

boolsameinstance (AudioRegion)
floatscale_amplitude ()
LuaTable(int, ...)separate_by_channel (RegionVector&)
voidset_scale_amplitude (float)

Inherited from ARDOUR:Region

@@ -408,11 +414,13 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C boolcan_move () boolcaptured () voidclear_sync_position () + Controlcontrol (Parameter, bool) boolcovers (long) voidcut_end (long, int) voidcut_front (long, int) DataTypedata_type () boolexternal () + boolhas_transients () boolhidden () boolimport () boolis_compound () @@ -456,6 +464,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C LuaTable(long, ...)sync_offset (int&) longsync_position ()

Returns Sync position in session time

+ Int64Listtransients () voidtrim_end (long, int) voidtrim_front (long, int) voidtrim_to (long, long, int) @@ -466,7 +475,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C MidiRegionto_midiregion () Readableto_readable () -

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -491,8 +500,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - - @@ -512,9 +519,10 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
Methods
std::stringname ()
longread (FloatArray, long, long, int)
longreadable_length ()
longreadable_length ()
boolsameinstance (AudioSource)
boolsameinstance (AudioSource)
floatsample_rate ()
Cast
Readableto_readable ()
boolwritable ()
Cast
AudioSourceto_audiosource ()
FileSourceto_filesource ()
MidiSourceto_midisource ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -530,7 +538,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Methods
std::stringname ()
-
Methods
boolisnil ()
boolsameinstance (AudioTrack)

Inherited from ARDOUR:Track

@@ -561,7 +568,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + @@ -573,12 +580,12 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + - + @@ -592,6 +599,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +

enable custom plugin-insert configuration

proc
Processor to customize
count
number of plugin instances to use (if zero, reset to default)
outs
output port customization
sinks
input pins for variable-I/O plugins

Returns true if successful

IOinput ()
Deliverymain_outs ()

the signal processorat at end of the processing chain which produces output

the signal processor at at end of the processing chain which produces output

boolmuted ()
ChanCountn_inputs ()
ChanCountn_outputs ()
PeakMeterpeak_meter ()

************************************************************* Pure interface begins here*************************************************************

intremove_processor (Processor, ProcessorStreams, bool)

remove plugin/processor

proc
processor to remove
err
error report (index where removal vailed, channel-count why it failed) may be nil
need_process_lock
if locking is required (set to true, unless called from RT context with lock)

Returns 0 on success

remove plugin/processor

proc
processor to remove
err
error report (index where removal failed, channel-count why it failed) may be nil
need_process_lock
if locking is required (set to true, unless called from RT context with lock)

Returns 0 on success

intremove_processors (ProcessorList, ProcessorStreams)
boolremove_sidechain (Processor)
intreorder_processors (ProcessorList, ProcessorStreams)
intreplace_processor (Processor, Processor, ProcessorStreams)

replace plugin/processor with another

old
processor to remove
sub
processor to substitute the old one with
err
error report (index where removal vailed, channel-count why it failed) may be nil

Returns 0 on success

replace plugin/processor with another

old
processor to remove
sub
processor to substitute the old one with
err
error report (index where removal failed, channel-count why it failed) may be nil

Returns 0 on success

boolreset_plugin_insert (Processor)

reset plugin-insert configuration to default, disable customizations.

This is equivalent to calling

 customize_plugin_insert (proc, 0, unused)
proc
Processor to reset

Returns true if successful

voidset_active (bool, void*)
Amptrim ()
Cast
Automatableto_automatable ()
Slavableto_slavable ()
Trackto_track ()

Inherited from ARDOUR:Stripable

@@ -601,7 +609,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C AutomationControlcomp_makeup_control () AutomationControlcomp_mode_control () std::stringcomp_mode_name (unsigned int) - AutomationControlcomp_redux_control () + ReadOnlyControlcomp_redux_control () AutomationControlcomp_speed_control () std::stringcomp_speed_name (unsigned int) AutomationControlcomp_threshold_control () @@ -610,9 +618,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C AutomationControleq_enable_control () AutomationControleq_freq_control (unsigned int) AutomationControleq_gain_control (unsigned int) - AutomationControleq_hpf_control () AutomationControleq_q_control (unsigned int) AutomationControleq_shape_control (unsigned int) + AutomationControlfilter_enable_controllable (bool) + AutomationControlfilter_freq_controllable (bool) + AutomationControlfilter_slope_controllable (bool) GainControlgain_control () boolis_auditioner () boolis_hidden () @@ -641,8 +651,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C GainControltrim_control () Cast Routeto_route () + VCAto_vca () -

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -658,7 +669,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + @@ -674,7 +687,8 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + +
Methods
std::stringname ()
ARDOUR.AudioTrackList ()
Methods
LuaTableadd (LuaTable {AudioTrack})
AudioTrackback ()
boolempty ()
AudioTrackfront ()
LuaIteriter ()
voidpush_back (AudioTrack)
voidreverse ()
Methods
AutomationControlautomation_control (Parameter, bool)
boolisnil ()
boolsameinstance (Automatable)
Cast
Slavableto_slavable ()

 ARDOUR:AutomatableSequence

C‡: boost::shared_ptr< ARDOUR::AutomatableSequence<Evoral::Beats> >, boost::weak_ptr< ARDOUR::AutomatableSequence<Evoral::Beats> >

@@ -683,7 +697,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C -
Methods
boolisnil ()
boolsameinstance (AutomatableSequence)
Cast
Sequenceto_sequence ()
@@ -691,6 +704,8 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + +
Methods
AutomationControlautomation_control (Parameter, bool)
Cast
Slavableto_slavable ()

 ARDOUR:AutomationControl

C‡: boost::shared_ptr< ARDOUR::AutomationControl >, boost::weak_ptr< ARDOUR::AutomationControl >

@@ -701,20 +716,18 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods AutomationListalist () AutoStateautomation_state () - AutoStyleautomation_style () doubleget_value ()

Get the current effective `user' value based on automation state

boolisnil () - boolsameinstance (AutomationControl) voidset_automation_state (AutoState) - voidset_automation_style (AutoStyle) voidset_value (double, GroupControlDisposition)

Get and Set `internal' value

All derived classes must implement this.

Basic derived classes will ignore

group_override,
but more sophisticated children, notably those that proxy the value setting logic via an object that is aware of group relationships between this control and others, will find it useful.
voidstart_touch (double) - voidstop_touch (bool, double) + voidstop_touch (double) boolwritable () Cast Controlto_ctrl () + SlavableAutomationControlto_slavable ()

Inherited from PBD:Controllable

@@ -731,6 +744,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

 ARDOUR:AutomationList

C‡: boost::shared_ptr< ARDOUR::AutomationList >, boost::weak_ptr< ARDOUR::AutomationList >

+

is-a: Evoral:ControlList

AutomationList is a stateful wrapper around Evoral::ControlList. It includes session-specifics (such as automation state), control logic (e.g. touch, signals) and acts as proxy to the underlying ControlList which holds the actual data.

@@ -738,7 +752,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - @@ -747,6 +760,31 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
XMLNodeget_state ()
boolisnil ()
Commandmemento_command (XMLNode, XMLNode)
boolsameinstance (AutomationList)
booltouch_enabled ()
booltouching ()
boolwriting ()
Statefulto_stateful ()
StatefulDestructibleto_statefuldestructible ()
+

Inherited from Evoral:ControlList

+ + + + + + + + + + + + + + + + + + + + + + + +
Methods
voidadd (double, double, bool, bool)

add automation events

when
absolute time in samples
value
parameter value
with_guards
if true, add guard-points
with_initial
if true, add an initial point if the list is empty
voidclear (double, double)

remove all automation events between the given time range

start
start of range (inclusive) in audio samples
end
end of range (inclusive) in audio samples
voidclear_list ()
doubleeval (double)

query value at given time (takes a read-lock, not safe while writing automation)

where
absolute time in samples

Returns parameter value

EventListevents ()
boolin_write_pass ()
InterpolationStyleinterpolation ()

query interpolation style of the automation data

Returns Interpolation Style

LuaTable(double, ...)rt_safe_eval (double, bool&)

realtime safe version of eval, may fail if read-lock cannot be taken

where
absolute time in samples
ok
boolean reference if returned value is valid

Returns parameter value

boolset_interpolation (InterpolationStyle)

set the interpolation style of the automation data.

This will fail when asking for Logarithmic scale and min,max crosses 0 or Exponential scale with min != 0.

is
interpolation style

Returns true if style change was successful

voidthin (double)

Thin the number of events in this list.

The thinning factor corresponds to the area of a triangle computed between three points in the list (time-difference * value-difference). If the area is large, it indicates significant non-linearity between the points.

Time is measured in samples, value is usually normalized to 0..1.

During automation recording we thin the recorded points using this value. If a point is sufficiently co-linear with its neighbours (as defined by the area of the triangle formed by three of them), we will not include it in the list. The larger the value, the more points are excluded, so this effectively measures the amount of thinning to be done.

thinning_factor
area-size (default: 20)
voidtruncate_end (double)

truncate the event list after the given time

last_coordinate
last event to include
voidtruncate_start (double)

truncate the event list to the given time

overall_length
overall length

 ARDOUR:BackendVector

C‡: std::vector<ARDOUR::AudioBackendInfo const* >

@@ -754,24 +792,34 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂARDOUR.BackendVector () Methods - LuaTableadd (ARDOUR::AudioBackendInfo* ) AudioBackendInfoat (unsigned long) boolempty () LuaIteriter () - voidpush_back (AudioBackendInfo) unsigned longsize () LuaTabletable () +

 ARDOUR:BeatsFramesConverter

+

C‡: ARDOUR::BeatsFramesConverter

+
+

Converter between quarter-note beats and frames. Takes distances in quarter-note beats or frames from some origin (supplied to the constructor in frames), and converts them to the opposite unit, taking tempo changes into account.

+ + + + + + + + +
Constructor
ARDOUR.BeatsFramesConverter (TempoMap, long)
Methods
Beatsfrom (long)

Convert B time to A time (A from B)

longto (Beats)

Convert A time to B time (A to B)

 ARDOUR:BufferSet

C‡: ARDOUR::BufferSet

-

A set of buffers of various types.

These are mainly accessed from Session and passed around as scratch buffers (eg as parameters to run() methods) to do in-place signal processing.

There are two types of counts associated with a BufferSet - available, and the 'use count'. Available is the actual number of allocated buffers (and so is the maximum acceptable value for the use counts).

The use counts are how things determine the form of their input and inform others the form of their output (eg what they did to the BufferSet). Setting the use counts is realtime safe.

+

A set of buffers of various types.

These are mainly accessed from Session and passed around as scratch buffers (e.g. as parameters to run() methods) to do in-place signal processing.

There are two types of counts associated with a BufferSet - available, and the 'use count'. Available is the actual number of allocated buffers (and so is the maximum acceptable value for the use counts).

The use counts are how things determine the form of their input and inform others the form of their output (e.g. what they did to the BufferSet). Setting the use counts is realtime safe.

-
Methods
ChanCountcount ()
AudioBufferget_audio (unsigned long)
MidiBufferget_midi (unsigned long)
boolsameinstance (BufferSet)

 ARDOUR:ChanCount

C‡: ARDOUR::ChanCount

@@ -820,7 +868,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C ℂARDOUR.ControlList () Methods LuaTableadd (LuaTable {AutomationControl}) + AutomationControlback () boolempty () + AutomationControlfront () LuaIteriter () voidpush_back (AutomationControl) voidreverse () @@ -967,7 +1017,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods boolisnil () PannerShellpanner_shell () - boolsameinstance (Delivery)

Inherited from ARDOUR:IOProcessor

@@ -984,6 +1033,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -994,10 +1044,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
boolactive ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
ChanCountinput_streams ()
ChanCountoutput_streams ()
Cast
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -1020,6 +1071,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Methods
std::stringname ()
+ @@ -1029,6 +1081,77 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Constructor
ARDOUR.DeviceStatusVector ()
ARDOUR.DeviceStatusVector ()
Methods
LuaTableadd (LuaTable {DeviceStatus})
DeviceStatusat (unsigned long)
unsigned longsize ()
LuaTabletable ()
+

 ARDOUR:DoubleBeatsFramesConverter

+

C‡: ARDOUR::DoubleBeatsFramesConverter

+
+

Converter between quarter-note beats and frames. Takes distances in quarter-note beats or frames from some origin (supplied to the constructor in frames), and converts them to the opposite unit, taking tempo changes into account.

+ + + + + + + + +
Constructor
ARDOUR.DoubleBeatsFramesConverter (TempoMap, long)
Methods
doublefrom (long)

Convert B time to A time (A from B)

longto (double)

Convert A time to B time (A to B)

+

 ARDOUR:EventList

+

C‡: std::list<Evoral::ControlEvent* >

+
+ + + + + + + + + + + +
Constructor
ARDOUR.EventList ()
Methods
ControlEventback ()
boolempty ()
ControlEventfront ()
LuaIteriter ()
voidreverse ()
unsigned longsize ()
LuaTabletable ()
+

 ARDOUR:FileSource

+

C‡: boost::shared_ptr< ARDOUR::FileSource >, boost::weak_ptr< ARDOUR::FileSource >

+

is-a: ARDOUR:Source

+
+

A source associated with a file on disk somewhere

+ + + + + + + + + +
Methods
unsigned shortchannel ()
floatgain ()
boolisnil ()
std::stringorigin ()
std::stringpath ()
std::stringtake_id ()
boolwithin_session ()
+

Inherited from ARDOUR:Source

+ + + + + + + + + + + + + + + + + + +
Methods
std::stringancestor_name ()
boolcan_be_analysed ()
booldestructive ()
boolempty ()
boolhas_been_analysed ()
longlength (long)
longnatural_position ()
longtimeline_position ()
longtimestamp ()
intuse_count ()
boolused ()
boolwritable ()
Cast
AudioSourceto_audiosource ()
FileSourceto_filesource ()
MidiSourceto_midisource ()
+

Inherited from ARDOUR:SessionObjectPtr

+ + + + + + +
Methods
std::stringname ()
Cast
Statefulto_stateful ()
StatefulDestructibleto_statefuldestructible ()

 ARDOUR:FluidSynth

C‡: ARDOUR::FluidSynth

@@ -1047,18 +1170,17 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

 ARDOUR:GainControl

C‡: boost::shared_ptr< ARDOUR::GainControl >, boost::weak_ptr< ARDOUR::GainControl >

-

is-a: ARDOUR:SlavableAutomationControl,

+

is-a: ARDOUR:SlavableAutomationControl

A PBD::Controllable with associated automation data (AutomationList)

-
Methods
boolisnil ()
boolsameinstance (GainControl)
-

Inherited from ARDOUR:SlavableAutomationControl,

+

Inherited from ARDOUR:SlavableAutomationControl

- + @@ -1071,18 +1193,17 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - - - + +
Methods
voidadd_master (AutomationControl, bool)
voidadd_master (AutomationControl)
voidclear_masters ()
intget_boolean_masters ()
doubleget_masters_value ()
Methods
AutomationListalist ()
AutoStateautomation_state ()
AutoStyleautomation_style ()
doubleget_value ()

Get the current effective `user' value based on automation state

voidset_automation_state (AutoState)
voidset_automation_style (AutoStyle)
voidset_value (double, GroupControlDisposition)

Get and Set `internal' value

All derived classes must implement this.

Basic derived classes will ignore

group_override,
but more sophisticated children, notably those that proxy the value setting logic via an object that is aware of group relationships between this control and others, will find it useful.
voidstart_touch (double)
voidstop_touch (bool, double)
voidstop_touch (double)
boolwritable ()
Cast
Controlto_ctrl ()
SlavableAutomationControlto_slavable ()

Inherited from PBD:Controllable

@@ -1099,9 +1220,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

 ARDOUR:IO

C‡: boost::shared_ptr< ARDOUR::IO >, boost::weak_ptr< ARDOUR::IO >

-

is-a: ARDOUR:SessionObject

+

is-a: ARDOUR:SessionObjectPtr

-

A collection of ports (all input or all output) with connections.

An IO can contain ports of varying types, making routes/inserts/etc with varied combinations of types (eg MIDI and audio) possible.

+

A collection of ports (all input or all output) with connections.

An IO can contain ports of varying types, making routes/inserts/etc with varied combinations of types (e.g. MIDI and audio) possible.

@@ -1119,9 +1240,8 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C -
Methods
boolactive ()
boolphysically_connected ()
Portport_by_name (unsigned int)
intremove_port (Port, void*)
boolsameinstance (IO)
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -1141,7 +1261,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C -
Methods
std::stringname ()
ChanCountnatural_input_streams ()
ChanCountnatural_output_streams ()
IOoutput ()
boolsameinstance (IOProcessor)

Inherited from ARDOUR:Processor

@@ -1150,6 +1269,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -1160,10 +1280,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
boolactive ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
ChanCountinput_streams ()
ChanCountoutput_streams ()
Cast
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -1226,7 +1347,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + @@ -1265,12 +1388,16 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + @@ -1279,6 +1406,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + + + @@ -1435,9 +1566,8 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - - +
Methods
std::stringname ()
Constructor
ARDOUR.LocationList ()
Methods
Locationback ()
boolempty ()
Locationfront ()
LuaIteriter ()
voidreverse ()
unsigned longsize ()
Methods
...build_filename (--lua--)

Creates a filename from a series of elements using the correct separator for filenames.

No attempt is made to force the resulting filename to be an absolute path. If the first element is a relative path, the result will be a relative path.

...color_to_rgba (--lua--)

A convenience function to expand RGBA parameters from an integer

convert a Canvas::Color (uint32_t 0xRRGGBBAA) into double RGBA values which can be passed as parameters to Cairo::Context::set_source_rgba

Example:

 local r, g, b, a = ARDOUR.LuaAPI.color_to_rgba (0x88aa44ff)
+ cairo_ctx:set_source_rgba (ARDOUR.LuaAPI.color_to_rgba (0x11336699)

Returns 4 parameters: red, green, blue, alpha (in range 0..1)

LuaTable(float, ...)get_plugin_insert_param (PluginInsert, unsigned int, bool&)

get a plugin control parameter value

which
control port to query (starting at 0, including ports of type input and output)
ok
boolean variable contains true or false after call returned. to be checked by caller before using value.
proc
Plugin-Insert

Returns value

LuaTable(float, ...)get_processor_param (Processor, unsigned int, bool&)

get a plugin control parameter value

proc
Plugin-Processor
which
control port to set (starting at 0, including ports of type input and output))
ok
boolean variable contains true or false after call returned. to be checked by caller before using value.

Returns value

...hsla_to_rgba (--lua--)

A convenience function for colorspace HSL to RGB conversion. All ranges are 0..1

Example:

 local r, g, b, a = ARDOUR.LuaAPI.hsla_to_rgba (hue, saturation, luminosity, alpha)

Returns 4 parameters: red, green, blue, alpha (in range 0..1)

longmonotonic_time ()
Processornew_luaproc (Session, std::string)

create a new Lua Processor (Plugin)

s
Session Handle
p
Identifier or Name of the Processor

Returns Processor object (may be nil)

NotePtrnew_noteptr (unsigned char, Beats, Beats, unsigned char, unsigned char)
PluginInfonew_plugin_info (std::string, PluginType)

search a Plugin

id
Plugin Name, ID or URI
type
Plugin Type

Returns PluginInfo or nil if not found

Processornil_proc ()
NotePtrListnote_list (MidiModel)
...plugin_automation (--lua--)

A convenience function to get a Automation Lists and ParamaterDescriptor for a given plugin control.

This is equivalent to the following lua code

 function (processor, param_id)
   local plugininsert = processor:to_insert ()
@@ -1342,7 +1470,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
 
- 
Methods
boolisnil ()
boolsameinstance (LuaProc)
DspShmshmem ()
LuaTableReftable ()
@@ -1361,7 +1488,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
char*name ()
LuaTable(unsigned int, ...)nth_parameter (unsigned int, bool&)
unsigned intparameter_count ()
boolparameter_is_audio (unsigned int)
boolparameter_is_control (unsigned int)
boolparameter_is_input (unsigned int)
boolparameter_is_output (unsigned int)
std::stringparameter_label (unsigned int)
PresetRecordpreset_by_label (std::string)
PresetRecordpreset_by_uri (std::string)
std::stringunique_id ()
boolpush_event (Event)
voidresize (unsigned long)

Reallocate the buffer used internally to handle at least size_t units of data.

The buffer is not silent after this operation. the capacity argument passed to the constructor must have been non-zero.

boolsameinstance (MidiBuffer)
voidsilence (long, long)

Clear (eg zero, or empty) buffer

Clear (e.g. zero, or empty) buffer

unsigned longsize ()
...table (--lua--)
@@ -1452,7 +1582,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C boolisnil () NoteDiffCommandnew_note_diff_command (std::string)

Start a new NoteDiff command.

This has no side-effects on the model or Session, the returned command can be held on to for as long as the caller wishes, or discarded without formality, until apply_command is called and ownership is taken.

- boolsameinstance (MidiModel)

Inherited from ARDOUR:AutomatableSequence

@@ -1463,6 +1592,8 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
+ +
Methods
AutomationControlautomation_control (Parameter, bool)
Cast
Slavableto_slavable ()

 ARDOUR:MidiModel:DiffCommand

C‡: ARDOUR::MidiModel::DiffCommand

@@ -1516,7 +1647,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C -
Methods
boolisnil ()
boolsameinstance (MidiPlaylist)
voidset_note_mode (NoteMode)

Inherited from ARDOUR:Playlist

@@ -1535,6 +1665,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
gap
from the beginning of the region to the next beginning
end
the first frame that does _not_ contain a duplicated frame
Regionfind_next_region (long, RegionPoint, int) longfind_next_region_boundary (long, int) + longfind_next_transient (long, int) voidlower_region (Region) voidlower_region_to_bottom (Region) unsigned intn_regions () @@ -1557,7 +1688,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C AudioPlaylistto_audioplaylist () MidiPlaylistto_midiplaylist () -

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -1574,7 +1705,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C -
Methods
std::stringname ()
MidiBufferget_midi_buffer (unsigned int)
boolinput_active ()
boolisnil ()
boolsameinstance (MidiPort)
voidset_input_active (bool)

Inherited from ARDOUR:Port

@@ -1612,7 +1742,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C doublelength_beats () MidiSourcemidi_source (unsigned int) MidiModelmodel () - boolsameinstance (MidiRegion) doublestart_beats ()

Inherited from ARDOUR:Region

@@ -1623,11 +1752,13 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C boolcan_move () boolcaptured () voidclear_sync_position () + Controlcontrol (Parameter, bool) boolcovers (long) voidcut_end (long, int) voidcut_front (long, int) DataTypedata_type () boolexternal () + boolhas_transients () boolhidden () boolimport () boolis_compound () @@ -1671,6 +1802,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C LuaTable(long, ...)sync_offset (int&) longsync_position ()

Returns Sync position in session time

+ Int64Listtransients () voidtrim_end (long, int) voidtrim_front (long, int) voidtrim_to (long, long, int) @@ -1681,7 +1813,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C MidiRegionto_midiregion () Readableto_readable () -

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -1700,7 +1832,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C -
Methods
std::stringname ()
boolisnil ()
longlength (long)
MidiModelmodel ()
boolsameinstance (MidiSource)

Inherited from ARDOUR:Source

@@ -1717,9 +1848,10 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
boolwritable ()
Cast
AudioSourceto_audiosource ()
FileSourceto_filesource ()
MidiSourceto_midisource ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -1735,7 +1867,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Methods
std::stringname ()
-
Methods
boolisnil ()
boolsameinstance (MidiTrack)

Inherited from ARDOUR:Track

@@ -1797,6 +1928,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
Amptrim ()
Cast
Automatableto_automatable ()
Slavableto_slavable ()
Trackto_track ()

Inherited from ARDOUR:Stripable

@@ -1806,7 +1938,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C AutomationControlcomp_makeup_control () AutomationControlcomp_mode_control () std::stringcomp_mode_name (unsigned int) - AutomationControlcomp_redux_control () + ReadOnlyControlcomp_redux_control () AutomationControlcomp_speed_control () std::stringcomp_speed_name (unsigned int) AutomationControlcomp_threshold_control () @@ -1815,9 +1947,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C AutomationControleq_enable_control () AutomationControleq_freq_control (unsigned int) AutomationControleq_gain_control (unsigned int) - AutomationControleq_hpf_control () AutomationControleq_q_control (unsigned int) AutomationControleq_shape_control (unsigned int) + AutomationControlfilter_enable_controllable (bool) + AutomationControlfilter_freq_controllable (bool) + AutomationControlfilter_slope_controllable (bool) GainControlgain_control () boolis_auditioner () boolis_hidden () @@ -1846,8 +1980,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C GainControltrim_control () Cast Routeto_route () + VCAto_vca () -

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -1863,7 +1998,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + @@ -1895,7 +2032,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - @@ -1914,6 +2050,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -1924,10 +2061,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
Methods
std::stringname ()
ARDOUR.MidiTrackList ()
Methods
LuaTableadd (LuaTable {MidiTrack})
MidiTrackback ()
boolempty ()
MidiTrackfront ()
LuaIteriter ()
voidpush_back (MidiTrack)
voidreverse ()
boolmonitor_active ()
boolmono ()
Controllablemono_control ()
boolsameinstance (MonitorProcessor)
voidset_cut (unsigned int, bool)
voidset_cut_all (bool)
voidset_dim (unsigned int, bool)
boolactive ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
ChanCountinput_streams ()
ChanCountoutput_streams ()
Cast
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -1949,7 +2087,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Methods
std::stringname ()

 ARDOUR:MuteControl

C‡: boost::shared_ptr< ARDOUR::MuteControl >, boost::weak_ptr< ARDOUR::MuteControl >

-

is-a: ARDOUR:SlavableAutomationControl,

+

is-a: ARDOUR:SlavableAutomationControl

A PBD::Controllable with associated automation data (AutomationList)

@@ -1957,12 +2095,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C -
boolisnil ()
boolmuted ()
boolmuted_by_self ()
boolsameinstance (MuteControl)
-

Inherited from ARDOUR:SlavableAutomationControl,

+

Inherited from ARDOUR:SlavableAutomationControl

- + @@ -1975,18 +2112,17 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - - - + +
Methods
voidadd_master (AutomationControl, bool)
voidadd_master (AutomationControl)
voidclear_masters ()
intget_boolean_masters ()
doubleget_masters_value ()
Methods
AutomationListalist ()
AutoStateautomation_state ()
AutoStyleautomation_style ()
doubleget_value ()

Get the current effective `user' value based on automation state

voidset_automation_state (AutoState)
voidset_automation_style (AutoStyle)
voidset_value (double, GroupControlDisposition)

Get and Set `internal' value

All derived classes must implement this.

Basic derived classes will ignore

group_override,
but more sophisticated children, notably those that proxy the value setting logic via an object that is aware of group relationships between this control and others, will find it useful.
voidstart_touch (double)
voidstop_touch (bool, double)
voidstop_touch (double)
boolwritable ()
Cast
Controlto_ctrl ()
SlavableAutomationControlto_slavable ()

Inherited from PBD:Controllable

@@ -2001,25 +2137,42 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
IDid ()
OwnedPropertyListproperties ()
+

 ARDOUR:NotePtrList

+

C‡: std::list<boost::shared_ptr<Evoral::Note<Evoral::Beats> > > >

+
+ + + + + + + + + + + + + + +
Constructor
ARDOUR.NotePtrList ()
Methods
LuaTableadd (LuaTable {Beats})
NotePtrback ()
boolempty ()
NotePtrfront ()
LuaIteriter ()
voidpush_back (NotePtr)
voidreverse ()
unsigned longsize ()
LuaTabletable ()
voidunique ()

 ARDOUR:OwnedPropertyList

C‡: PBD::OwnedPropertyList

is-a: ARDOUR:PropertyList

-

A variant of PropertyList that does not delete its property list in its destructor. Objects with their own Properties store them in an OwnedPropertyList to avoid having them deleted at the wrong time.

+

Persistent Property List

A variant of PropertyList that does not delete its property list in its destructor. Objects with their own Properties store them in an OwnedPropertyList to avoid having them deleted at the wrong time.

This class object is only used indirectly as return-value and function-parameter. It provides no methods by itself.

 ARDOUR:PannerShell

C‡: boost::shared_ptr< ARDOUR::PannerShell >, boost::weak_ptr< ARDOUR::PannerShell >

-

is-a: ARDOUR:SessionObject

+

is-a: ARDOUR:SessionObjectPtr

Class to manage panning by instantiating and controlling an appropriate Panner object for a given in/out configuration.

-
Methods
boolbypassed ()
boolisnil ()
boolsameinstance (PannerShell)
voidset_bypassed (bool)
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -2036,16 +2189,17 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + -
Methods
std::stringname ()
Constructor
ARDOUR.ParameterDescriptor ()
Methods
std::stringmidi_note_name (unsigned char)
std::stringmidi_note_name (unsigned char, bool)
Data Members
std::stringlabel
boollogarithmic

Inherited from Evoral:ParameterDescriptor

+ + @@ -2065,7 +2219,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C -
Constructor
Evoral.ParameterDescriptor ()
Data Members
boollogarithmic

True for log-scale parameters

floatlower

Minimum value (in Hz, for frequencies)

floatnormal
boolisnil ()
floatmeter_level (unsigned int, MeterType)
voidreset_max ()
boolsameinstance (PeakMeter)
voidset_type (MeterType)

Inherited from ARDOUR:Processor

@@ -2075,6 +2228,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C boolactive () voiddeactivate () std::stringdisplay_name () + booldisplay_to_user () ChanCountinput_streams () ChanCountoutput_streams () Cast @@ -2085,10 +2239,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C PeakMeterto_meter () MonitorProcessorto_monitorprocessor () PeakMeterto_peakmeter () + PluginInsertto_plugininsert () SideChainto_sidechain () UnknownProcessorto_unknownprocessor () -

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -2105,7 +2260,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C -
Methods
std::stringname ()
Methods
boolinverted (unsigned int)
boolisnil ()
boolsameinstance (PhaseControl)
voidset_phase_invert (unsigned int, bool)
c
Audio channel index.
yn
true to invert phase, otherwise false.
@@ -2114,18 +2268,17 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods AutomationListalist () AutoStateautomation_state () - AutoStyleautomation_style () doubleget_value ()

Get the current effective `user' value based on automation state

voidset_automation_state (AutoState) - voidset_automation_style (AutoStyle) voidset_value (double, GroupControlDisposition)

Get and Set `internal' value

All derived classes must implement this.

Basic derived classes will ignore

group_override,
but more sophisticated children, notably those that proxy the value setting logic via an object that is aware of group relationships between this control and others, will find it useful.
voidstart_touch (double) - voidstop_touch (bool, double) + voidstop_touch (double) boolwritable () Cast Controlto_ctrl () + SlavableAutomationControlto_slavable ()

Inherited from PBD:Controllable

@@ -2142,7 +2295,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

 ARDOUR:Playlist

C‡: boost::shared_ptr< ARDOUR::Playlist >, boost::weak_ptr< ARDOUR::Playlist >

-

is-a: ARDOUR:SessionObject

+

is-a: ARDOUR:SessionObjectPtr

A named object associated with a Session. Objects derived from this class are expected to be destroyed before the session calls drop_references().

@@ -2160,6 +2313,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -2174,7 +2328,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - @@ -2184,7 +2337,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
gap
from the beginning of the region to the next beginning
end
the first frame that does _not_ contain a duplicated frame
Regionfind_next_region (long, RegionPoint, int)
longfind_next_region_boundary (long, int)
longfind_next_transient (long, int)
boolisnil ()
voidlower_region (Region)
voidlower_region_to_bottom (Region)
RegionListPtrregions_with_end_within (Range)
RegionListPtrregions_with_start_within (Range)
voidremove_region (Region)
boolsameinstance (Playlist)
voidsplit (long)
voidsplit_region (Region, MusicFrame)
Regiontop_region_at (long)
AudioPlaylistto_audioplaylist ()
MidiPlaylistto_midiplaylist ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -2212,10 +2365,13 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + + - @@ -2246,25 +2402,23 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Methods
std::stringname ()
char*name ()
LuaTable(unsigned int, ...)nth_parameter (unsigned int, bool&)
unsigned intparameter_count ()
boolparameter_is_audio (unsigned int)
boolparameter_is_control (unsigned int)
boolparameter_is_input (unsigned int)
boolparameter_is_output (unsigned int)
std::stringparameter_label (unsigned int)
PresetRecordpreset_by_label (std::string)
PresetRecordpreset_by_uri (std::string)
boolsameinstance (Plugin)
std::stringunique_id ()
Cast
LuaProcto_luaproc ()
-
Methods
boolisnil ()
boolsameinstance (PluginControl)

Inherited from ARDOUR:AutomationControl

- - - + +
Methods
AutomationListalist ()
AutoStateautomation_state ()
AutoStyleautomation_style ()
doubleget_value ()

Get the current effective `user' value based on automation state

voidset_automation_state (AutoState)
voidset_automation_style (AutoStyle)
voidset_value (double, GroupControlDisposition)

Get and Set `internal' value

All derived classes must implement this.

Basic derived classes will ignore

group_override,
but more sophisticated children, notably those that proxy the value setting logic via an object that is aware of group relationships between this control and others, will find it useful.
voidstart_touch (double)
voidstop_touch (bool, double)
voidstop_touch (double)
boolwritable ()
Cast
Controlto_ctrl ()
SlavableAutomationControlto_slavable ()

Inherited from PBD:Controllable

@@ -2289,7 +2443,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - @@ -2316,7 +2469,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - @@ -2326,6 +2478,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -2336,10 +2489,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
PresetVectorget_presets (bool)
boolis_instrument ()
boolisnil ()
boolsameinstance (PluginInfo)
Data Members
std::stringcategory
std::stringcreator
ChanMappingoutput_map (unsigned int)
Pluginplugin (unsigned int)
boolreset_parameters_to_default ()
boolsameinstance (PluginInsert)
voidset_input_map (unsigned int, ChanMapping)
voidset_output_map (unsigned int, ChanMapping)
boolstrict_io_configured ()
Methods
boolactive ()
std::stringdisplay_name ()
booldisplay_to_user ()
ChanCountinput_streams ()
ChanCountoutput_streams ()
Cast
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -2366,7 +2520,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - @@ -2385,7 +2538,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + @@ -2430,7 +2585,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C -
Methods
std::stringname ()

Returns Port human readable name

boolreceives_input ()

Returns true if this Port receives input, otherwise false

boolsameinstance (Port)
boolsends_output ()

Returns true if this Port sends output, otherwise false

Cast
Constructor
ARDOUR.PortList ()
Methods
Portback ()
boolempty ()
Portfront ()
LuaIteriter ()
voidreverse ()
unsigned longsize ()
Portport (DataType, unsigned long)

nth port of type t, or nth port if t = NIL

t
data type
index
port index
boolremove (Port)
boolsameinstance (PortSet)

 ARDOUR:PresentationInfo

C‡: ARDOUR::PresentationInfo

@@ -2440,8 +2594,10 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + +
Methods
unsigned intcolor ()
Flagflags ()
unsigned intorder ()
voidset_color (unsigned int)
boolspecial (bool)

Inherited from PBD:Stateful

@@ -2469,6 +2625,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
+ @@ -2480,7 +2637,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Constructor
ARDOUR.PresetVector ()
ARDOUR.PresetVector ()
Methods
LuaTableadd (LuaTable {PresetRecord})
PresetRecordat (unsigned long)

 ARDOUR:Processor

C‡: boost::shared_ptr< ARDOUR::Processor >, boost::weak_ptr< ARDOUR::Processor >

-

is-a: ARDOUR:SessionObject

+

is-a: ARDOUR:SessionObjectPtr

A mixer strip element - plugin, send, meter, etc

@@ -2489,10 +2646,10 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + - @@ -2501,10 +2658,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
boolactive ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
ChanCountinput_streams ()
boolisnil ()
ChanCountoutput_streams ()
boolsameinstance (Processor)
Cast
Ampto_amp ()
Automatableto_automatable ()
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -2520,7 +2678,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + @@ -2534,6 +2694,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Methods
std::stringname ()
ARDOUR.ProcessorList ()
Methods
LuaTableadd (LuaTable {Processor})
Processorback ()
boolempty ()
Processorfront ()
LuaIteriter ()
voidpush_back (Processor)
voidreverse ()
+ @@ -2575,6 +2736,498 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

A list of properties, mapped using their ID

This class object is only used indirectly as return-value and function-parameter. It provides no methods by itself.

+

 ARDOUR:RCConfiguration

+

C‡: ARDOUR::RCConfiguration

+

is-a: PBD:Configuration

+
+

Base class for objects with saveable and undoable state

+
Constructor
ARDOUR.ProcessorVector ()
ARDOUR.ProcessorVector ()
Methods
LuaTableadd (LuaTable {Processor})
Processorat (unsigned long)
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods
AFLPositionget_afl_position ()
boolget_all_safe ()
boolget_allow_special_bus_removal ()
boolget_ask_replace_instrument ()
boolget_ask_setup_instrument ()
floatget_audio_capture_buffer_seconds ()
floatget_audio_playback_buffer_seconds ()
std::stringget_auditioner_output_left ()
std::stringget_auditioner_output_right ()
boolget_auto_analyse_audio ()
boolget_auto_connect_standard_busses ()
AutoReturnTargetget_auto_return_target_list ()
boolget_automation_follows_regions ()
floatget_automation_interval_msecs ()
doubleget_automation_thinning_factor ()
BufferingPresetget_buffering_preset ()
std::stringget_click_emphasis_sound ()
floatget_click_gain ()
boolget_click_record_only ()
std::stringget_click_sound ()
boolget_clicking ()
boolget_copy_demo_sessions ()
boolget_create_xrun_marker ()
FadeShapeget_default_fade_shape ()
std::stringget_default_session_parent_dir ()
DenormalModelget_denormal_model ()
boolget_denormal_protection ()
boolget_disable_disarm_during_roll ()
boolget_discover_audio_units ()
boolget_discover_vst_on_start ()
unsigned intget_disk_choice_space_threshold ()
std::stringget_donate_url ()
EditModeget_edit_mode ()
boolget_exclusive_solo ()
floatget_export_preroll ()
floatget_export_silence_threshold ()
unsigned intget_feedback_interval_ms ()
boolget_first_midi_bank_is_zero ()
std::stringget_freesound_download_dir ()
boolget_hide_dummy_backend ()
boolget_hiding_groups_deactivates_groups ()
intget_history_depth ()
intget_initial_program_change ()
AutoConnectOptionget_input_auto_connect ()
intget_inter_scene_gap_frames ()
boolget_latched_record_enable ()
LayerModelget_layer_model ()
boolget_link_send_and_route_panner ()
std::stringget_linux_pingback_url ()
ListenPositionget_listen_position ()
boolget_locate_while_waiting_for_sync ()
boolget_loop_is_mode ()
std::stringget_ltc_output_port ()
floatget_ltc_output_volume ()
boolget_ltc_send_continuously ()
std::stringget_ltc_source_port ()
floatget_max_gain ()
unsigned intget_max_recent_sessions ()
unsigned intget_max_recent_templates ()
floatget_meter_falloff ()
MeterTypeget_meter_type_bus ()
MeterTypeget_meter_type_master ()
MeterTypeget_meter_type_track ()
std::stringget_midi_audition_synth_uri ()
boolget_midi_feedback ()
boolget_midi_input_follows_selection ()
floatget_midi_readahead ()
floatget_midi_track_buffer_seconds ()
unsigned intget_minimum_disk_read_bytes ()
unsigned intget_minimum_disk_write_bytes ()
boolget_mmc_control ()
intget_mmc_receive_device_id ()
intget_mmc_send_device_id ()
std::stringget_monitor_bus_preferred_bundle ()
MonitorModelget_monitoring_model ()
intget_mtc_qf_speed_tolerance ()
boolget_mute_affects_control_outs ()
boolget_mute_affects_main_outs ()
boolget_mute_affects_post_fader ()
boolget_mute_affects_pre_fader ()
boolget_new_plugins_active ()
unsigned intget_osc_port ()
std::stringget_osx_pingback_url ()
AutoConnectOptionget_output_auto_connect ()
unsigned intget_periodic_safety_backup_interval ()
boolget_periodic_safety_backups ()
PFLPositionget_pfl_position ()
std::stringget_plugin_path_lxvst ()
std::stringget_plugin_path_vst ()
boolget_plugins_stop_with_transport ()
longget_postroll ()
longget_preroll ()
floatget_preroll_seconds ()
intget_processor_usage ()
boolget_quieten_at_speed ()
longget_range_location_minimum ()
std::stringget_reference_manual_url ()
boolget_region_boundaries_from_onscreen_tracks ()
boolget_region_boundaries_from_selected_tracks ()
RegionSelectionAfterSplitget_region_selection_after_split ()
boolget_replicate_missing_region_channels ()
floatget_rf_speed ()
boolget_save_history ()
intget_saved_history_depth ()
boolget_seamless_loop ()
boolget_send_ltc ()
boolget_send_midi_clock ()
boolget_send_mmc ()
boolget_send_mtc ()
boolget_show_solo_mutes ()
boolget_show_video_export_info ()
boolget_show_video_server_dialog ()
ShuttleBehaviourget_shuttle_behaviour ()
floatget_shuttle_max_speed ()
floatget_shuttle_speed_factor ()
floatget_shuttle_speed_threshold ()
ShuttleUnitsget_shuttle_units ()
boolget_skip_playback ()
boolget_solo_control_is_listen_control ()
floatget_solo_mute_gain ()
boolget_solo_mute_override ()
boolget_stop_at_session_end ()
boolget_stop_recording_on_xrun ()
boolget_strict_io ()
SyncSourceget_sync_source ()
boolget_tape_machine_mode ()
boolget_timecode_source_2997 ()
boolget_timecode_source_is_synced ()
boolget_timecode_sync_frame_rate ()
boolget_trace_midi_input ()
boolget_trace_midi_output ()
TracksAutoNamingRuleget_tracks_auto_naming ()
floatget_transient_sensitivity ()
boolget_try_autostart_engine ()
std::stringget_tutorial_manual_url ()
std::stringget_updates_url ()
boolget_use_click_emphasis ()
boolget_use_lxvst ()
boolget_use_macvst ()
boolget_use_monitor_bus ()
boolget_use_osc ()
boolget_use_overlap_equivalency ()
boolget_use_plugin_own_gui ()
boolget_use_tranzport ()
boolget_use_windows_vst ()
boolget_verbose_plugin_scan ()
boolget_verify_remove_last_capture ()
boolget_video_advanced_setup ()
std::stringget_video_server_docroot ()
std::stringget_video_server_url ()
intget_vst_scan_timeout ()
std::stringget_windows_pingback_url ()
boolset_afl_position (AFLPosition)
boolset_all_safe (bool)
boolset_allow_special_bus_removal (bool)
boolset_ask_replace_instrument (bool)
boolset_ask_setup_instrument (bool)
boolset_audio_capture_buffer_seconds (float)
boolset_audio_playback_buffer_seconds (float)
boolset_auditioner_output_left (std::string)
boolset_auditioner_output_right (std::string)
boolset_auto_analyse_audio (bool)
boolset_auto_connect_standard_busses (bool)
boolset_auto_return_target_list (AutoReturnTarget)
boolset_automation_follows_regions (bool)
boolset_automation_interval_msecs (float)
boolset_automation_thinning_factor (double)
boolset_buffering_preset (BufferingPreset)
boolset_click_emphasis_sound (std::string)
boolset_click_gain (float)
boolset_click_record_only (bool)
boolset_click_sound (std::string)
boolset_clicking (bool)
boolset_copy_demo_sessions (bool)
boolset_create_xrun_marker (bool)
boolset_default_fade_shape (FadeShape)
boolset_default_session_parent_dir (std::string)
boolset_denormal_model (DenormalModel)
boolset_denormal_protection (bool)
boolset_disable_disarm_during_roll (bool)
boolset_discover_audio_units (bool)
boolset_discover_vst_on_start (bool)
boolset_disk_choice_space_threshold (unsigned int)
boolset_donate_url (std::string)
boolset_edit_mode (EditMode)
boolset_exclusive_solo (bool)
boolset_export_preroll (float)
boolset_export_silence_threshold (float)
boolset_feedback_interval_ms (unsigned int)
boolset_first_midi_bank_is_zero (bool)
boolset_freesound_download_dir (std::string)
boolset_hide_dummy_backend (bool)
boolset_hiding_groups_deactivates_groups (bool)
boolset_history_depth (int)
boolset_initial_program_change (int)
boolset_input_auto_connect (AutoConnectOption)
boolset_inter_scene_gap_frames (int)
boolset_latched_record_enable (bool)
boolset_layer_model (LayerModel)
boolset_link_send_and_route_panner (bool)
boolset_linux_pingback_url (std::string)
boolset_listen_position (ListenPosition)
boolset_locate_while_waiting_for_sync (bool)
boolset_loop_is_mode (bool)
boolset_ltc_output_port (std::string)
boolset_ltc_output_volume (float)
boolset_ltc_send_continuously (bool)
boolset_ltc_source_port (std::string)
boolset_max_gain (float)
boolset_max_recent_sessions (unsigned int)
boolset_max_recent_templates (unsigned int)
boolset_meter_falloff (float)
boolset_meter_type_bus (MeterType)
boolset_meter_type_master (MeterType)
boolset_meter_type_track (MeterType)
boolset_midi_audition_synth_uri (std::string)
boolset_midi_feedback (bool)
boolset_midi_input_follows_selection (bool)
boolset_midi_readahead (float)
boolset_midi_track_buffer_seconds (float)
boolset_minimum_disk_read_bytes (unsigned int)
boolset_minimum_disk_write_bytes (unsigned int)
boolset_mmc_control (bool)
boolset_mmc_receive_device_id (int)
boolset_mmc_send_device_id (int)
boolset_monitor_bus_preferred_bundle (std::string)
boolset_monitoring_model (MonitorModel)
boolset_mtc_qf_speed_tolerance (int)
boolset_mute_affects_control_outs (bool)
boolset_mute_affects_main_outs (bool)
boolset_mute_affects_post_fader (bool)
boolset_mute_affects_pre_fader (bool)
boolset_new_plugins_active (bool)
boolset_osc_port (unsigned int)
boolset_osx_pingback_url (std::string)
boolset_output_auto_connect (AutoConnectOption)
boolset_periodic_safety_backup_interval (unsigned int)
boolset_periodic_safety_backups (bool)
boolset_pfl_position (PFLPosition)
boolset_plugin_path_lxvst (std::string)
boolset_plugin_path_vst (std::string)
boolset_plugins_stop_with_transport (bool)
boolset_postroll (long)
boolset_preroll (long)
boolset_preroll_seconds (float)
boolset_processor_usage (int)
boolset_quieten_at_speed (bool)
boolset_range_location_minimum (long)
boolset_reference_manual_url (std::string)
boolset_region_boundaries_from_onscreen_tracks (bool)
boolset_region_boundaries_from_selected_tracks (bool)
boolset_region_selection_after_split (RegionSelectionAfterSplit)
boolset_replicate_missing_region_channels (bool)
boolset_rf_speed (float)
boolset_save_history (bool)
boolset_saved_history_depth (int)
boolset_seamless_loop (bool)
boolset_send_ltc (bool)
boolset_send_midi_clock (bool)
boolset_send_mmc (bool)
boolset_send_mtc (bool)
boolset_show_solo_mutes (bool)
boolset_show_video_export_info (bool)
boolset_show_video_server_dialog (bool)
boolset_shuttle_behaviour (ShuttleBehaviour)
boolset_shuttle_max_speed (float)
boolset_shuttle_speed_factor (float)
boolset_shuttle_speed_threshold (float)
boolset_shuttle_units (ShuttleUnits)
boolset_skip_playback (bool)
boolset_solo_control_is_listen_control (bool)
boolset_solo_mute_gain (float)
boolset_solo_mute_override (bool)
boolset_stop_at_session_end (bool)
boolset_stop_recording_on_xrun (bool)
boolset_strict_io (bool)
boolset_sync_source (SyncSource)
boolset_tape_machine_mode (bool)
boolset_timecode_source_2997 (bool)
boolset_timecode_source_is_synced (bool)
boolset_timecode_sync_frame_rate (bool)
boolset_trace_midi_input (bool)
boolset_trace_midi_output (bool)
boolset_tracks_auto_naming (TracksAutoNamingRule)
boolset_transient_sensitivity (float)
boolset_try_autostart_engine (bool)
boolset_tutorial_manual_url (std::string)
boolset_updates_url (std::string)
boolset_use_click_emphasis (bool)
boolset_use_lxvst (bool)
boolset_use_macvst (bool)
boolset_use_monitor_bus (bool)
boolset_use_osc (bool)
boolset_use_overlap_equivalency (bool)
boolset_use_plugin_own_gui (bool)
boolset_use_tranzport (bool)
boolset_use_windows_vst (bool)
boolset_verbose_plugin_scan (bool)
boolset_verify_remove_last_capture (bool)
boolset_video_advanced_setup (bool)
boolset_video_server_docroot (std::string)
boolset_video_server_url (std::string)
boolset_vst_scan_timeout (int)
boolset_windows_pingback_url (std::string)
Properties
ARDOUR.AFLPositionafl_position
boolall_safe
boolallow_special_bus_removal
boolask_replace_instrument
boolask_setup_instrument
floataudio_capture_buffer_seconds
floataudio_playback_buffer_seconds
std::stringauditioner_output_left
std::stringauditioner_output_right
boolauto_analyse_audio
boolauto_connect_standard_busses
ARDOUR.AutoReturnTargetauto_return_target_list
boolautomation_follows_regions
floatautomation_interval_msecs
doubleautomation_thinning_factor
ARDOUR.BufferingPresetbuffering_preset
std::stringclick_emphasis_sound
floatclick_gain
boolclick_record_only
std::stringclick_sound
boolclicking
boolcopy_demo_sessions
boolcreate_xrun_marker
ARDOUR.FadeShapedefault_fade_shape
std::stringdefault_session_parent_dir
ARDOUR.DenormalModeldenormal_model
booldenormal_protection
booldisable_disarm_during_roll
booldiscover_audio_units
booldiscover_vst_on_start
unsigned intdisk_choice_space_threshold
std::stringdonate_url
ARDOUR.EditModeedit_mode
boolexclusive_solo
floatexport_preroll
floatexport_silence_threshold
unsigned intfeedback_interval_ms
boolfirst_midi_bank_is_zero
std::stringfreesound_download_dir
boolhide_dummy_backend
boolhiding_groups_deactivates_groups
inthistory_depth
intinitial_program_change
ARDOUR.AutoConnectOptioninput_auto_connect
intinter_scene_gap_frames
boollatched_record_enable
ARDOUR.LayerModellayer_model
boollink_send_and_route_panner
std::stringlinux_pingback_url
ARDOUR.ListenPositionlisten_position
boollocate_while_waiting_for_sync
boolloop_is_mode
std::stringltc_output_port
floatltc_output_volume
boolltc_send_continuously
std::stringltc_source_port
floatmax_gain
unsigned intmax_recent_sessions
unsigned intmax_recent_templates
floatmeter_falloff
ARDOUR.MeterTypemeter_type_bus
ARDOUR.MeterTypemeter_type_master
ARDOUR.MeterTypemeter_type_track
std::stringmidi_audition_synth_uri
boolmidi_feedback
boolmidi_input_follows_selection
floatmidi_readahead
floatmidi_track_buffer_seconds
unsigned intminimum_disk_read_bytes
unsigned intminimum_disk_write_bytes
boolmmc_control
intmmc_receive_device_id
intmmc_send_device_id
std::stringmonitor_bus_preferred_bundle
ARDOUR.MonitorModelmonitoring_model
intmtc_qf_speed_tolerance
boolmute_affects_control_outs
boolmute_affects_main_outs
boolmute_affects_post_fader
boolmute_affects_pre_fader
boolnew_plugins_active
unsigned intosc_port
std::stringosx_pingback_url
ARDOUR.AutoConnectOptionoutput_auto_connect
unsigned intperiodic_safety_backup_interval
boolperiodic_safety_backups
ARDOUR.PFLPositionpfl_position
std::stringplugin_path_lxvst
std::stringplugin_path_vst
boolplugins_stop_with_transport
longpostroll
longpreroll
floatpreroll_seconds
intprocessor_usage
boolquieten_at_speed
longrange_location_minimum
std::stringreference_manual_url
boolregion_boundaries_from_onscreen_tracks
boolregion_boundaries_from_selected_tracks
ARDOUR.RegionSelectionAfterSplitregion_selection_after_split
boolreplicate_missing_region_channels
floatrf_speed
boolsave_history
intsaved_history_depth
boolseamless_loop
boolsend_ltc
boolsend_midi_clock
boolsend_mmc
boolsend_mtc
boolshow_solo_mutes
boolshow_video_export_info
boolshow_video_server_dialog
ARDOUR.ShuttleBehaviourshuttle_behaviour
floatshuttle_max_speed
floatshuttle_speed_factor
floatshuttle_speed_threshold
ARDOUR.ShuttleUnitsshuttle_units
boolskip_playback
boolsolo_control_is_listen_control
floatsolo_mute_gain
boolsolo_mute_override
boolstop_at_session_end
boolstop_recording_on_xrun
boolstrict_io
ARDOUR.SyncSourcesync_source
booltape_machine_mode
booltimecode_source_2997
booltimecode_source_is_synced
booltimecode_sync_frame_rate
booltrace_midi_input
booltrace_midi_output
ARDOUR.TracksAutoNamingRuletracks_auto_naming
floattransient_sensitivity
booltry_autostart_engine
std::stringtutorial_manual_url
std::stringupdates_url
booluse_click_emphasis
booluse_lxvst
booluse_macvst
booluse_monitor_bus
booluse_osc
booluse_overlap_equivalency
booluse_plugin_own_gui
booluse_tranzport
booluse_windows_vst
boolverbose_plugin_scan
boolverify_remove_last_capture
boolvideo_advanced_setup
std::stringvideo_server_docroot
std::stringvideo_server_url
intvst_scan_timeout
std::stringwindows_pingback_url
+

Inherited from PBD:Stateful

+ + + + + + +
Methods
voidclear_changes ()

Forget about any changes to this object's properties

IDid ()
OwnedPropertyListproperties ()
+

 ARDOUR:ReadOnlyControl

+

C‡: boost::shared_ptr< ARDOUR::ReadOnlyControl >, boost::weak_ptr< ARDOUR::ReadOnlyControl >

+

is-a: PBD:StatefulDestructiblePtr

+
+ + + + + + +
Methods
ParameterDescriptordesc ()
std::stringdescribe_parameter ()
doubleget_parameter ()
boolisnil ()
+

Inherited from PBD:StatefulPtr

+ + + + + + +
Methods
voidclear_changes ()

Forget about any changes to this object's properties

IDid ()
OwnedPropertyListproperties ()

 ARDOUR:Readable

C‡: boost::shared_ptr< ARDOUR::Readable >, boost::weak_ptr< ARDOUR::Readable >

@@ -2584,11 +3237,10 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C unsigned intn_channels () longread (FloatArray, long, long, int) longreadable_length () - boolsameinstance (Readable)

 ARDOUR:Region

C‡: boost::shared_ptr< ARDOUR::Region >, boost::weak_ptr< ARDOUR::Region >

-

is-a: ARDOUR:SessionObject

+

is-a: ARDOUR:SessionObjectPtr

A named object associated with a Session. Objects derived from this class are expected to be destroyed before the session calls drop_references().

@@ -2598,11 +3250,13 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + @@ -2626,7 +3280,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - @@ -2648,6 +3301,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -2658,7 +3312,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
boolcan_move ()
boolcaptured ()
voidclear_sync_position ()
Controlcontrol (Parameter, bool)
boolcovers (long)
voidcut_end (long, int)
voidcut_front (long, int)
DataTypedata_type ()
boolexternal ()
boolhas_transients ()
boolhidden ()
boolimport ()
boolis_compound ()
doublequarter_note ()
voidraise ()
voidraise_to_top ()
boolsameinstance (Region)
voidset_hidden (bool)
voidset_initial_position (long)

A gui may need to create a region, then place it in an initial position determined by the user. When this takes place within one gui operation, we have to reset _last_position to prevent an implied move.

LuaTable(long, ...)sync_offset (int&)
longsync_position ()

Returns Sync position in session time

Int64Listtransients ()
voidtrim_end (long, int)
voidtrim_front (long, int)
voidtrim_to (long, long, int)
MidiRegionto_midiregion ()
Readableto_readable ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -2671,7 +3325,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Methods
std::stringname ()
+ +
Methods
Regionclone_region (Region, bool, bool)
Regionregion_by_id (ID)
RegionMapregions ()

 ARDOUR:RegionList

C‡: std::list<boost::shared_ptr<ARDOUR::Region> >

@@ -2680,7 +3336,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂARDOUR.RegionList () Methods + Regionback () boolempty () + Regionfront () LuaIteriter () voidreverse () unsigned longsize () @@ -2702,6 +3360,38 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C LuaTabletable () voidunique () +

 ARDOUR:RegionMap

+

C‡: std::map<PBD::ID, boost::shared_ptr<ARDOUR::Region> > >

+
+ + + + + + + + + + + + +
Constructor
ARDOUR.RegionMap ()
Methods
LuaTableadd (LuaTable {Region})
...at (--lua--)
voidclear ()
unsigned longcount (ID)
boolempty ()
LuaIteriter ()
unsigned longsize ()
LuaTabletable ()
+

 ARDOUR:RegionVector

+

C‡: std::vector<boost::shared_ptr<ARDOUR::Region> >

+
+ + + + + + + + + + + + +
Constructor
ARDOUR.RegionVector ()
ARDOUR.RegionVector ()
Methods
LuaTableadd (LuaTable {Region})
Regionat (unsigned long)
boolempty ()
LuaIteriter ()
voidpush_back (Region)
unsigned longsize ()
LuaTabletable ()

 ARDOUR:Route

C‡: boost::shared_ptr< ARDOUR::Route >, boost::weak_ptr< ARDOUR::Route >

is-a: ARDOUR:Stripable

@@ -2740,7 +3430,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

replace plugin/processor with another

old
processor to remove
sub
processor to substitute the old one with
err
error report (index where removal vailed, channel-count why it failed) may be nil

Returns 0 on success

boolreset_plugin_insert (Processor)

reset plugin-insert configuration to default, disable customizations.

This is equivalent to calling

 customize_plugin_insert (proc, 0, unused)
proc
Processor to reset

Returns true if successful

- boolsameinstance (Route) voidset_active (bool, void*) voidset_comment (std::string, void*) voidset_meter_point (MeterPoint, bool) @@ -2753,6 +3442,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Amptrim () Cast Automatableto_automatable () + Slavableto_slavable () Trackto_track ()

Inherited from ARDOUR:Stripable

@@ -2762,7 +3452,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C AutomationControlcomp_makeup_control () AutomationControlcomp_mode_control () std::stringcomp_mode_name (unsigned int) - AutomationControlcomp_redux_control () + ReadOnlyControlcomp_redux_control () AutomationControlcomp_speed_control () std::stringcomp_speed_name (unsigned int) AutomationControlcomp_threshold_control () @@ -2771,9 +3461,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C AutomationControleq_enable_control () AutomationControleq_freq_control (unsigned int) AutomationControleq_gain_control (unsigned int) - AutomationControleq_hpf_control () AutomationControleq_q_control (unsigned int) AutomationControleq_shape_control (unsigned int) + AutomationControlfilter_enable_controllable (bool) + AutomationControlfilter_freq_controllable (bool) + AutomationControlfilter_slope_controllable (bool) GainControlgain_control () boolis_auditioner () boolis_hidden () @@ -2802,8 +3494,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C GainControltrim_control () Cast Routeto_route () + VCAto_vca () -

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -2821,6 +3514,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Methods
std::stringname ()

 ARDOUR:RouteGroup

C‡: ARDOUR::RouteGroup

+

is-a: ARDOUR:SessionObject

A group identifier for routes.

RouteGroups permit to define properties which are shared among all Routes that use the given identifier.

A route can at most be in one group.

@@ -2845,6 +3539,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -2854,11 +3549,20 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + +
boolis_solo ()
voidmake_subgroup (bool, Placement)
intremove (Route)
unsigned intrgba ()
RouteListPtrroute_list ()
voidset_active (bool, void*)
voidset_color (bool)
voidset_mute (bool)
voidset_recenable (bool)
voidset_relative (bool, void*)
voidset_rgba (unsigned int)

set route-group color and notify UI about change

voidset_route_active (bool)
voidset_select (bool)
voidset_solo (bool)
unsigned longsize ()
+

Inherited from ARDOUR:SessionObject

+ + + + + +
Methods
std::stringname ()
Cast
Statefulto_stateful ()

 ARDOUR:RouteGroupList

C‡: std::list<ARDOUR::RouteGroup* >

@@ -2866,7 +3570,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂARDOUR.RouteGroupList () Methods + RouteGroupback () boolempty () + RouteGroupfront () LuaIteriter () voidreverse () unsigned longsize () @@ -2879,7 +3585,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂARDOUR.RouteList () Methods + Routeback () boolempty () + Routefront () LuaIteriter () voidreverse () unsigned longsize () @@ -2911,6 +3619,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

abort an open undo command This must only be called after begin_reversible_command ()

boolactively_recording () voidadd_command (Command) + voidadd_internal_sends (Route, Placement, RouteListPtr) + intadd_master_bus (ChanCount) + voidadd_monitor_section () StatefulDiffCommandadd_stateful_diff_command (StatefulDestructiblePtr)

create an StatefulDiffCommand from the given object and add it to the stack.

This function must only be called after begin_reversible_command. Failing to do so may lead to a crash.

sfd
the object to diff

Returns the allocated StatefulDiffCommand (already added via add_command)

voidbegin_reversible_command (std::string) @@ -2924,6 +3635,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C longcurrent_end_frame () longcurrent_start_frame () voiddisable_record (bool, bool) + boolend_is_free () AudioEngineengine () boolexport_track_state (RouteListPtr, std::string) longframe_rate () @@ -2935,6 +3647,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C RouteListPtrget_routes () BufferSetget_scratch_buffers (ChanCount, bool) BufferSetget_silent_buffers (ChanCount) + StripableListget_stripables () RouteListPtrget_tracks () voidgoto_end () voidgoto_start (bool) @@ -2956,6 +3669,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C std::stringpath () Processorprocessor_by_id (ID) RecordStaterecord_status () + voidremove_monitor_section () voidremove_route_group (RouteGroup) voidrequest_locate (long, bool) voidrequest_play_loop (bool, bool) @@ -2973,6 +3687,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C voidset_control (AutomationControl, double, GroupControlDisposition) voidset_controls (ControlListPtr, double, GroupControlDisposition) voidset_dirty () + voidset_end_is_free (bool) voidset_exclusive_input_active (RouteListPtr, bool, bool) std::stringsnap_name () boolsolo_isolated () @@ -2988,6 +3703,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C booltransport_rolling () doubletransport_speed () StringListunknown_processors () + VCAManagervca_manager () longworst_input_latency () longworst_output_latency () longworst_playback_latency () @@ -3166,7 +3882,17 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C IDid () OwnedPropertyListproperties () -

 ARDOUR:SessionObject

+

 ARDOUR:SessionObject

+

C‡: ARDOUR::SessionObject

+
+

A named object associated with a Session. Objects derived from this class are expected to be destroyed before the session calls drop_references().

+ + + + + +
Methods
std::stringname ()
Cast
Statefulto_stateful ()
+

 ARDOUR:SessionObjectPtr

C‡: boost::shared_ptr< ARDOUR::SessionObject >, boost::weak_ptr< ARDOUR::SessionObject >

A named object associated with a Session. Objects derived from this class are expected to be destroyed before the session calls drop_references().

@@ -3174,7 +3900,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods boolisnil () std::stringname () - boolsameinstance (SessionObject) Cast Statefulto_stateful () StatefulDestructibleto_statefuldestructible () @@ -3187,7 +3912,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C -
Methods
boolisnil ()
boolsameinstance (SideChain)

Inherited from ARDOUR:IOProcessor

@@ -3204,6 +3928,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -3214,10 +3939,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
boolactive ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
ChanCountinput_streams ()
ChanCountoutput_streams ()
Cast
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -3225,20 +3951,28 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Methods
std::stringname ()
Statefulto_stateful ()
StatefulDestructibleto_statefuldestructible ()
-

 ARDOUR:SlavableAutomationControl,

+

 ARDOUR:Slavable

+

C‡: boost::shared_ptr< ARDOUR::Slavable >, boost::weak_ptr< ARDOUR::Slavable >

+
+ + + + + +
Methods
voidassign (VCA)
boolisnil ()
voidunassign (VCA)
+

 ARDOUR:SlavableAutomationControl

C‡: boost::shared_ptr< ARDOUR::SlavableAutomationControl >, boost::weak_ptr< ARDOUR::SlavableAutomationControl >

is-a: ARDOUR:AutomationControl

A PBD::Controllable with associated automation data (AutomationList)

- + -
Methods
voidadd_master (AutomationControl, bool)
voidadd_master (AutomationControl)
voidclear_masters ()
intget_boolean_masters ()
doubleget_masters_value ()
boolisnil ()
voidremove_master (AutomationControl)
boolsameinstance (SlavableAutomationControl,)
boolslaved ()
boolslaved_to (AutomationControl)
@@ -3247,18 +3981,17 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods AutomationListalist () AutoStateautomation_state () - AutoStyleautomation_style () doubleget_value ()

Get the current effective `user' value based on automation state

voidset_automation_state (AutoState) - voidset_automation_style (AutoStyle) voidset_value (double, GroupControlDisposition)

Get and Set `internal' value

All derived classes must implement this.

Basic derived classes will ignore

group_override,
but more sophisticated children, notably those that proxy the value setting logic via an object that is aware of group relationships between this control and others, will find it useful.
voidstart_touch (double) - voidstop_touch (bool, double) + voidstop_touch (double) boolwritable () Cast Controlto_ctrl () + SlavableAutomationControlto_slavable ()

Inherited from PBD:Controllable

@@ -3275,21 +4008,20 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

 ARDOUR:SoloControl

C‡: boost::shared_ptr< ARDOUR::SoloControl >, boost::weak_ptr< ARDOUR::SoloControl >

-

is-a: ARDOUR:SlavableAutomationControl,

+

is-a: ARDOUR:SlavableAutomationControl

A PBD::Controllable with associated automation data (AutomationList)

-
Methods
boolcan_solo ()
boolisnil ()
boolsameinstance (SoloControl)
boolself_soloed ()
boolsoloed ()
-

Inherited from ARDOUR:SlavableAutomationControl,

+

Inherited from ARDOUR:SlavableAutomationControl

- + @@ -3302,18 +4034,17 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - - - + +
Methods
voidadd_master (AutomationControl, bool)
voidadd_master (AutomationControl)
voidclear_masters ()
intget_boolean_masters ()
doubleget_masters_value ()
Methods
AutomationListalist ()
AutoStateautomation_state ()
AutoStyleautomation_style ()
doubleget_value ()

Get the current effective `user' value based on automation state

voidset_automation_state (AutoState)
voidset_automation_style (AutoStyle)
voidset_value (double, GroupControlDisposition)

Get and Set `internal' value

All derived classes must implement this.

Basic derived classes will ignore

group_override,
but more sophisticated children, notably those that proxy the value setting logic via an object that is aware of group relationships between this control and others, will find it useful.
voidstart_touch (double)
voidstop_touch (bool, double)
voidstop_touch (double)
boolwritable ()
Cast
Controlto_ctrl ()
SlavableAutomationControlto_slavable ()

Inherited from PBD:Controllable

@@ -3330,20 +4061,19 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

 ARDOUR:SoloIsolateControl

C‡: boost::shared_ptr< ARDOUR::SoloIsolateControl >, boost::weak_ptr< ARDOUR::SoloIsolateControl >

-

is-a: ARDOUR:SlavableAutomationControl,

+

is-a: ARDOUR:SlavableAutomationControl

A PBD::Controllable with associated automation data (AutomationList)

-
Methods
boolisnil ()
boolsameinstance (SoloIsolateControl)
boolself_solo_isolated ()
boolsolo_isolated ()
-

Inherited from ARDOUR:SlavableAutomationControl,

+

Inherited from ARDOUR:SlavableAutomationControl

- + @@ -3356,18 +4086,17 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - - - + +
Methods
voidadd_master (AutomationControl, bool)
voidadd_master (AutomationControl)
voidclear_masters ()
intget_boolean_masters ()
doubleget_masters_value ()
Methods
AutomationListalist ()
AutoStateautomation_state ()
AutoStyleautomation_style ()
doubleget_value ()

Get the current effective `user' value based on automation state

voidset_automation_state (AutoState)
voidset_automation_style (AutoStyle)
voidset_value (double, GroupControlDisposition)

Get and Set `internal' value

All derived classes must implement this.

Basic derived classes will ignore

group_override,
but more sophisticated children, notably those that proxy the value setting logic via an object that is aware of group relationships between this control and others, will find it useful.
voidstart_touch (double)
voidstop_touch (bool, double)
voidstop_touch (double)
boolwritable ()
Cast
Controlto_ctrl ()
SlavableAutomationControlto_slavable ()

Inherited from PBD:Controllable

@@ -3384,19 +4113,18 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

 ARDOUR:SoloSafeControl

C‡: boost::shared_ptr< ARDOUR::SoloSafeControl >, boost::weak_ptr< ARDOUR::SoloSafeControl >

-

is-a: ARDOUR:SlavableAutomationControl,

+

is-a: ARDOUR:SlavableAutomationControl

A PBD::Controllable with associated automation data (AutomationList)

-
Methods
boolisnil ()
boolsameinstance (SoloSafeControl)
boolsolo_safe ()
-

Inherited from ARDOUR:SlavableAutomationControl,

+

Inherited from ARDOUR:SlavableAutomationControl

- + @@ -3409,18 +4137,17 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - - - + +
Methods
voidadd_master (AutomationControl, bool)
voidadd_master (AutomationControl)
voidclear_masters ()
intget_boolean_masters ()
doubleget_masters_value ()
Methods
AutomationListalist ()
AutoStateautomation_state ()
AutoStyleautomation_style ()
doubleget_value ()

Get the current effective `user' value based on automation state

voidset_automation_state (AutoState)
voidset_automation_style (AutoStyle)
voidset_value (double, GroupControlDisposition)

Get and Set `internal' value

All derived classes must implement this.

Basic derived classes will ignore

group_override,
but more sophisticated children, notably those that proxy the value setting logic via an object that is aware of group relationships between this control and others, will find it useful.
voidstart_touch (double)
voidstop_touch (bool, double)
voidstop_touch (double)
boolwritable ()
Cast
Controlto_ctrl ()
SlavableAutomationControlto_slavable ()

Inherited from PBD:Controllable

@@ -3437,7 +4164,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

 ARDOUR:Source

C‡: boost::shared_ptr< ARDOUR::Source >, boost::weak_ptr< ARDOUR::Source >

-

is-a: ARDOUR:SessionObject

+

is-a: ARDOUR:SessionObjectPtr

A named object associated with a Session. Objects derived from this class are expected to be destroyed before the session calls drop_references().

@@ -3450,7 +4177,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - @@ -3458,9 +4184,10 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
boolisnil ()
longlength (long)
longnatural_position ()
boolsameinstance (Source)
longtimeline_position ()
longtimestamp ()
intuse_count ()
boolwritable ()
Cast
AudioSourceto_audiosource ()
FileSourceto_filesource ()
MidiSourceto_midisource ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -3474,6 +4201,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Methods
std::stringname ()
+ @@ -3485,7 +4213,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Constructor
ARDOUR.SourceList ()
ARDOUR.SourceList ()
Methods
LuaTableadd (LuaTable {Source})
Sourceat (unsigned long)

 ARDOUR:Stripable

C‡: boost::shared_ptr< ARDOUR::Stripable >, boost::weak_ptr< ARDOUR::Stripable >

-

is-a: ARDOUR:SessionObject

+

is-a: ARDOUR:SessionObjectPtr

A named object associated with a Session. Objects derived from this class are expected to be destroyed before the session calls drop_references().

@@ -3494,7 +4222,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + @@ -3503,9 +4231,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + + + @@ -3525,7 +4255,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - @@ -3536,8 +4265,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
AutomationControlcomp_makeup_control ()
AutomationControlcomp_mode_control ()
std::stringcomp_mode_name (unsigned int)
AutomationControlcomp_redux_control ()
ReadOnlyControlcomp_redux_control ()
AutomationControlcomp_speed_control ()
std::stringcomp_speed_name (unsigned int)
AutomationControlcomp_threshold_control ()
AutomationControleq_enable_control ()
AutomationControleq_freq_control (unsigned int)
AutomationControleq_gain_control (unsigned int)
AutomationControleq_hpf_control ()
AutomationControleq_q_control (unsigned int)
AutomationControleq_shape_control (unsigned int)
AutomationControlfilter_enable_controllable (bool)
AutomationControlfilter_freq_controllable (bool)
AutomationControlfilter_slope_controllable (bool)
GainControlgain_control ()
boolis_auditioner ()
boolis_hidden ()
PresentationInfopresentation_info_ptr ()
AutomationControlrec_enable_control ()
AutomationControlrec_safe_control ()
boolsameinstance (Stripable)
AutomationControlsend_enable_control (unsigned int)
AutomationControlsend_level_control (unsigned int)
std::stringsend_name (unsigned int)
GainControltrim_control ()
Cast
Routeto_route ()
VCAto_vca ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -3545,14 +4275,28 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Methods
std::stringname ()
Statefulto_stateful ()
StatefulDestructibleto_statefuldestructible ()
+

 ARDOUR:StripableList

+

C‡: std::list<boost::shared_ptr<ARDOUR::Stripable> >

+
+ + + + + + + + + + + +
Constructor
ARDOUR.StripableList ()
Methods
Stripableback ()
boolempty ()
Stripablefront ()
LuaIteriter ()
voidreverse ()
unsigned longsize ()
LuaTabletable ()

 ARDOUR:Tempo

C‡: ARDOUR::Tempo

Tempo, the speed at which musical time progresses (BPM).

- - + @@ -3568,12 +4312,16 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

Tempo Map - mapping of timecode to musical time. convert audio-samples, sample-rate to Bar/Beat/Tick, Meter/Tempo

Constructor
ARDOUR.Tempo (double, double)
npm
Note Types per minute
type
Note Type (default `4': quarter note)
ARDOUR.Tempo (double, double, double)
Methods
doubleframes_per_note_type (long)

audio samples per note type. if you want an instantaneous value for this, use TempoMap::frames_per_quarter_note_at() instead.

sr
samplerate
- - + + - - + + + + + + @@ -3610,7 +4358,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - @@ -3660,6 +4407,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
Methods
MeterSectionadd_meter (Meter, double, BBT_TIME, long, PositionLockStyle)
TempoSectionadd_tempo (Tempo, double, long, Type, PositionLockStyle)
MeterSectionadd_meter (Meter, BBT_TIME, long, PositionLockStyle)
TempoSectionadd_tempo (Tempo, double, long, PositionLockStyle)
BBT_TIMEbbt_at_frame (long)

Returns the BBT time corresponding to the supplied frame position.

frame
the position in audio samples.

Returns the BBT time at the frame position .

doubleexact_beat_at_frame (long, int)
doubleexact_qn_at_frame (long, int)
doubleexact_beat_at_frame (long, int)
doubleexact_qn_at_frame (long, int)
longframepos_plus_qn (long, Beats)

Add some (fractional) Beats to a session frame position, and return the result in frames. pos can be -ve, if required.

Beatsframewalk_to_qn (long, long)

Count the number of beats that are equivalent to distance when going forward, starting at pos.

MeterSectionmeter_section_at_beat (double)
MeterSectionmeter_section_at_frame (long)
TempoSectiontempo_section_at_frame (long)
boolcan_record ()
boolisnil ()
Playlistplaylist ()
boolsameinstance (Track)
boolset_name (std::string)
Cast
AudioTrackto_audio_track ()
Amptrim ()
Cast
Automatableto_automatable ()
Slavableto_slavable ()
Trackto_track ()

Inherited from ARDOUR:Stripable

@@ -3669,7 +4417,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C AutomationControlcomp_makeup_control () AutomationControlcomp_mode_control () std::stringcomp_mode_name (unsigned int) - AutomationControlcomp_redux_control () + ReadOnlyControlcomp_redux_control () AutomationControlcomp_speed_control () std::stringcomp_speed_name (unsigned int) AutomationControlcomp_threshold_control () @@ -3678,9 +4426,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C AutomationControleq_enable_control () AutomationControleq_freq_control (unsigned int) AutomationControleq_gain_control (unsigned int) - AutomationControleq_hpf_control () AutomationControleq_q_control (unsigned int) AutomationControleq_shape_control (unsigned int) + AutomationControlfilter_enable_controllable (bool) + AutomationControlfilter_freq_controllable (bool) + AutomationControlfilter_slope_controllable (bool) GainControlgain_control () boolis_auditioner () boolis_hidden () @@ -3709,8 +4459,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C GainControltrim_control () Cast Routeto_route () + VCAto_vca () -

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -3726,7 +4477,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Methods
std::stringname ()
-
Methods
boolisnil ()
boolsameinstance (UnknownProcessor)

Inherited from ARDOUR:Processor

@@ -3735,6 +4485,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -3745,10 +4496,81 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
boolactive ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
ChanCountinput_streams ()
ChanCountoutput_streams ()
Cast
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

+ + + + + + +
Methods
std::stringname ()
Cast
Statefulto_stateful ()
StatefulDestructibleto_statefuldestructible ()
+

 ARDOUR:VCA

+

C‡: boost::shared_ptr< ARDOUR::VCA >, boost::weak_ptr< ARDOUR::VCA >

+

is-a: ARDOUR:Stripable

+
+

A named object associated with a Session. Objects derived from this class are expected to be destroyed before the session calls drop_references().

+ + + + + + + + +
Methods
std::stringfull_name ()
GainControlgain_control ()
boolisnil ()
MuteControlmute_control ()
intnumber ()
SoloControlsolo_control ()
+

Inherited from ARDOUR:Stripable

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods
AutomationControlcomp_enable_control ()
AutomationControlcomp_makeup_control ()
AutomationControlcomp_mode_control ()
std::stringcomp_mode_name (unsigned int)
ReadOnlyControlcomp_redux_control ()
AutomationControlcomp_speed_control ()
std::stringcomp_speed_name (unsigned int)
AutomationControlcomp_threshold_control ()
unsigned inteq_band_cnt ()
std::stringeq_band_name (unsigned int)
AutomationControleq_enable_control ()
AutomationControleq_freq_control (unsigned int)
AutomationControleq_gain_control (unsigned int)
AutomationControleq_q_control (unsigned int)
AutomationControleq_shape_control (unsigned int)
AutomationControlfilter_enable_controllable (bool)
AutomationControlfilter_freq_controllable (bool)
AutomationControlfilter_slope_controllable (bool)
boolis_auditioner ()
boolis_hidden ()
boolis_master ()
boolis_monitor ()
boolis_selected ()
AutomationControlmaster_send_enable_control ()
MonitorProcessormonitor_control ()
AutomationControlpan_azimuth_control ()
AutomationControlpan_elevation_control ()
AutomationControlpan_frontback_control ()
AutomationControlpan_lfe_control ()
AutomationControlpan_width_control ()
PhaseControlphase_control ()
PresentationInfopresentation_info_ptr ()
AutomationControlrec_enable_control ()
AutomationControlrec_safe_control ()
AutomationControlsend_enable_control (unsigned int)
AutomationControlsend_level_control (unsigned int)
std::stringsend_name (unsigned int)
voidset_presentation_order (unsigned int)
SoloIsolateControlsolo_isolate_control ()
SoloSafeControlsolo_safe_control ()
GainControltrim_control ()
Cast
Routeto_route ()
VCAto_vca ()
+

Inherited from ARDOUR:SessionObjectPtr

@@ -3756,6 +4578,43 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Methods
std::stringname ()
Statefulto_stateful ()
StatefulDestructibleto_statefuldestructible ()
+

 ARDOUR:VCAList

+

C‡: std::list<boost::shared_ptr<ARDOUR::VCA> >

+
+ + + + + + + + + + + +
Constructor
ARDOUR.VCAList ()
Methods
VCAback ()
boolempty ()
VCAfront ()
LuaIteriter ()
voidreverse ()
unsigned longsize ()
LuaTabletable ()
+

 ARDOUR:VCAManager

+

C‡: ARDOUR::VCAManager

+

is-a: PBD:StatefulDestructible

+
+

Base class for objects with saveable and undoable state with destruction notification

+ + + + + + + + +
Methods
intcreate_vca (unsigned int, std::string)
unsigned longn_vcas ()
voidremove_vca (VCA)
VCAvca_by_name (std::string)
VCAvca_by_number (int)
VCAListvcas ()
+

Inherited from PBD:Stateful

+ + + + + + +
Methods
voidclear_changes ()

Forget about any changes to this object's properties

IDid ()
OwnedPropertyListproperties ()

 ARDOUR:WeakAudioSourceList

C‡: std::list<boost::weak_ptr<ARDOUR::AudioSource> >

@@ -3763,7 +4622,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂARDOUR.WeakAudioSourceList () Methods + AudioSourceback () boolempty () + AudioSourcefront () LuaIteriter () voidreverse () unsigned longsize () @@ -3776,7 +4637,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂARDOUR.WeakRouteList () Methods + Routeback () boolempty () + Routefront () LuaIteriter () voidreverse () unsigned longsize () @@ -3789,7 +4652,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂARDOUR.WeakSourceList () Methods + Sourceback () boolempty () + Sourcefront () LuaIteriter () voidreverse () unsigned longsize () @@ -3801,6 +4666,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods std::stringhttp_get (std::string) ProcessorVectorprocessor_selection () + unsigned inttranslate_order (InsertAt)

 ArdourUI:ArdourMarker

C‡: ArdourMarker

@@ -3820,7 +4686,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C ℂArdourUI.ArdourMarkerList () Methods LuaTableadd (ArdourMarker* ) + ArdourMarkerback () boolempty () + ArdourMarkerfront () LuaIteriter () voidpush_back (ArdourMarker) voidreverse () @@ -3828,23 +4696,32 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C LuaTabletable () voidunique () +

 ArdourUI:AxisView

+

C‡: AxisView

+
+

AxisView defines the abstract base class for horizontal and vertical presentations of Stripables.

+

This class object is only used indirectly as return-value and function-parameter. It provides no methods by itself.

 ArdourUI:Editor

C‡: PublicEditor

This class contains just the public interface of the Editor class, in order to decouple it from the private implementation, so that callers of PublicEditor need not be recompiled if private methods or member variables change.

- + + + + + - + @@ -3857,6 +4734,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -3869,14 +4747,18 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + + @@ -3884,6 +4766,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -3891,6 +4774,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -3904,15 +4788,19 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + + @@ -3937,7 +4825,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + @@ -3951,13 +4841,38 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

Class to represent list of selected regions.

Methods
voidaccess_action (std::string, std::string)
voidaccess_action (std::string, std::string)
voidadd_location_from_playhead_cursor ()
TrackViewListaxis_views_from_routes (RouteListPtr)
voidcenter_screen (long)
voidclear_playlist (Playlist)
voidclear_playlists (TimeAxisView)
voidconsider_auditioning (Region)

Possibly start the audition of a region. If

r
is 0, or not an AudioRegion any current audition is cancelled. If we are currently auditioning
r
will start.
r
Region to consider.
r,
the audition will be cancelled. Otherwise an audition of
voidcopy_playlists (TimeAxisView)
MouseModecurrent_mouse_mode ()

Returns The current mouse mode (gain, object, range, timefx etc.) (defined in editing_syms.h)

longcurrent_page_samples ()
voiddeselect_all ()
LuaTable(...)do_embed (StringVector, ImportDisposition, ImportMode, long&, PluginInfo)
LuaTable(...)do_import (StringVector, ImportDisposition, ImportMode, SrcQuality, MidiTrackNameSource, --MISSING (ARDOUR::MidiTempoMapDisposition)--, long&, PluginInfo)
LuaTable(...)do_import (StringVector, ImportDisposition, ImportMode, SrcQuality, MidiTrackNameSource, MidiTempoMapDisposition, long&, PluginInfo)

Import existing media

booldragging_playhead ()

Returns true if the playhead is currently being dragged, otherwise false

Open export dialog with current selection pre-selected

LuaTable(Location, ...)find_location_from_marker (ArdourMarker, bool&)
ArdourMarkerfind_marker_from_location_id (ID, bool)
voidfit_selection ()
boolfollow_playhead ()

Returns true if the editor is following the playhead

longget_current_zoom ()
Selectionget_selection ()
LuaTable(bool, ...)get_selection_extents (long&, long&)
boolget_smart_mode ()
StripableTimeAxisViewget_stripable_time_axis_by_id (ID)
TrackViewListget_track_views ()
intget_videotl_bar_height ()
doubleget_y_origin ()
ZoomFocusget_zoom_focus ()
voidgoto_nth_marker (int)
voidhide_track_in_display (TimeAxisView, bool)
longleftmost_sample ()
voidmaximise_editing_space ()
voidmaybe_locate_with_edit_preroll (long)
voidmouse_add_new_marker (long, bool)
voidnew_playlists (TimeAxisView)
voidnew_region_from_selection ()
voidoverride_visible_track_count ()
longpixel_to_sample (double)
voidplay_with_preroll ()
voidredo (unsigned int)

Redo some transactions.

n
Number of transaction to redo.
RegionViewregionview_from_region (Region)
voidremove_last_capture ()
voidremove_location_at_playhead_cursor ()
voidremove_tracks ()
voidreset_y_origin (double)
voidreset_zoom (long)
voidrestore_editing_space ()
RouteTimeAxisViewrtav_from_route (Route)
doublesample_to_pixel (long)
boolscroll_down_one_track (bool)
voidscroll_tracks_down_line ()
voidset_mouse_mode (MouseMode, bool)

Set the mouse mode (gain, object, range, timefx etc.)

m
Mouse mode (defined in editing_syms.h)
force
Perform the effects of the change even if no change is required (ie even if the current mouse mode is equal to
voidset_punch_range (long, long, std::string)
voidset_selection (SelectionList, Operation)
voidset_show_measures (bool)
voidset_snap_mode (SnapMode)

Set the snap mode.

m
Snap mode (defined in editing_syms.h)
voidset_snap_threshold (double)

Set the snap threshold.

t
Snap threshold in `units'.
voidset_stationary_playhead (bool)
voidset_toggleaction (std::string, std::string, bool)
voidset_video_timeline_height (int)
voidset_visible_track_count (int)
voidset_zoom_focus (ZoomFocus)
boolshow_measures ()
voidshow_track_in_display (TimeAxisView, bool)
SnapModesnap_mode ()
SnapTypesnap_type ()
boolstationary_playhead ()
ArdourUI.ArdourMarkerList ()
Methods
LuaTableadd (ArdourMarker* )
ArdourMarkerback ()
boolempty ()
ArdourMarkerfront ()
LuaIteriter ()
voidpush_back (ArdourMarker)
voidreverse ()
- -
Methods
voidclear_all ()

Empty this RegionSelection.

longend_frame ()
unsigned longn_midi_regions ()
RegionListregionlist ()
longstart ()
+

 ArdourUI:RegionView

+

C‡: RegionView

+

is-a: ArdourUI:TimeAxisViewItem

+
+

Base class for items that may appear upon a TimeAxisView.

+

This class object is only used indirectly as return-value and function-parameter. It provides no methods by itself.

+

 ArdourUI:RouteTimeAxisView

+

C‡: RouteTimeAxisView

+

is-a: ArdourUI:RouteUI

+
+

Base class for objects with auto-disconnection. trackable must be inherited when objects shall automatically invalidate slots referring to them on destruction. A slot built from a member function of a trackable derived type installs a callback that is invoked when the trackable object is destroyed or overwritten.

add_destroy_notify_callback() and remove_destroy_notify_callback() can be used to manually install and remove callbacks when notification of the object dying is needed.

notify_callbacks() invokes and removes all previously installed callbacks and can therefore be used to disconnect from all signals.

Note that there is no virtual destructor. Don't use trackable* as pointer type for managing your data or the destructors of your derived types won't be called when deleting your objects.

 signal
+ + + + +
Cast
StripableTimeAxisViewto_stripabletimeaxisview ()
TimeAxisViewto_timeaxisview ()
+

 ArdourUI:RouteUI

+

C‡: RouteUI

+

is-a: ArdourUI:Selectable

+
+

Base class for objects with auto-disconnection. trackable must be inherited when objects shall automatically invalidate slots referring to them on destruction. A slot built from a member function of a trackable derived type installs a callback that is invoked when the trackable object is destroyed or overwritten.

add_destroy_notify_callback() and remove_destroy_notify_callback() can be used to manually install and remove callbacks when notification of the object dying is needed.

notify_callbacks() invokes and removes all previously installed callbacks and can therefore be used to disconnect from all signals.

Note that there is no virtual destructor. Don't use trackable* as pointer type for managing your data or the destructors of your derived types won't be called when deleting your objects.

 signal
+

This class object is only used indirectly as return-value and function-parameter. It provides no methods by itself.

+

 ArdourUI:Selectable

+

C‡: Selectable

+
+

Base class for objects with auto-disconnection. trackable must be inherited when objects shall automatically invalidate slots referring to them on destruction. A slot built from a member function of a trackable derived type installs a callback that is invoked when the trackable object is destroyed or overwritten.

add_destroy_notify_callback() and remove_destroy_notify_callback() can be used to manually install and remove callbacks when notification of the object dying is needed.

notify_callbacks() invokes and removes all previously installed callbacks and can therefore be used to disconnect from all signals.

Note that there is no virtual destructor. Don't use trackable* as pointer type for managing your data or the destructors of your derived types won't be called when deleting your objects.

 signal
+

This class object is only used indirectly as return-value and function-parameter. It provides no methods by itself.

 ArdourUI:Selection

C‡: Selection

@@ -3975,6 +4890,41 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C ArdourUI:TimeSelectiontime ArdourUI:TrackSelectiontracks +

 ArdourUI:SelectionList

+

C‡: std::list<Selectable* >

+
+ + + + + + + + + + + + + +
Constructor
ArdourUI.SelectionList ()
Methods
Selectableback ()
boolempty ()
Selectablefront ()
LuaIteriter ()
voidpush_back (Selectable)
voidreverse ()
unsigned longsize ()
LuaTabletable ()
voidunique ()
+

 ArdourUI:StripableTimeAxisView

+

C‡: StripableTimeAxisView

+

is-a: ArdourUI:TimeAxisView

+
+

Abstract base class for time-axis views (horizontal editor 'strips')

This class provides the basic LHS controls and display methods. This should be extended to create functional time-axis based views.

+

This class object is only used indirectly as return-value and function-parameter. It provides no methods by itself.

+

 ArdourUI:TimeAxisView

+

C‡: TimeAxisView

+

is-a: ArdourUI:AxisView

+
+

Abstract base class for time-axis views (horizontal editor 'strips')

This class provides the basic LHS controls and display methods. This should be extended to create functional time-axis based views.

+

This class object is only used indirectly as return-value and function-parameter. It provides no methods by itself.

+

 ArdourUI:TimeAxisViewItem

+

C‡: TimeAxisViewItem

+

is-a: ArdourUI:Selectable

+
+

Base class for items that may appear upon a TimeAxisView.

+

This class object is only used indirectly as return-value and function-parameter. It provides no methods by itself.

 ArdourUI:TimeSelection

C‡: TimeSelection

is-a: ARDOUR:AudioRangeList

@@ -3990,7 +4940,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂARDOUR.AudioRangeList () Methods + AudioRangeback () boolempty () + AudioRangefront () LuaIteriter () voidreverse () unsigned longsize () @@ -4004,15 +4956,65 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

Inherited from ArdourUI:TrackViewList

+
Methods
boolcontains (TimeAxisView)
RouteListroutelist ()
+

Inherited from ArdourUI:TrackViewStdList

+ + + + + + + + + + + + + +
Constructor
ArdourUI.TrackViewStdList ()
Methods
TimeAxisViewback ()
boolempty ()
TimeAxisViewfront ()
LuaIteriter ()
voidpush_back (TimeAxisView)
voidreverse ()
unsigned longsize ()
LuaTabletable ()
voidunique ()

 ArdourUI:TrackViewList

C‡: TrackViewList

+

is-a: ArdourUI:TrackViewStdList

+
Methods
boolcontains (TimeAxisView)
RouteListroutelist ()
+

Inherited from ArdourUI:TrackViewStdList

+ + + + + + + + + + + + + +
Constructor
ArdourUI.TrackViewStdList ()
Methods
TimeAxisViewback ()
boolempty ()
TimeAxisViewfront ()
LuaIteriter ()
voidpush_back (TimeAxisView)
voidreverse ()
unsigned longsize ()
LuaTabletable ()
voidunique ()
+

 ArdourUI:TrackViewStdList

+

C‡: std::list<TimeAxisView* >

+
+ + + + + + + + + + + + + +
Constructor
ArdourUI.TrackViewStdList ()
Methods
TimeAxisViewback ()
boolempty ()
TimeAxisViewfront ()
LuaIteriter ()
voidpush_back (TimeAxisView)
voidreverse ()
unsigned longsize ()
LuaTabletable ()
voidunique ()

 C:ByteArray

C‡: unsigned char*

@@ -4021,7 +5023,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C LuaMetaTablearray () LuaTableget_table () unsigned char*offset (unsigned int) - boolsameinstance (unsigned char*) voidset_table (LuaTable {unsigned char})

 C:DoubleVector

@@ -4030,6 +5031,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -4047,7 +5049,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C -
Constructor
C.DoubleVector ()
C.DoubleVector ()
Methods
LuaTableadd (LuaTable {double})
doubleat (unsigned long)
LuaMetaTablearray ()
LuaTableget_table ()
FloatArrayoffset (unsigned int)
boolsameinstance (FloatArray)
voidset_table (LuaTable {float})

 C:FloatArrayVector

@@ -4056,6 +5057,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -4071,6 +5073,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Constructor
C.FloatArrayVector ()
C.FloatArrayVector ()
Methods
LuaTableadd (LuaTable {FloatArray})
FloatArrayat (unsigned long)
+ @@ -4080,6 +5083,24 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Constructor
C.FloatVector ()
C.FloatVector ()
Methods
LuaTableadd (LuaTable {float})
floatat (unsigned long)
unsigned longsize ()
LuaTabletable ()
+

 C:Int64List

+

C‡: std::list<long >

+
+ + + + + + + + + + + + + + +
Constructor
C.Int64List ()
Methods
LuaTableadd (LuaTable {long})
longback ()
boolempty ()
longfront ()
LuaIteriter ()
voidpush_back (long)
voidreverse ()
unsigned longsize ()
LuaTabletable ()
voidunique ()

 C:IntArray

C‡: int*

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

 C:StringList

@@ -4099,7 +5119,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C ℂC.StringList () Methods LuaTableadd (LuaTable {std::string}) + std::stringback () boolempty () + std::stringfront () LuaIteriter () voidpush_back (std::string) voidreverse () @@ -4113,6 +5135,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -4246,6 +5269,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -4277,7 +5301,15 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - +
Constructor
C.StringVector ()
C.StringVector ()
Methods
LuaTableadd (LuaTable {std::string})
std::stringat (unsigned long)

Queries whether the layout had to ellipsize any paragraphs.

This returns true if the ellipsization mode for layout is not Pango::ELLIPSIZE_NONE, a positive width is set on layout, and there are paragraphs exceeding that width that have to be ellipsized.

Returns true if any paragraphs had to be ellipsized, false otherwise.

boolis_wrapped ()

Queries whether the layout had to wrap any paragraphs.

This returns true if a positive width is set on layout, ellipsization mode of layout is set to Pango::ELLIPSIZE_NONE, and there are paragraphs exceeding the layout width that have to be wrapped.

Returns true if any paragraphs had to be wrapped, false otherwise.

voidlayout_cairo_path (Context)
voidset_ellipsize (EllipsizeMode)

Sets the type of ellipsization being performed for layout. Depending on the ellipsization mode ellipsize text is removed from the start, middle, or end of text so they fit within the width and height of layout set with set_width() and set_height().

If the layout contains characters such as newlines that force it to be layed out in multiple paragraphs, then whether each paragraph is ellipsized separately or the entire layout is ellipsized as a whole depends on the set height of the layout. See set_height() for details.

ellipsize
The new ellipsization mode for layout.
voidset_markup (std::string)
Methods
boolisnil ()
ControlListlist ()
boolsameinstance (Control)
+

 Evoral:ControlEvent

+

C‡: Evoral::ControlEvent

+
+

A single event (time-stamped value) for a control

+ + + +
Data Members
doublevalue
doublewhen

 Evoral:ControlList

C‡: boost::shared_ptr< Evoral::ControlList >, boost::weak_ptr< Evoral::ControlList >

@@ -4289,17 +5321,18 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

add automation events

when
absolute time in samples
value
parameter value
with_guards
if true, add guard-points
with_initial
if true, add an initial point if the list is empty
voidclear (double, double)

remove all automation events between the given time range

start
start of range (inclusive) in audio samples
end
end of range (inclusive) in audio samples
- doubleeval (double) + voidclear_list () + doubleeval (double)

query value at given time (takes a read-lock, not safe while writing automation)

where
absolute time in samples

Returns parameter value

+ EventListevents () boolin_write_pass () InterpolationStyleinterpolation ()

query interpolation style of the automation data

Returns Interpolation Style

boolisnil () - LuaTable(double, ...)rt_safe_eval (double, bool&) + LuaTable(double, ...)rt_safe_eval (double, bool&)

realtime safe version of eval, may fail if read-lock cannot be taken

where
absolute time in samples
ok
boolean reference if returned value is valid

Returns parameter value

- boolsameinstance (ControlList) - voidset_interpolation (InterpolationStyle) -

set the interpolation style of the automation data

is
interpolation style
+ boolset_interpolation (InterpolationStyle) +

set the interpolation style of the automation data.

This will fail when asking for Logarithmic scale and min,max crosses 0 or Exponential scale with min != 0.

is
interpolation style

Returns true if style change was successful

voidthin (double)

Thin the number of events in this list.

The thinning factor corresponds to the area of a triangle computed between three points in the list (time-difference * value-difference). If the area is large, it indicates significant non-linearity between the points.

Time is measured in samples, value is usually normalized to 0..1.

During automation recording we thin the recorded points using this value. If a point is sufficiently co-linear with its neighbours (as defined by the area of the triangle formed by three of them), we will not include it in the list. The larger the value, the more points are excluded, so this effectively measures the amount of thinning to be done.

thinning_factor
area-size (default: 20)
voidtruncate_end (double) @@ -4313,7 +5346,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C -
Methods
boolisnil ()
boolsameinstance (ControlSet)

 Evoral:Event

C‡: Evoral::Event<long>

@@ -4340,7 +5372,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Beatslength () unsigned charnote () unsigned charoff_velocity () - boolsameinstance (NotePtr) Beatstime () unsigned charvelocity () @@ -4364,6 +5395,8 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂEvoral.ParameterDescriptor () Data Members + boollogarithmic +

True for log-scale parameters

floatlower

Minimum value (in Hz, for frequencies)

floatnormal @@ -4390,31 +5423,41 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C -
Methods
boolisnil ()
boolsameinstance (Sequence)
-

 LuaCairo

+

 LuaDialog:Dialog

+

C‡: LuaDialog::Dialog

+ + - - + +
Constructor
LuaDialog.Dialog (std::string, Lua-Function)
Methods
...color_to_rgba (--lua--)

expand RGBA color to parameters

convert a Canvas::Color (uint32_t 0xRRGGBBAA) into double RGBA values which can be passed as parameters to Cairo::Context::set_source_rgba

Returns r, g, b, a

...run (--lua--)
+

 LuaDialog:Message

+

C‡: LuaDialog::Message

+
+ + + + +
Constructor
LuaDialog.Message (std::string, std::string, MessageType, ButtonType)
Methods
intrun ()

 LuaSignal:Set

-

C‡: std::bitset<47ul>

+

C‡: std::bitset<48ul>

- - - - - - - + + + + + + + - +
Constructor
LuaSignal.Set ()
Methods
LuaTableadd (47ul)
boolany ()
unsigned longcount ()
boolnone ()
Setreset ()
Setset (unsigned long, bool)
unsigned longsize ()
LuaTableadd (48ul)
boolany ()
unsigned longcount ()
boolnone ()
Setreset ()
Setset (unsigned long, bool)
unsigned longsize ()
LuaTabletable ()
booltest (unsigned long)
booltest (unsigned long)

 PBD

@@ -4465,7 +5508,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C doubleget_value () boolisnil () std::stringname () - boolsameinstance (Controllable)

Inherited from PBD:StatefulPtr

@@ -4491,6 +5533,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
+ @@ -4581,7 +5624,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Constructor
PBD.IdVector ()
PBD.IdVector ()
Methods
LuaTableadd (LuaTable {ID})
IDat (unsigned long)
-
Methods
boolisnil ()
boolsameinstance (StatefulDestructible)

Inherited from PBD:StatefulPtr

@@ -4626,7 +5668,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C -
IDid ()
boolisnil ()
OwnedPropertyListproperties ()
boolsameinstance (Stateful)

 PBD:XMLNode

C‡: XMLNode

@@ -4747,6 +5788,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -4812,6 +5854,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Constructor
Vamp.Plugin.FeatureList ()
Vamp.Plugin.FeatureList ()
Methods
LuaTableadd (LuaTable {Feature})
Featureat (unsigned long)
+ @@ -4886,6 +5929,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Constructor
Vamp.Plugin.OutputList ()
Vamp.Plugin.OutputList ()
Methods
LuaTableadd (LuaTable {OutputDescriptor})
OutputDescriptorat (unsigned long)
+ @@ -4913,6 +5957,13 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Constructor
Vamp.PluginBase.ParameterList ()
Vamp.PluginBase.ParameterList ()
Methods
LuaTableadd (LuaTable {ParameterDescriptor})
ParameterDescriptorat (unsigned long)
intnsec
intsec
+

 os

+
+ + + + +
Methods
intexecute (std::string)
LuaTableforkexec ()

Enum/Constants

 PBD.Controllable.GroupControlDisposition

-

 ARDOUR.AutoStyle

-

 ARDOUR.AutoState

+

 ARDOUR.MidiTempoMapDisposition

+ @@ -5144,6 +6192,107 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
  • ARDOUR.InsertMergePolicy.TruncateAddition
  • ARDOUR.InsertMergePolicy.Extend
  • +

     ARDOUR.AFLPosition

    + +

     ARDOUR.PFLPosition

    + +

     ARDOUR.AutoReturnTarget

    + +

     ARDOUR.FadeShape

    + +

     ARDOUR.DenormalModel

    + +

     ARDOUR.BufferingPreset

    + +

     ARDOUR.EditMode

    + +

     ARDOUR.AutoConnectOption

    + +

     ARDOUR.LayerModel

    + +

     ARDOUR.ListenPosition

    + +

     ARDOUR.MonitorModel

    + +

     ARDOUR.RegionSelectionAfterSplit

    + +

     ARDOUR.ShuttleBehaviour

    + +

     ARDOUR.ShuttleUnits

    + +

     ARDOUR.SyncSource

    + +

     ARDOUR.TracksAutoNamingRule

    +

     ARDOUR.Session.RecordState

    -

     LuaSignal.LuaSignal

    +

     LuaDialog.Message.MessageType

    +

     LuaDialog.Message.ButtonType

    + +

     LuaDialog.Response

    + +

     RouteDialogs.InsertAt

    +

     ArdourMarker.Type

    +

     Selection.Operation

    +

     Editing.SnapType

    +

     LuaSignal.LuaSignal

    +

    Class Index

    - + -
    Ardour 5.6-64-gdcce5f008  -  Fri, 17 Feb 2017 23:55:07 +0100
    +
    Ardour 5.12  -  Sat, 16 Sep 2017 16:18:16 +0200