X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fclass-reference.html;h=becc5a807f3eb7952456f3e3b548b5a37a702602;hb=a26b49e5c69ac38d5465c62623994e8a81f1b6b3;hp=d1bf9c45f9b099def3ce6acf0c46a21933f587bd;hpb=f53149375772840caa8db25f4ad5f9a3f6d7be02;p=ardour-manual diff --git a/include/class-reference.html b/include/class-reference.html index d1bf9c4..becc5a8 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: @@ -43,7 +43,7 @@ you cannot simply remove a track that is currently processing audio. There are v

Pass by Reference

-Since lua functions are closures, C++ methods that pass arguments by reference cannot be used as-is. +Since Lua functions are closures, C++ methods that pass arguments by reference cannot be used as-is. All parameters passed to a C++ method which uses references are returned as Lua Table. If the C++ method also returns a value it is prefixed. Two parameters are returned: the value and a Lua Table holding the parameters.

@@ -95,12 +95,12 @@ 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. -For example a ARDOUR:Route is a pointer in C++, but lua functions operate on it like it was a class instance. +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.

-shared_ptr are reference counted. Once assigned to a lua variable, the C++ object will be kept and remains valid. -It is good practice to assign references to lua local variables or reset the variable to nil to drop the ref. +shared_ptr are reference counted. Once assigned to a Lua variable, the C++ object will be kept and remains valid. +It is good practice to assign references to Lua local variables or reset the variable to nil to drop the ref.

All pointer classes have a isnil () method. This is for two cases: @@ -110,24 +110,35 @@ may not be able to find the given plugin and hence cannot create an object.

The second case if for boost::weak_ptr. As opposed to boost::shared_ptr weak-pointers are not reference counted. The object may vanish at any time. -If lua code calls a method on a nil object, the interpreter will raise an exception and the script will not continue. +If Lua code calls a method on a nil object, the interpreter will raise an exception and the script will not continue. This is not unlike a = nil a:test() which results in en error "attempt to index a nil value".

-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. -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. +From the Lua side of things there is no distinction between weak and shared pointers. They behave identically. +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 ()
std::stringuser_cache_directory (std::string)

Returns the path to the directory used to store user specific caches (e.g. plugin indices, blacklist/whitelist) it defaults to XDG_CACHE_HOME

std::stringuser_config_directory (int)

user_config_directory() exists IF version was negative.

version
of the program. If
version
is negative, the build-time string PROGRAM_VERSION will be used to determine the version number.

Returns the path to the directory used to store user specific configuration files for the given

 ARDOUR:Amp

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

is-a: ARDOUR:Processor

-

Applies a declick operation to all audio inputs, passing the same number of audio outputs, and passing through any other types unchanged.

+

Gain Stage (Fader, Trim).

+
Methods
floatapply_gain (AudioBuffer&, long, long, float, float, long)
GainControlgain_control ()
boolisnil ()
@@ -136,24 +147,37 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods voidactivate () boolactive () + longcapture_offset () voiddeactivate () std::stringdisplay_name () booldisplay_to_user () - ChanCountinput_streams () - ChanCountoutput_streams () + longinput_latency () + ChanCountinput_streams () + longoutput_latency () + ChanCountoutput_streams () + longplayback_offset () + longsignal_latency () Cast Ampto_amp () Automatableto_automatable () + DelayLineto_delayline () + DiskIOProcessorto_diskioprocessor () + DiskReaderto_diskreader () + DiskWriterto_diskwriter () PluginInsertto_insert () + InternalSendto_internalsend () IOProcessorto_ioprocessor () + Latentto_latent () PeakMeterto_meter () MonitorProcessorto_monitorprocessor () PeakMeterto_peakmeter () PluginInsertto_plugininsert () + PolarityProcessorto_polarityprocessor () + Sendto_send () SideChainto_sidechain () UnknownProcessorto_unknownprocessor () -

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

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

 ARDOUR:AsyncMIDIPort

+

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

+

is-a: ARDOUR:MidiPort

+
+ + + + +
Methods
boolisnil ()
intwrite (unsigned char*, unsigned long, unsigned int)
+

Inherited from ARDOUR:MidiPort

+ + + + + + + +
Methods
MidiBufferget_midi_buffer (unsigned int)
boolinput_active ()
voidset_input_active (bool)
Cast
AsyncMIDIPortto_asyncmidiport ()
+

Inherited from ARDOUR:Port

+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods
intconnect (std::string)
boolconnected ()

Returns true if this port is connected to anything

boolconnected_to (std::string)
o
Port name

Returns true if this port is connected to o, otherwise false.

intdisconnect (std::string)
intdisconnect_all ()
PortFlagsflags ()

Returns flags

LuaTable(...)get_connected_latency_range (LatencyRange&, bool)
std::stringname ()

Returns Port short name

boolphysically_connected ()
std::stringpretty_name (bool)

Returns Port human readable name

LatencyRangeprivate_latency_range (bool)
LatencyRangepublic_latency_range (bool)
boolreceives_input ()

Returns true if this Port receives input, otherwise false

boolsends_output ()

Returns true if this Port sends output, otherwise false

Cast
AsyncMIDIPortto_asyncmidiport ()
AudioPortto_audioport ()
MidiPortto_midiport ()

 ARDOUR:AudioBackend

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

@@ -182,7 +253,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C DeviceStatusVectorenumerate_output_devices ()

Returns a collection of DeviceStatuses identifying output devices discovered by this backend since the start of the process.

Any of the names in each DeviceStatus may be used to identify a device in other calls to the backend, though any of them may become invalid at any time.

AudioBackendInfoinfo () -

Return the AudioBackendInfo object from which this backend was constructed.

+

Return the AudioBackendInfo object from which this backend was constructed.

unsigned intinput_channels () std::stringinput_device_name () boolisnil () @@ -193,9 +264,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C 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).

intset_device_name (std::string) -

Set the name of the device to be used

+

Set the name of the device to be used

intset_driver (std::string) -

Returns zero if the backend can successfully use

Should not be used unless the backend returns true from requires_driver_selection()

name
as the driver, non-zero otherwise.
+

Returns zero if the backend can successfully use drivername as the driver, non-zero otherwise.

Should not be used unless the backend returns true from requires_driver_selection()

intset_input_device_name (std::string)

Set the name of the input device to be used if using separate input/output devices.

use_separate_input_and_output_devices()

intset_output_device_name (std::string) @@ -203,7 +274,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C intset_peridod_size (unsigned int)

Set the period size to be used. must be called before starting the backend.

intset_sample_rate (float) -

Set the sample rate to be used

+

Set the sample rate to be used

booluse_separate_input_and_output_devices ()

An optional alternate interface for backends to provide a facility to select separate input and output devices.

If a backend returns true then enumerate_input_devices() and enumerate_output_devices() will be used instead of enumerate_devices() to enumerate devices. Similarly set_input/output_device_name() should be used to set devices instead of set_device_name().

@@ -221,8 +292,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + - + @@ -236,8 +308,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + @@ -266,6 +341,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
Methods
voidapply_gain (float, long)

Apply a fixed gain factor to the audio buffer

gain
gain factor
len
number of samples to amplify
boolcheck_silence (unsigned int, unsigned int&)

check buffer for silence

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

Returns true if all samples are zero

Check buffer for silence

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

Returns true if all samples are zero

FloatArraydata (long)
voidread_from (FloatArray, long, long, long)
voidsilence (long, long)
Methods
BackendVectoravailable_backends ()
std::stringcurrent_backend_name ()
boolfreewheeling ()
floatget_dsp_load ()
std::stringget_last_backend_error ()
longprocessed_samples ()
boolrunning ()
AudioBackendset_backend (std::string, std::string, std::string)
intset_buffer_size (unsigned int)
intset_device_name (std::string)
boolphysically_connected (std::string)
PortEngineport_engine ()
boolport_is_physical (std::string)
voidreset_input_meters ()

 ARDOUR:AudioPlaylist

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

@@ -276,6 +352,7 @@ 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) +
start
Start position in session samples.
cnt
Number of samples to read.

Inherited from ARDOUR:Playlist

@@ -290,9 +367,13 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + + + + + @@ -306,16 +387,18 @@ 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
voidduplicate_range (AudioRange&, float)
voidduplicate_until (Region, long, long, long)
gap
from the beginning of the region to the next beginning
end
the first frame that does _not_ contain a duplicated frame
gap
from the beginning of the region to the next beginning
end
the first sample that does _not_ contain a duplicated sample
boolempty ()
Regionfind_next_region (long, RegionPoint, int)
longfind_next_region_boundary (long, int)
longfind_next_transient (long, int)
IDget_orig_track_id ()
boolhidden ()
voidlower_region (Region)
voidlower_region_to_bottom (Region)
unsigned intn_regions ()
RegionListPtrregions_with_end_within (Range)
RegionListPtrregions_with_start_within (Range)
voidremove_region (Region)
voidsplit (long)
voidsplit_region (Region, MusicFrame)
boolset_name (std::string)
boolshared ()
voidsplit_region (Region, MusicSample)
Regiontop_region_at (long)
Regiontop_unmuted_region_at (long)
voiduncombine (Region)
boolused ()
Cast
AudioPlaylistto_audioplaylist ()
MidiPlaylistto_midiplaylist ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -341,18 +424,41 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + + + + +
Methods
std::stringname ()
o
Port name

Returns true if this port is connected to o, otherwise false.

intdisconnect (std::string)
intdisconnect_all ()
PortFlagsflags ()

Returns flags

LuaTable(...)get_connected_latency_range (LatencyRange&, bool)
std::stringname ()

Returns Port short name

boolphysically_connected ()
std::stringpretty_name (bool)

Returns Port human readable name

LatencyRangeprivate_latency_range (bool)
LatencyRangepublic_latency_range (bool)
boolreceives_input ()

Returns true if this Port receives input, otherwise false

boolsends_output ()

Returns true if this Port sends output, otherwise false

Cast
AsyncMIDIPortto_asyncmidiport ()
AudioPortto_audioport ()
MidiPortto_midiport ()
+

 ARDOUR:AudioPortMeters

+

C‡: std::map<std::string, ARDOUR::PortManager::DPM >

+
+ + + + + + + + + + + + +
Constructor
ARDOUR.AudioPortMeters ()
Methods
LuaTableadd (std::string, ARDOUR::PortManager::DPM )
...at (--lua--)
voidclear ()
unsigned longcount (std::string)
boolempty ()
LuaIteriter ()
unsigned longsize ()
LuaTabletable ()

 ARDOUR:AudioRange

C‡: ARDOUR::AudioRange

@@ -363,7 +469,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C boolequal (AudioRange) longlength () Data Members - longend + long_end unsigned intid longstart @@ -374,9 +480,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂARDOUR.AudioRangeList () Methods - AudioRangeback () + AudioRangeback () boolempty () - AudioRangefront () + AudioRangefront () LuaIteriter () voidreverse () unsigned longsize () @@ -390,12 +496,24 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + + + + + + + + + +
Methods
AudioSourceaudio_source (unsigned int)
AutomationListenvelope ()
boolenvelope_active ()
boolfade_in_active ()
boolfade_out_active ()
boolisnil ()
doublemaximum_amplitude (Progress)

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.

floatscale_amplitude ()
LuaTable(int, ...)separate_by_channel (RegionVector&)
voidset_envelope_active (bool)
voidset_fade_in_active (bool)
voidset_fade_in_length (long)
voidset_fade_in_shape (FadeShape)
voidset_fade_out_active (bool)
voidset_fade_out_length (long)
voidset_fade_out_shape (FadeShape)
voidset_scale_amplitude (float)

Inherited from ARDOUR:Region

@@ -405,12 +523,15 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C boolautomatic () boolcan_move () boolcaptured () + voidcaptured_xruns (XrunPositions&, bool) 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 () @@ -427,18 +548,21 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C unsigned intn_channels () voidnudge_position (long) boolopaque () + Playlistplaylist () longposition () -

How the region parameters play together:

POSITION: first frame of the region along the timeline START: first frame of the region within its source(s) LENGTH: number of frames the region represents

+

How the region parameters play together:

POSITION: first sample of the region along the timeline START: first sample of the region within its source(s) LENGTH: number of samples the region represents

boolposition_locked () doublequarter_note () voidraise () voidraise_to_top () 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.

+

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.

voidset_length (long, int) voidset_locked (bool) voidset_muted (bool) + boolset_name (std::string) +

Note: changing the name of a Region does not constitute an edit

voidset_opaque (bool) voidset_position (long, int) voidset_position_locked (bool) @@ -454,6 +578,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) @@ -464,7 +589,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

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

 ARDOUR:AudioRom

+

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

+

is-a: ARDOUR:Readable

+
+ + + + +
Methods
boolisnil ()
AudioRomnew_rom (FloatArray, unsigned long)
+

Inherited from ARDOUR:Readable

+ + + + + + +
Methods
ReadableListload (Session&, std::string)
unsigned intn_channels ()
longread (FloatArray, long, long, int)
longreadable_length ()

 ARDOUR:AudioSource

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

is-a: ARDOUR:Source

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

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

- + @@ -498,7 +640,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + @@ -508,9 +650,10 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
Methods
std::stringcaptured_for ()
std::stringcaptured_for ()
boolempty ()
boolisnil ()
boolisnil ()
Methods
std::stringancestor_name ()
boolcan_be_analysed ()
booldestructive ()
XrunPositionscaptured_xruns ()
boolhas_been_analysed ()
longnatural_position ()
longtimeline_position ()
boolwritable ()
Cast
AudioSourceto_audiosource ()
FileSourceto_filesource ()
MidiSourceto_midisource ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

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

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

is-a: ARDOUR:Track

-

A track is an route (bus) with a recordable diskstream and related objects relevant to tracking, playback and editing.

Specifically a track has regions and playlist objects.

+

A track is an route (bus) with a recordable diskstream and related objects relevant to recording, playback and editing.

Specifically a track has a playlist object that describes material to be played from disk, and modifies that object during recording and editing.

Methods
std::stringname ()
@@ -530,15 +673,19 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

Inherited from ARDOUR:Track

Methods
boolisnil ()
- + - + + + + + @@ -547,6 +694,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Methods
Regionbounce (InterThreadInfo&)
Regionbounce (InterThreadInfo&, std::string)

bounce track from session start to session end to new region

itt
asynchronous progress report and cancel

Returns a new audio region (or nil in case of error)

Regionbounce_range (long, long, InterThreadInfo&, Processor, bool)
Regionbounce_range (long, long, InterThreadInfo&, Processor, bool, std::string)

Bounce the given range to a new audio region.

start
start time (in samples)
end
end time (in samples)
itt
asynchronous progress report and cancel
endpoint
the processor to tap the signal off (or nil for the top)
include_endpoint
include the given processor in the bounced audio.

Returns a new audio region (or nil in case of error)

boolbounceable (Processor, bool)

Test if the track can be bounced with the given settings. If sends/inserts/returns are present in the signal path or the given track has no audio outputs bouncing is not possible.

endpoint
the processor to tap the signal off (or nil for the top)
include_endpoint
include the given processor in the bounced audio.

Returns true if the track can be bounced, or false otherwise.

boolcan_record ()
intfind_and_use_playlist (DataType, ID)
Playlistplaylist ()
boolset_name (std::string)
intuse_copy_playlist ()
intuse_new_playlist (DataType)
intuse_playlist (DataType, Playlist, bool)
Cast
AudioTrackto_audio_track ()
MidiTrackto_midi_track ()
+ + + @@ -554,9 +704,12 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + @@ -567,6 +720,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -578,43 +732,46 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + + -
Methods
boolactive ()
intadd_aux_send (Route, Processor)

Add an aux send to a route.

route
route to send to.
before
Processor to insert before, or 0 to insert at the end.
intadd_foldback_send (Route, bool)
intadd_processor_by_index (Processor, int, ProcessorStreams, bool)

Add a processor to a route such that it ends up with a given index into the visible processors.

index
Index to add the processor at, or -1 to add at the end of the list.

Returns 0 on success, non-0 on failure.

booladd_sidechain (Processor)
std::stringcomment ()
boolcustomize_plugin_insert (Processor, unsigned int, ChanCount, ChanCount)

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

DataTypedata_type ()
IOinput ()
Deliverymain_outs ()

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

MonitorControlmonitoring_control ()
MonitorStatemonitoring_state ()
boolmuted ()
ChanCountn_inputs ()
ChanCountn_outputs ()
PannerShellpanner_shell ()
PeakMeterpeak_meter ()

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

longplayback_latency (bool)
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

intremove_processors (ProcessorList, ProcessorStreams)

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*)
voidset_comment (std::string, void*)
voidset_meter_point (MeterPoint, bool)
voidset_meter_point (MeterPoint)
boolset_strict_io (bool)
longsignal_latency ()
boolsoloed ()
boolstrict_io ()
Processorthe_instrument ()

Return the first processor that accepts has at least one MIDI input and at least one audio output. In the vast majority of cases, this will be "the instrument". This does not preclude other MIDI->audio processors later in the processing chain, but that would be a special case not covered by this utility function.

Amptrim ()
Cast
Automatableto_automatable ()
Trackto_track ()

Inherited from ARDOUR:Stripable

- - - + + + - - + + - + - - - - - - + + + + + + + + + - + @@ -626,18 +783,25 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - - + + + + + + + + +
Methods
AutomationControlcomp_enable_control ()
AutomationControlcomp_makeup_control ()
AutomationControlcomp_mode_control ()
AutomationControlcomp_enable_controllable ()
AutomationControlcomp_makeup_controllable ()
AutomationControlcomp_mode_controllable ()
std::stringcomp_mode_name (unsigned int)
AutomationControlcomp_redux_control ()
AutomationControlcomp_speed_control ()
ReadOnlyControlcomp_redux_controllable ()
AutomationControlcomp_speed_controllable ()
std::stringcomp_speed_name (unsigned int)
AutomationControlcomp_threshold_control ()
AutomationControlcomp_threshold_controllable ()
unsigned inteq_band_cnt ()
std::stringeq_band_name (unsigned int)
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)
AutomationControleq_enable_controllable ()
AutomationControleq_freq_controllable (unsigned int)
AutomationControleq_gain_controllable (unsigned int)
AutomationControleq_q_controllable (unsigned int)
AutomationControleq_shape_controllable (unsigned int)
AutomationControlfilter_enable_controllable (bool)
AutomationControlfilter_freq_controllable (bool)
AutomationControlfilter_slope_controllable (bool)
GainControlgain_control ()
boolis_auditioner ()
boolis_hidden ()
boolis_master ()
boolis_monitor ()
boolis_private_route ()
boolis_selected ()
AutomationControlmaster_send_enable_control ()
AutomationControlmaster_send_enable_controllable ()
MonitorProcessormonitor_control ()
MuteControlmute_control ()
AutomationControlpan_azimuth_control ()
PresentationInfopresentation_info_ptr ()
AutomationControlrec_enable_control ()
AutomationControlrec_safe_control ()
AutomationControlsend_enable_control (unsigned int)
AutomationControlsend_level_control (unsigned int)
AutomationControlsend_enable_controllable (unsigned int)
AutomationControlsend_level_controllable (unsigned int)
std::stringsend_name (unsigned int)
AutomationControlsend_pan_azimuth_controllable (unsigned int)
AutomationControlsend_pan_azimuth_enable_controllable (unsigned int)
voidset_presentation_order (unsigned int)
boolslaved ()
boolslaved_to (VCA)
SoloControlsolo_control ()
SoloIsolateControlsolo_isolate_control ()
SoloSafeControlsolo_safe_control ()
GainControltrim_control ()
Cast
Automatableto_automatable ()
Routeto_route ()
Slavableto_slavable ()
VCAto_vca ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -653,9 +817,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + - + @@ -669,23 +833,31 @@ 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 ()
AudioTrackback ()
boolempty ()
AudioTrackfront ()
AudioTrackfront ()
LuaIteriter ()
voidpush_back (AudioTrack)
voidreverse ()
+ + + +
Methods
ParameterListall_automatable_params ()

API for Lua binding

AutomationControlautomation_control (Parameter, bool)
boolisnil ()
Cast
Slavableto_slavable ()

 ARDOUR:AutomatableSequence

-

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

+

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

is-a: ARDOUR:Automatable

- +
Methods
boolisnil ()
Cast
Sequenceto_sequence ()
Sequenceto_sequence ()

Inherited from ARDOUR:Automatable

+ + + +
Methods
ParameterListall_automatable_params ()

API for Lua binding

AutomationControlautomation_control (Parameter, bool)
Cast
Slavableto_slavable ()

 ARDOUR:AutomationControl

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

@@ -696,19 +868,23 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods AutomationListalist () AutoStateautomation_state () - AutoStyleautomation_style () + ParameterDescriptordesc () doubleget_value () -

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

+

Get `internal' value

Returns raw value as used for the plugin/processor control port

boolisnil () + doublelower () + doublenormal () 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.
+

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.

value
raw numeric value to set
group_override
if and how to propagate value to grouped controls
voidstart_touch (double) - voidstop_touch (bool, double) + voidstop_touch (double) + booltoggled () + doubleupper () boolwritable () Cast Controlto_ctrl () + SlavableAutomationControlto_slavable ()

Inherited from PBD:Controllable

@@ -725,6 +901,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.

@@ -740,6 +917,38 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Statefulto_stateful ()
StatefulDestructibleto_statefuldestructible ()
+

Inherited from Evoral:ControlList

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

Add an event to this list.

This method is intended to write automation in realtime. If the transport is stopped, guard-points will be added regardless of parameter with_guards.

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 events in the given time range from this list.

start
start of range (inclusive) in audio samples
end
end of range (inclusive) in audio samples
voidclear_list ()
booleditor_add (double, double, bool)

Add an event to this list.

This method is intended for making manual changes from the GUI. An event will only be created if no other event exists at the given time.

when
absolute time in samples
value
parameter value
with_guards
if true, add guard-points

Returns true if an event was added.

doubleeval (double)

Queries the event value at the given time (takes a read-lock, not safe while writing automation).

where
absolute time in samples

Returns parameter value

EventListevents ()

Returns the list of events

boolin_write_pass ()

Returns true if transport is running and this list is in write mode

InterpolationStyleinterpolation ()

query interpolation style of the automation data

Returns Interpolation Style

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

Realtime safe version of eval(). This may fail if a read-lock cannot be taken.

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

Returns parameter value

boolset_interpolation (InterpolationStyle)

Sets 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

unsigned longsize ()
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)

Remove all events after the given time from this list.

last_coordinate
time in audio samples of the last event to keep
voidtruncate_start (double)

Remove all events up to to the given time from this list.

overall_length
overall length in audio samples
Cast
AutomationListto_automationlist ()

 ARDOUR:BackendVector

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

@@ -753,16 +962,64 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C unsigned longsize () LuaTabletable () +

 ARDOUR:BeatsSamplesConverter

+

C‡: ARDOUR::BeatsSamplesConverter

+
+

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

+ + + + + + + + +
Constructor
ARDOUR.BeatsSamplesConverter (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.

+
Methods
ChanCountavailable ()
ChanCountcount ()
AudioBufferget_audio (unsigned long)
MidiBufferget_midi (unsigned long)
+

 ARDOUR:Bundle

+

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

+
+

A set of `channels', each of which is associated with 0 or more ports. Each channel has a name which can be anything useful, and a data type. Intended for grouping things like, for example, a buss' outputs. `Channel' is a rather overloaded term but I can't think of a better one right now.

+ + + + + + + + + + + + + + +
Methods
std::stringchannel_name (unsigned int)
ch
Channel.

Returns Channel name.

boolisnil ()
unsigned intn_total ()
std::stringname ()

Returns Bundle name

ChanCountnchannels ()

Returns Number of channels that this Bundle has

boolports_are_inputs ()
boolports_are_outputs ()
Cast
UserBundleto_userbundle ()
+

 ARDOUR:BundleListPtr

+

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

+
+ + + + + + + + + + + +
Constructor
ARDOUR.BundleListPtr ()
Methods
LuaTableadd (LuaTable {Bundle})
Bundleat (unsigned long)
boolempty ()
LuaIteriter ()
voidpush_back (Bundle)
unsigned longsize ()
LuaTabletable ()

 ARDOUR:ChanCount

C‡: ARDOUR::ChanCount

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

Convenience constructor for making single-typed streams (mono, stereo, midi, etc)

type
data type
count
number of channels
Methods unsigned intget (DataType) -

query channel count for given type

type
data type

Returns channel count for given type

+

query channel count for given type

t
data type

Returns channel count for given type

unsigned intn_audio ()

query number of audio channels

Returns number of audio channels

unsigned intn_midi () @@ -783,7 +1040,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C voidreset ()

zero count of all data types

voidset (DataType, unsigned int) -

set channel count for given type

count
number of channels
type
data type
+

set channel count for given type

t
data type
count
number of channels
+ voidset_audio (unsigned int) +

set number of audio channels

a
number of audio channels
+ voidset_midi (unsigned int) +

set number of audio channels

m
number of midi channels

 ARDOUR:ChanMapping

C‡: ARDOUR::ChanMapping

@@ -795,12 +1056,12 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods ChanCountcount () unsigned intget (DataType, unsigned int) -

get buffer mapping for given data type and pin

from
numeric source id
type
data type

Returns mapped buffer number (or ChanMapping::Invalid)

+

get buffer mapping for given data type and pin

type
data type
from
numeric source id

Returns mapped buffer number (or ChanMapping::Invalid)

boolis_monotonic ()

Test if this mapping is monotonic (useful to see if inplace processing is feasible)

Returns true if the map is a strict monotonic set

unsigned intn_total () voidset (DataType, unsigned int, unsigned int) -

set buffer mapping for given data type

from
numeric source id
to
buffer
type
data type
+

set buffer mapping for given data type

type
data type
from
numeric source id
to
buffer

 ARDOUR:ControlList

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

@@ -810,9 +1071,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C ℂARDOUR.ControlList () Methods LuaTableadd (LuaTable {AutomationControl}) - AutomationControlback () + AutomationControlback () boolempty () - AutomationControlfront () + AutomationControlfront () LuaIteriter () voidpush_back (AutomationControl) voidreverse () @@ -858,7 +1119,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C voidmmult (FloatArray, FloatArray, unsigned int)

matrix multiply multiply every sample of `data' with the corresponding sample at `mult'.

data
multiplicand
mult
multiplicand
n_samples
number of samples in data and mmult
LuaTable(...)peaks (FloatArray, float&, float&, unsigned int) - voidprocess_map (BufferSet, ChanMapping, ChanMapping, unsigned int, long, DataType) + voidprocess_map (BufferSet, ChanCount, ChanMapping, ChanMapping, unsigned int, long)

 ARDOUR:DSP:Biquad

C‡: ARDOUR::DSP::Biquad

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

Instantiate Biquad Filter

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

setup filter, compute coefficients

type
filter type (LowPass, HighPass, etc)
freq
filter frequency
Q
filter quality
gain
filter gain
+

setup filter, compute coefficients

t
filter type (LowPass, HighPass, etc)
freq
filter frequency
Q
filter quality
gain
filter gain
voidconfigure (double, double, double, double, double)

setup filter, set coefficients directly

floatdB_at_freq (float) @@ -880,6 +1141,47 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C voidrun (FloatArray, unsigned int)

process audio data

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

 ARDOUR:DSP:Convolution

+

C‡: ARDOUR::DSP::Convolution

+
+ + + + + + + + + + + +
Constructor
ARDOUR.DSP.Convolution (Session&, unsigned int, unsigned int)
Methods
booladd_impdata (unsigned int, unsigned int, Readable, float, unsigned int, long, long, unsigned int)
unsigned intlatency ()
unsigned intn_inputs ()
unsigned intn_outputs ()
boolready ()
voidrestart ()
voidrun (BufferSet&, ChanMapping, ChanMapping, unsigned int, long)
+

 ARDOUR:DSP:Convolver

+

C‡: ARDOUR::DSP::Convolver

+

is-a: ARDOUR:DSP:Convolution

+
+ + + + + + + + +
Constructor
ARDOUR.DSP.Convolver (Session&, std::string, IRChannelConfig, IRSettings)
Methods
voidrun_mono_buffered (FloatArray, unsigned int)
voidrun_mono_no_latency (FloatArray, unsigned int)
voidrun_stereo_buffered (FloatArray, FloatArray, unsigned int)
voidrun_stereo_no_latency (FloatArray, FloatArray, unsigned int)
+

Inherited from ARDOUR:DSP:Convolution

+ + + + + + + + + + + +
Constructor
ARDOUR.DSP.Convolution (Session&, unsigned int, unsigned int)
Methods
booladd_impdata (unsigned int, unsigned int, Readable, float, unsigned int, long, long, unsigned int)
unsigned intlatency ()
unsigned intn_inputs ()
unsigned intn_outputs ()
boolready ()
voidrestart ()
voidrun (BufferSet&, ChanMapping, ChanMapping, unsigned int, long)

 ARDOUR:DSP:DspShm

C‡: ARDOUR::DSP::DspShm

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

process current data in buffer

floatfreq_at_bin (unsigned int) floatpower_at_bin (unsigned int, float) -

query

b
the frequency bin 0 .. window_size / 2
norm
gain factor (set equal to for 1/f normalization)

Returns signal power at given bin (in dBFS)

+

query

bin
the frequency bin 0 .. window_size / 2
norm
gain factor (set equal to bin for 1/f normalization)

Returns signal power at given bin (in dBFS)

voidset_data_hann (FloatArray, unsigned int, unsigned int) +

 ARDOUR:DSP:Generator

+

C‡: ARDOUR::DSP::Generator

+
+ + + + + + +
Constructor
ARDOUR.DSP.Generator ()
Methods
voidrun (FloatArray, unsigned int)
voidset_type (Type)
+

 ARDOUR:DSP:IRSettings

+

C‡: ARDOUR::DSP::Convolver::IRSettings

+
+ + + + + + + + + + + +
Constructor
ARDOUR.DSP.IRSettings ()
Methods
unsigned intget_channel_delay (unsigned int)
floatget_channel_gain (unsigned int)
voidset_channel_delay (unsigned int, unsigned int)
voidset_channel_gain (unsigned int, float)
Data Members
floatgain
unsigned intpre_delay
+

 ARDOUR:DSP:LTCReader

+

C‡: ARDOUR::LTCReader

+
+ + + + + + +
Constructor
ARDOUR.DSP.LTCReader (int, LTC_TV_STANDARD)
Methods
LuaTable(long, ...)read (unsigned int&, unsigned int&, unsigned int&, unsigned int&)
voidwrite (FloatArray, long, long)

 ARDOUR:DSP:LowPass

C‡: ARDOUR::DSP::LowPass

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

instantiate a LPF

samplerate
samplerate
freq
cut-off frequency
Methods voidctrl (FloatArray, float, unsigned int) -

filter control data

This is useful for parameter smoothing.

data
pointer to control-data array
val
target value
array
length
+

filter control data

This is useful for parameter smoothing.

data
pointer to control-data array
val
target value
n_samples
array length
voidproc (FloatArray, unsigned int)

process audio data

data
pointer to audio-data
n_samples
number of samples to process
voidreset () @@ -950,11 +1287,64 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C char*to_string ()

Inverse of the from-string constructor

+

 ARDOUR:DelayLine

+

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

+

is-a: ARDOUR:Processor

+
+

Meters peaks on the input and stores them for access.

+ + + + +
Methods
longdelay ()
boolisnil ()
+

Inherited from ARDOUR:Processor

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods
voidactivate ()
boolactive ()
longcapture_offset ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
longinput_latency ()
ChanCountinput_streams ()
longoutput_latency ()
ChanCountoutput_streams ()
longplayback_offset ()
longsignal_latency ()
Cast
Ampto_amp ()
Automatableto_automatable ()
DelayLineto_delayline ()
DiskIOProcessorto_diskioprocessor ()
DiskReaderto_diskreader ()
DiskWriterto_diskwriter ()
PluginInsertto_insert ()
InternalSendto_internalsend ()
IOProcessorto_ioprocessor ()
Latentto_latent ()
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
PolarityProcessorto_polarityprocessor ()
Sendto_send ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
+

Inherited from ARDOUR:SessionObjectPtr

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

 ARDOUR:Delivery

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

is-a: ARDOUR:IOProcessor

-

A mixer strip element (Processor) with 1 or 2 IO elements.

+

A mixer strip element (Processor) with 1 or 2 IO elements.

@@ -973,24 +1363,37 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + - - + + + + + + + + + + + + + +
Methods
boolisnil ()
Methods
voidactivate ()
boolactive ()
longcapture_offset ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
ChanCountinput_streams ()
ChanCountoutput_streams ()
longinput_latency ()
ChanCountinput_streams ()
longoutput_latency ()
ChanCountoutput_streams ()
longplayback_offset ()
longsignal_latency ()
Cast
Ampto_amp ()
Automatableto_automatable ()
DelayLineto_delayline ()
DiskIOProcessorto_diskioprocessor ()
DiskReaderto_diskreader ()
DiskWriterto_diskwriter ()
PluginInsertto_insert ()
InternalSendto_internalsend ()
IOProcessorto_ioprocessor ()
Latentto_latent ()
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
PolarityProcessorto_polarityprocessor ()
Sendto_send ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -1017,19 +1420,248 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + +
Methods
std::stringname ()
Methods
LuaTableadd (LuaTable {DeviceStatus})
DeviceStatusat (unsigned long)
voidclear ()
boolempty ()
LuaIteriter ()
voidpush_back (DeviceStatus)
unsigned longsize ()
LuaTabletable ()
...to_array (--lua--)
+

 ARDOUR:DiskIOProcessor

+

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

+

is-a: ARDOUR:Processor

+
+

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

+ + + +
Methods
boolisnil ()
+

Inherited from ARDOUR:Processor

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods
voidactivate ()
boolactive ()
longcapture_offset ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
longinput_latency ()
ChanCountinput_streams ()
longoutput_latency ()
ChanCountoutput_streams ()
longplayback_offset ()
longsignal_latency ()
Cast
Ampto_amp ()
Automatableto_automatable ()
DelayLineto_delayline ()
DiskIOProcessorto_diskioprocessor ()
DiskReaderto_diskreader ()
DiskWriterto_diskwriter ()
PluginInsertto_insert ()
InternalSendto_internalsend ()
IOProcessorto_ioprocessor ()
Latentto_latent ()
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
PolarityProcessorto_polarityprocessor ()
Sendto_send ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
+

Inherited from ARDOUR:SessionObjectPtr

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

 ARDOUR:DiskReader

+

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

+

is-a: ARDOUR:DiskIOProcessor

+
+

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

+ + +
Methods
boolisnil ()
+

Inherited from ARDOUR:Processor

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods
voidactivate ()
boolactive ()
longcapture_offset ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
longinput_latency ()
ChanCountinput_streams ()
longoutput_latency ()
ChanCountoutput_streams ()
longplayback_offset ()
longsignal_latency ()
Cast
Ampto_amp ()
Automatableto_automatable ()
DelayLineto_delayline ()
DiskIOProcessorto_diskioprocessor ()
DiskReaderto_diskreader ()
DiskWriterto_diskwriter ()
PluginInsertto_insert ()
InternalSendto_internalsend ()
IOProcessorto_ioprocessor ()
Latentto_latent ()
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
PolarityProcessorto_polarityprocessor ()
Sendto_send ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
+

Inherited from ARDOUR:SessionObjectPtr

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

 ARDOUR:DiskWriter

+

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

+

is-a: ARDOUR:DiskIOProcessor

+
+

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

+ + + +
Methods
boolisnil ()
+

Inherited from ARDOUR:Processor

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods
voidactivate ()
boolactive ()
longcapture_offset ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
longinput_latency ()
ChanCountinput_streams ()
longoutput_latency ()
ChanCountoutput_streams ()
longplayback_offset ()
longsignal_latency ()
Cast
Ampto_amp ()
Automatableto_automatable ()
DelayLineto_delayline ()
DiskIOProcessorto_diskioprocessor ()
DiskReaderto_diskreader ()
DiskWriterto_diskwriter ()
PluginInsertto_insert ()
InternalSendto_internalsend ()
IOProcessorto_ioprocessor ()
Latentto_latent ()
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
PolarityProcessorto_polarityprocessor ()
Sendto_send ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
+

Inherited from ARDOUR:SessionObjectPtr

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

 ARDOUR:DoubleBeatsSamplesConverter

+

C‡: ARDOUR::DoubleBeatsSamplesConverter

+
+

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

+ + + + + + + + +
Constructor
ARDOUR.DoubleBeatsSamplesConverter (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 ()
XrunPositionscaptured_xruns ()
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

- + @@ -1041,17 +1673,17 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Constructor
ARDOUR.FluidSynth (float, int)

instantiate a Synth

samplerate
samplerate

instantiate a Synth

samplerate
samplerate
polyphony
polyphony
Methods
boolload_sf2 (std::string)
boolmidi_event (unsigned char*, unsigned long)

 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 ()
-

Inherited from ARDOUR:SlavableAutomationControl,

+

Inherited from ARDOUR:SlavableAutomationControl

- + @@ -1064,99 +1696,270 @@ 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 ()
ParameterDescriptordesc ()
doubleget_value ()

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

Get `internal' value

Returns raw value as used for the plugin/processor control port

doublelower ()
doublenormal ()
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.

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.

value
raw numeric value to set
group_override
if and how to propagate value to grouped controls
voidstart_touch (double)
voidstop_touch (bool, double)
voidstop_touch (double)
booltoggled ()
doubleupper ()
boolwritable ()
Cast
Controlto_ctrl ()
SlavableAutomationControlto_slavable ()
+

Inherited from PBD:Controllable

+ + + +
Methods
std::stringname ()
+

Inherited from PBD:StatefulPtr

+ + + + + + +
Methods
voidclear_changes ()

Forget about any changes to this object's properties

IDid ()
OwnedPropertyListproperties ()
+

 ARDOUR:IO

+

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

+

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.

+ + + + + + + + + + + + + + + + + + + +
Methods
boolactive ()
intadd_port (std::string, void*, DataType)

Add a port.

destination
Name of port to connect new port to.
src
Source for emitted ConfigurationChanged signal.
type
Data type of port. Default value (NIL) will use this IO's default type.
AudioPortaudio (unsigned int)
intconnect (Port, std::string, void*)
intdisconnect (Port, std::string, void*)
intdisconnect_all (void*)
boolhas_port (Port)
boolisnil ()
longlatency ()
MidiPortmidi (unsigned int)
ChanCountn_ports ()
Portnth (unsigned int)
boolphysically_connected ()
Portport_by_name (unsigned int)
longpublic_latency ()
intremove_port (Port, void*)
+

Inherited from ARDOUR:SessionObjectPtr

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

 ARDOUR:IOProcessor

+

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

+

is-a: ARDOUR:Processor

+
+

A mixer strip element (Processor) with 1 or 2 IO elements.

+ + + + + + + +
Methods
IOinput ()
boolisnil ()
ChanCountnatural_input_streams ()
ChanCountnatural_output_streams ()
IOoutput ()
+

Inherited from ARDOUR:Processor

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods
voidactivate ()
boolactive ()
longcapture_offset ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
longinput_latency ()
ChanCountinput_streams ()
longoutput_latency ()
ChanCountoutput_streams ()
longplayback_offset ()
longsignal_latency ()
Cast
Ampto_amp ()
Automatableto_automatable ()
DelayLineto_delayline ()
DiskIOProcessorto_diskioprocessor ()
DiskReaderto_diskreader ()
DiskWriterto_diskwriter ()
PluginInsertto_insert ()
InternalSendto_internalsend ()
IOProcessorto_ioprocessor ()
Latentto_latent ()
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
PolarityProcessorto_polarityprocessor ()
Sendto_send ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
+

Inherited from ARDOUR:SessionObjectPtr

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

 ARDOUR:InterThreadInfo

+

C‡: ARDOUR::InterThreadInfo

+
+ + + + + + +
Constructor
ARDOUR.InterThreadInfo ()
Data Members
booldone
floatprogress
+

 ARDOUR:InternalReturn

+

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

+

is-a: ARDOUR:Return

+
+

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

+ + + +
Methods
boolisnil ()
+

Inherited from ARDOUR:IOProcessor

+ + + + + +
Methods
IOinput ()
ChanCountnatural_input_streams ()
ChanCountnatural_output_streams ()
IOoutput ()
-

Inherited from PBD:Controllable

+

Inherited from ARDOUR:Processor

- + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods
std::stringname ()
voidactivate ()
boolactive ()
longcapture_offset ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
longinput_latency ()
ChanCountinput_streams ()
longoutput_latency ()
ChanCountoutput_streams ()
longplayback_offset ()
longsignal_latency ()
Cast
Ampto_amp ()
Automatableto_automatable ()
DelayLineto_delayline ()
DiskIOProcessorto_diskioprocessor ()
DiskReaderto_diskreader ()
DiskWriterto_diskwriter ()
PluginInsertto_insert ()
InternalSendto_internalsend ()
IOProcessorto_ioprocessor ()
Latentto_latent ()
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
PolarityProcessorto_polarityprocessor ()
Sendto_send ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
-

Inherited from PBD:StatefulPtr

+

Inherited from ARDOUR:SessionObjectPtr

- - - - + + + +
Methods
voidclear_changes ()

Forget about any changes to this object's properties

IDid ()
OwnedPropertyListproperties ()
std::stringname ()
Cast
Statefulto_stateful ()
StatefulDestructibleto_statefuldestructible ()
-

 ARDOUR:IO

-

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

-

is-a: ARDOUR:SessionObject

+

 ARDOUR:InternalSend

+

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

+

is-a: ARDOUR:Send

-

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 mixer strip element (Processor) with 1 or 2 IO elements.

- - - - - - - - + + + - - - - - - + + + +
Methods
boolactive ()
intadd_port (std::string, void*, DataType)

Add a port.

destination
Name of port to connect new port to.
src
Source for emitted ConfigurationChanged signal.
type
Data type of port. Default value (NIL) will use this IO's default type.
AudioPortaudio (unsigned int)
intconnect (Port, std::string, void*)
intdisconnect (Port, std::string, void*)
intdisconnect_all (void*)
boolhas_port (Port)
boolallow_feedback ()
std::stringdisplay_name ()
boolfeeds (Route)
boolisnil ()
MidiPortmidi (unsigned int)
ChanCountn_ports ()
Portnth (unsigned int)
boolphysically_connected ()
Portport_by_name (unsigned int)
intremove_port (Port, void*)
voidset_allow_feedback (bool)
boolset_name (std::string)
Routesource_route ()
Routetarget_route ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:Send

- + + + + + - - +
Methods
std::stringname ()
GainControlgain_control ()
longget_delay_in ()
longget_delay_out ()
boolis_foldback ()
voidset_remove_on_disconnect (bool)
Cast
Statefulto_stateful ()
StatefulDestructibleto_statefuldestructible ()
InternalSendto_internalsend ()
-

 ARDOUR:IOProcessor

-

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

-

is-a: ARDOUR:Processor

-
-

A mixer strip element (Processor) with 1 or 2 IO elements.

+

Inherited from ARDOUR:Delivery

+ + + +
Methods
PannerShellpanner_shell ()
+

Inherited from ARDOUR:IOProcessor

- -
Methods
IOinput ()
boolisnil ()
ChanCountnatural_input_streams ()
ChanCountnatural_output_streams ()
IOoutput ()
+

Inherited from ARDOUR:Processor

+ - - - + + + + + + + + + + + + + +
Methods
voidactivate ()
boolactive ()
longcapture_offset ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
ChanCountinput_streams ()
ChanCountoutput_streams ()
longinput_latency ()
ChanCountinput_streams ()
longoutput_latency ()
ChanCountoutput_streams ()
longplayback_offset ()
longsignal_latency ()
Cast
Ampto_amp ()
Automatableto_automatable ()
DelayLineto_delayline ()
DiskIOProcessorto_diskioprocessor ()
DiskReaderto_diskreader ()
DiskWriterto_diskwriter ()
PluginInsertto_insert ()
InternalSendto_internalsend ()
IOProcessorto_ioprocessor ()
Latentto_latent ()
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
PolarityProcessorto_polarityprocessor ()
Sendto_send ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -1164,15 +1967,26 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Methods
std::stringname ()
Statefulto_stateful ()
StatefulDestructibleto_statefuldestructible ()
-

 ARDOUR:InterThreadInfo

-

C‡: ARDOUR::InterThreadInfo

+

 ARDOUR:LatencyRange

+

C‡: ARDOUR::LatencyRange

- + - - + + +
Constructor
ARDOUR.InterThreadInfo ()
ARDOUR.LatencyRange ()
Data Members
booldone
floatprogress
unsigned intmax
unsigned intmin
+

 ARDOUR:Latent

+

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

+
+ + + + + + +
Methods
longeffective_latency ()
boolisnil ()
voidset_user_latency (long)
voidunset_user_latency ()
longuser_latency ()

 ARDOUR:Location

C‡: ARDOUR::Location

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

Location on Timeline - abstract representation for Markers, Loop/Punch Ranges, CD-Markers etc.

- + @@ -1196,9 +2010,12 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + @@ -1234,6 +2051,8 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

A collection of session locations including unique dedicated locations (loop, punch, etc)

Methods
longend ()
long_end ()
Flagsflags ()
boolis_auto_loop ()
boolis_auto_punch ()
boolmatches (Flags)
intmove_to (long, unsigned int)
std::stringname ()
intset (long, long, bool, unsigned int)
intset_end (long, bool, bool, unsigned int)

Set end position.

force
true to force setting, even if the given new end is before the current start.
allow_beat_recompute
True to recompute BEAT end time from the new given end time.
s
New end.
intset_length (long, long, bool, unsigned int)
voidset_name (std::string)

Set location name

intset_start (long, bool, bool, unsigned int)

Set start position.

s
New start.
force
true to force setting, even if the given new start is after the current end.
allow_beat_recompute
True to recompute BEAT start time from the new given start time.
longstart ()
+ + @@ -1241,8 +2060,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + - + + +
Methods
Locationadd_range (long, long)

Add new range to the collection

start
start position
end
end position

Returns New location object

Locationauto_loop_location ()
Locationauto_punch_location ()
LuaTable(...)find_all_between (long, long, LocationList&, Flags)
Locationfirst_mark_at (long, long)
longfirst_mark_before (long, bool)
LocationListlist ()
Locationmark_at (long, long)
LuaTable(...)marks_either_side (long, long&, long&)

Look for the `marks' (either locations which are marks, or start/end points of range markers) either side of a frame. Note that if frame is exactly on a `mark', that mark will not be considered for returning as before/after.

frame
Frame to look for.
before
Filled in with the position of the last `mark' before `frame' (or max_framepos if none exists)
after
Filled in with the position of the next `mark' after `frame' (or max_framepos if none exists)

Look for the `marks' (either locations which are marks, or start/end points of range markers) either side of a sample. Note that if sample is exactly on a `mark', that mark will not be considered for returning as before/after.

sample
Frame to look for.
before
Filled in with the position of the last `mark' before `sample' (or max_samplepos if none exists)
after
Filled in with the position of the next `mark' after `sample' (or max_samplepos if none exists)
Locationrange_starts_at (long, long, bool)

Return range with closest start pos to the where argument

pos
point to compare with start pos
slop
area around point to search for start pos
incl
(optional) look only for ranges that includes 'where' point

Returns Location object or nil

voidremove (Location)
Locationsession_range_location ()
@@ -1258,26 +2080,38 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
+ + + + + + - + + + - - - - - - + + + + + + + + + + + + - + - + + + +
Methods
std::stringascii_dtostr (double)
...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)

...desc_scale_points (--lua--)
std::stringdump_untagged_plugins ()

Write a list of untagged plugins to a file, so we can bulk-tag them

Returns path to XML file or empty string on error

std::stringfile_get_contents (std::string)
boolfile_test (std::string, FileTest)
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

get a plugin control parameter value

pi
Plugin-Insert
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.

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)

PluginInfoListlist_plugins ()

List all installed plugins

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)
Processornew_plugin (Session, std::string, PluginType, std::string)

create a new Plugin Instance

s
Session Handle
id
Plugin Name, ID or URI
type
Plugin Type

Returns Processor or nil

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

create a new Lua Processor (Plugin)

s
Session Handle
name
Identifier or Name of the Processor

Returns Processor object (may be nil)

NotePtrnew_noteptr (unsigned char, Beats, Beats, unsigned char, unsigned char)
Processornew_plugin (Session, std::string, PluginType, std::string)

create a new Plugin Instance

s
Session Handle
name
Plugin Name, ID or URI
type
Plugin Type
preset
name of plugin-preset to load, leave empty "" to not load any preset after instantiation

Returns Processor or nil

PluginInfonew_plugin_info (std::string, PluginType)

search a Plugin

name
Plugin Name, ID or URI
type
Plugin Type

Returns PluginInfo or nil if not found

Processornew_send (Session, Route, Processor)

add a new [external] Send to the given Route

s
Session Handle
r
Route to add Send to
p
add send before given processor (or nil_processor to add at the end)
Processornil_proc ()
NotePtrListnote_list (MidiModel)
std::stringpath_get_basename (std::string)
...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 ()
@@ -1292,13 +2126,31 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
 

reset a processor to its default values (only works for plugins )

This is a wrapper which looks up the Processor by plugin-insert.

proc
Plugin-Insert

Returns true on success, false when the processor is not a plugin

...sample_to_timecode (--lua--)

Generic conversion from audio sample count to timecode. (TimecodeType, sample-rate, sample-pos)

voidsegfault ()

Crash Test Dummy

boolset_plugin_insert_param (PluginInsert, unsigned int, float)

set a plugin control-input parameter value

This is a wrapper around set_processor_param which looks up the Processor by plugin-insert.

which
control-input to set (starting at 0)
proc
Plugin-Insert
value
value to set

Returns true on success, false on error or out-of-bounds value

set a plugin control-input parameter value

This is a wrapper around set_processor_param which looks up the Processor by plugin-insert.

pi
Plugin-Insert
which
control-input to set (starting at 0)
value
value to set

Returns true on success, false on error or out-of-bounds value

boolset_processor_param (Processor, unsigned int, float)

set a plugin control-input parameter value

proc
Plugin-Processor
which
control-input to set (starting at 0)
value
value to set

Returns true on success, false on error or out-of-bounds value

set a plugin control-input parameter value

proc
Plugin-Processor
which
control-input to set (starting at 0)
value
value to set

Returns true on success, false on error or out-of-bounds value

...timecode_to_sample (--lua--)

Generic conversion from timecode to audio sample count. (TimecodeType, sample-rate, hh, mm, ss, ff)

voidusleep (unsigned long)
boolwait_for_process_callback (unsigned long, long)

Delay execution until next prcess cycle starts.

n_cycles
process-cycles to wait for. 0: means wait until next cycle-start, otherwise skip given number of cycles.
timeout_ms
wait at most this many milliseconds

Returns true on success, false if timeout was reached or engine was not running

+

 ARDOUR:LuaAPI:Rubberband

+

C‡: ARDOUR::LuaAPI::Rubberband

+
+ + + + + + + + + +
Constructor
ARDOUR.LuaAPI.Rubberband (AudioRegion, bool)
Methods
unsigned intn_channels ()
AudioRegionprocess (Lua-Function)
Readablereadable ()
longreadable_length ()
boolset_mapping (Lua-Function)
boolset_strech_and_pitch (double, double)

 ARDOUR:LuaAPI:Vamp

C‡: ARDOUR::LuaAPI::Vamp

@@ -1308,7 +2160,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C ℂARDOUR.LuaAPI.Vamp (std::string, float) Methods intanalyze (Readable, unsigned int, Lua-Function) -

high-level abstraction to process a single channel of the given Readable.

If the plugin is not yet initialized, initialize() is called.

if is not nil, it is called with the immediate Vamp::Plugin::Features on every process call.

r
readable
channel
channel to process
fn
lua callback function

Returns 0 on success

+

high-level abstraction to process a single channel of the given Readable.

If the plugin is not yet initialized, initialize() is called.

if fn is not nil, it is called with the immediate Vamp::Plugin::Features on every process call.

r
readable
channel
channel to process
cb
lua callback function or nil

Returns 0 on success

boolinitialize ()

initialize the plugin for use with analyze().

This is equivalent to plugin():initialise (1, ssiz, bsiz) and prepares a plugin for analyze. (by preferred step and block sizes are used. if the plugin does not specify them or they're larger than 8K, both are set to 1024)

Manual initialization is only required to set plugin-parameters which depend on prior initialization of the plugin.

 vamp:reset ()
  vamp:initialize ()
@@ -1353,13 +2205,19 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
  LuaTable(int, ...)get_parameter_descriptor (unsigned int, ParameterDescriptor&)
  std::stringget_parameter_docs (unsigned int)
  char*label ()
+ PresetRecordlast_preset ()
+

Returns Last preset to be requested; the settings may have been changed since; find out with parameter_changed_since_last_preset.

boolload_preset (PresetRecord)

Set parameters using a preset

char*maker () 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 () @@ -1382,6 +2240,22 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C ...get (--lua--) ...set (--lua--) +

 ARDOUR:MIDIPortMeters

+

C‡: std::map<std::string, ARDOUR::PortManager::MPM >

+
+ + + + + + + + + + + + +
Constructor
ARDOUR.MIDIPortMeters ()
Methods
LuaTableadd (std::string, ARDOUR::PortManager::MPM )
...at (--lua--)
voidclear ()
unsigned longcount (std::string)
boolempty ()
LuaIteriter ()
unsigned longsize ()
LuaTabletable ()

 ARDOUR:Meter

C‡: ARDOUR::Meter

@@ -1391,9 +2265,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C ℂARDOUR.Meter (double, double) Methods doubledivisions_per_bar () - doubleframes_per_bar (Tempo, long) - doubleframes_per_grid (Tempo, long) doublenote_divisor () + doublesamples_per_bar (Tempo, long) + doublesamples_per_grid (Tempo, long)

 ARDOUR:MeterSection

C‡: ARDOUR::MeterSection

@@ -1402,15 +2276,23 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

A section of timeline with a certain Meter.

+ + -
Methods
BBT_TIMEbbt ()
doublebeat ()
voidset_beat (double)
voidset_pulse (double)
Cast
Meterto_meter ()

Inherited from ARDOUR:MetricSection

+ + + + + + +
Methods
boolinitial ()
boolis_tempo ()
doubleminute ()
doubleminute_at_sample (long)
doublepulse ()
longsample ()
longsample_at_minute (double)
voidset_pulse (double)

 ARDOUR:MetricSection

C‡: ARDOUR::MetricSection

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

A section of timeline with a certain Tempo or Meter.

+ + + + + +
Methods
boolinitial ()
boolis_tempo ()
doubleminute ()
doubleminute_at_sample (long)
doublepulse ()
longsample ()
longsample_at_minute (double)
voidset_pulse (double)

 ARDOUR:MidiBuffer

@@ -1429,7 +2317,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods voidcopy (MidiBuffer) boolempty () - boolpush_back (long, unsigned long, unsigned char*) + boolpush_back (long, EventType, unsigned long, unsigned char*) 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.

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

Inherited from ARDOUR:AutomatableSequence

- +
Cast
Sequenceto_sequence ()
Sequenceto_sequence ()

Inherited from ARDOUR:Automatable

+ + + +
Methods
ParameterListall_automatable_params ()

API for Lua binding

AutomationControlautomation_control (Parameter, bool)
Cast
Slavableto_slavable ()

 ARDOUR:MidiModel:DiffCommand

C‡: ARDOUR::MidiModel::DiffCommand

@@ -1487,8 +2379,8 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

Base class for Undo/Redo commands and changesets

- - + +
Methods
voidadd (NotePtr)
voidremove (NotePtr)
voidadd (NotePtr)
voidremove (NotePtr)

Inherited from PBD:Command

@@ -1527,9 +2419,13 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + + + + + @@ -1543,16 +2439,18 @@ 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
voidduplicate_range (AudioRange&, float)
voidduplicate_until (Region, long, long, long)
gap
from the beginning of the region to the next beginning
end
the first frame that does _not_ contain a duplicated frame
gap
from the beginning of the region to the next beginning
end
the first sample that does _not_ contain a duplicated sample
boolempty ()
Regionfind_next_region (long, RegionPoint, int)
longfind_next_region_boundary (long, int)
longfind_next_transient (long, int)
IDget_orig_track_id ()
boolhidden ()
voidlower_region (Region)
voidlower_region_to_bottom (Region)
unsigned intn_regions ()
RegionListPtrregions_with_end_within (Range)
RegionListPtrregions_with_start_within (Range)
voidremove_region (Region)
voidsplit (long)
voidsplit_region (Region, MusicFrame)
boolset_name (std::string)
boolshared ()
voidsplit_region (Region, MusicSample)
Regiontop_region_at (long)
Regiontop_unmuted_region_at (long)
voiduncombine (Region)
boolused ()
Cast
AudioPlaylistto_audioplaylist ()
MidiPlaylistto_midiplaylist ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -1570,6 +2468,8 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + +
Methods
std::stringname ()
boolinput_active ()
boolisnil ()
voidset_input_active (bool)
Cast
AsyncMIDIPortto_asyncmidiport ()

Inherited from ARDOUR:Port

@@ -1581,15 +2481,22 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + + + + +
o
Port name

Returns true if this port is connected to o, otherwise false.

intdisconnect (std::string)
intdisconnect_all ()
PortFlagsflags ()

Returns flags

LuaTable(...)get_connected_latency_range (LatencyRange&, bool)
std::stringname ()

Returns Port short name

boolphysically_connected ()
std::stringpretty_name (bool)

Returns Port human readable name

LatencyRangeprivate_latency_range (bool)
LatencyRangepublic_latency_range (bool)
boolreceives_input ()

Returns true if this Port receives input, otherwise false

boolsends_output ()

Returns true if this Port sends output, otherwise false

Cast
AsyncMIDIPortto_asyncmidiport ()
AudioPortto_audioport ()
MidiPortto_midiport ()
@@ -1615,12 +2522,15 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C boolautomatic () boolcan_move () boolcaptured () + voidcaptured_xruns (XrunPositions&, bool) 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 () @@ -1637,18 +2547,21 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C unsigned intn_channels () voidnudge_position (long) boolopaque () + Playlistplaylist () longposition () -

How the region parameters play together:

POSITION: first frame of the region along the timeline START: first frame of the region within its source(s) LENGTH: number of frames the region represents

+

How the region parameters play together:

POSITION: first sample of the region along the timeline START: first sample of the region within its source(s) LENGTH: number of samples the region represents

boolposition_locked () doublequarter_note () voidraise () voidraise_to_top () 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.

+

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.

voidset_length (long, int) voidset_locked (bool) voidset_muted (bool) + boolset_name (std::string) +

Note: changing the name of a Region does not constitute an edit

voidset_opaque (bool) voidset_position (long, int) voidset_position_locked (bool) @@ -1664,6 +2577,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) @@ -1674,7 +2588,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

@@ -1699,7 +2613,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + @@ -1709,9 +2623,10 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
Methods
std::stringname ()
Methods
std::stringancestor_name ()
boolcan_be_analysed ()
booldestructive ()
XrunPositionscaptured_xruns ()
boolhas_been_analysed ()
longnatural_position ()
longtimeline_position ()
boolwritable ()
Cast
AudioSourceto_audiosource ()
FileSourceto_filesource ()
MidiSourceto_midisource ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -1723,23 +2638,28 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

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

is-a: ARDOUR:Track

-

A track is an route (bus) with a recordable diskstream and related objects relevant to tracking, playback and editing.

Specifically a track has regions and playlist objects.

+

A track is an route (bus) with a recordable diskstream and related objects relevant to recording, playback and editing.

Specifically a track has a playlist object that describes material to be played from disk, and modifies that object during recording and editing.

Methods
std::stringname ()
+
Methods
boolisnil ()
boolwrite_immediate_event (EventType, unsigned long, unsigned char*)

Inherited from ARDOUR:Track

- + - + + + + + @@ -1748,6 +2668,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Methods
Regionbounce (InterThreadInfo&)
Regionbounce (InterThreadInfo&, std::string)

bounce track from session start to session end to new region

itt
asynchronous progress report and cancel

Returns a new audio region (or nil in case of error)

Regionbounce_range (long, long, InterThreadInfo&, Processor, bool)
Regionbounce_range (long, long, InterThreadInfo&, Processor, bool, std::string)

Bounce the given range to a new audio region.

start
start time (in samples)
end
end time (in samples)
itt
asynchronous progress report and cancel
endpoint
the processor to tap the signal off (or nil for the top)
include_endpoint
include the given processor in the bounced audio.

Returns a new audio region (or nil in case of error)

boolbounceable (Processor, bool)

Test if the track can be bounced with the given settings. If sends/inserts/returns are present in the signal path or the given track has no audio outputs bouncing is not possible.

endpoint
the processor to tap the signal off (or nil for the top)
include_endpoint
include the given processor in the bounced audio.

Returns true if the track can be bounced, or false otherwise.

boolcan_record ()
intfind_and_use_playlist (DataType, ID)
Playlistplaylist ()
boolset_name (std::string)
intuse_copy_playlist ()
intuse_new_playlist (DataType)
intuse_playlist (DataType, Playlist, bool)
Cast
AudioTrackto_audio_track ()
MidiTrackto_midi_track ()
+ + + @@ -1755,9 +2678,12 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + @@ -1768,6 +2694,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -1779,43 +2706,46 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + + -
Methods
boolactive ()
intadd_aux_send (Route, Processor)

Add an aux send to a route.

route
route to send to.
before
Processor to insert before, or 0 to insert at the end.
intadd_foldback_send (Route, bool)
intadd_processor_by_index (Processor, int, ProcessorStreams, bool)

Add a processor to a route such that it ends up with a given index into the visible processors.

index
Index to add the processor at, or -1 to add at the end of the list.

Returns 0 on success, non-0 on failure.

booladd_sidechain (Processor)
std::stringcomment ()
boolcustomize_plugin_insert (Processor, unsigned int, ChanCount, ChanCount)

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

DataTypedata_type ()
IOinput ()
Deliverymain_outs ()

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

MonitorControlmonitoring_control ()
MonitorStatemonitoring_state ()
boolmuted ()
ChanCountn_inputs ()
ChanCountn_outputs ()
PannerShellpanner_shell ()
PeakMeterpeak_meter ()

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

longplayback_latency (bool)
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

intremove_processors (ProcessorList, ProcessorStreams)

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*)
voidset_comment (std::string, void*)
voidset_meter_point (MeterPoint, bool)
voidset_meter_point (MeterPoint)
boolset_strict_io (bool)
longsignal_latency ()
boolsoloed ()
boolstrict_io ()
Processorthe_instrument ()

Return the first processor that accepts has at least one MIDI input and at least one audio output. In the vast majority of cases, this will be "the instrument". This does not preclude other MIDI->audio processors later in the processing chain, but that would be a special case not covered by this utility function.

Amptrim ()
Cast
Automatableto_automatable ()
Trackto_track ()

Inherited from ARDOUR:Stripable

- - - + + + - - + + - + - - - - - - + + + + + + + + + - + @@ -1827,18 +2757,25 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - - + + + + + + + + +
Methods
AutomationControlcomp_enable_control ()
AutomationControlcomp_makeup_control ()
AutomationControlcomp_mode_control ()
AutomationControlcomp_enable_controllable ()
AutomationControlcomp_makeup_controllable ()
AutomationControlcomp_mode_controllable ()
std::stringcomp_mode_name (unsigned int)
AutomationControlcomp_redux_control ()
AutomationControlcomp_speed_control ()
ReadOnlyControlcomp_redux_controllable ()
AutomationControlcomp_speed_controllable ()
std::stringcomp_speed_name (unsigned int)
AutomationControlcomp_threshold_control ()
AutomationControlcomp_threshold_controllable ()
unsigned inteq_band_cnt ()
std::stringeq_band_name (unsigned int)
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)
AutomationControleq_enable_controllable ()
AutomationControleq_freq_controllable (unsigned int)
AutomationControleq_gain_controllable (unsigned int)
AutomationControleq_q_controllable (unsigned int)
AutomationControleq_shape_controllable (unsigned int)
AutomationControlfilter_enable_controllable (bool)
AutomationControlfilter_freq_controllable (bool)
AutomationControlfilter_slope_controllable (bool)
GainControlgain_control ()
boolis_auditioner ()
boolis_hidden ()
boolis_master ()
boolis_monitor ()
boolis_private_route ()
boolis_selected ()
AutomationControlmaster_send_enable_control ()
AutomationControlmaster_send_enable_controllable ()
MonitorProcessormonitor_control ()
MuteControlmute_control ()
AutomationControlpan_azimuth_control ()
PresentationInfopresentation_info_ptr ()
AutomationControlrec_enable_control ()
AutomationControlrec_safe_control ()
AutomationControlsend_enable_control (unsigned int)
AutomationControlsend_level_control (unsigned int)
AutomationControlsend_enable_controllable (unsigned int)
AutomationControlsend_level_controllable (unsigned int)
std::stringsend_name (unsigned int)
AutomationControlsend_pan_azimuth_controllable (unsigned int)
AutomationControlsend_pan_azimuth_enable_controllable (unsigned int)
voidset_presentation_order (unsigned int)
boolslaved ()
boolslaved_to (VCA)
SoloControlsolo_control ()
SoloIsolateControlsolo_isolate_control ()
SoloSafeControlsolo_safe_control ()
GainControltrim_control ()
Cast
Automatableto_automatable ()
Routeto_route ()
Slavableto_slavable ()
VCAto_vca ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -1854,9 +2791,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + - + @@ -1864,6 +2801,62 @@ 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 ()
MidiTrackback ()
boolempty ()
MidiTrackfront ()
MidiTrackfront ()
LuaIteriter ()
voidpush_back (MidiTrack)
voidreverse ()
LuaTabletable ()
voidunique ()
+

 ARDOUR:MonitorControl

+

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

+

is-a: ARDOUR:SlavableAutomationControl

+
+

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

+ + + + +
Methods
boolisnil ()
MonitorChoicemonitoring_choice ()
+

Inherited from ARDOUR:SlavableAutomationControl

+ + + + + + + + + +
Methods
voidadd_master (AutomationControl)
voidclear_masters ()
intget_boolean_masters ()
doubleget_masters_value ()
voidremove_master (AutomationControl)
boolslaved ()
boolslaved_to (AutomationControl)
+

Inherited from ARDOUR:AutomationControl

+ + + + + + + + + + + + + + + + + + + + +
Methods
AutomationListalist ()
AutoStateautomation_state ()
ParameterDescriptordesc ()
doubleget_value ()

Get `internal' value

Returns raw value as used for the plugin/processor control port

doublelower ()
doublenormal ()
voidset_automation_state (AutoState)
voidset_value (double, GroupControlDisposition)

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.

value
raw numeric value to set
group_override
if and how to propagate value to grouped controls
voidstart_touch (double)
voidstop_touch (double)
booltoggled ()
doubleupper ()
boolwritable ()
Cast
Controlto_ctrl ()
SlavableAutomationControlto_slavable ()
+

Inherited from PBD:Controllable

+ + + +
Methods
std::stringname ()
+

Inherited from PBD:StatefulPtr

+ + + + + + +
Methods
voidclear_changes ()

Forget about any changes to this object's properties

IDid ()
OwnedPropertyListproperties ()

 ARDOUR:MonitorProcessor

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

is-a: ARDOUR:Processor

@@ -1904,24 +2897,37 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods voidactivate () boolactive () + longcapture_offset () voiddeactivate () std::stringdisplay_name () booldisplay_to_user () - ChanCountinput_streams () - ChanCountoutput_streams () + longinput_latency () + ChanCountinput_streams () + longoutput_latency () + ChanCountoutput_streams () + longplayback_offset () + longsignal_latency () Cast Ampto_amp () Automatableto_automatable () + DelayLineto_delayline () + DiskIOProcessorto_diskioprocessor () + DiskReaderto_diskreader () + DiskWriterto_diskwriter () PluginInsertto_insert () + InternalSendto_internalsend () IOProcessorto_ioprocessor () + Latentto_latent () PeakMeterto_meter () MonitorProcessorto_monitorprocessor () PeakMeterto_peakmeter () PluginInsertto_plugininsert () + PolarityProcessorto_polarityprocessor () + Sendto_send () SideChainto_sidechain () UnknownProcessorto_unknownprocessor () -

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

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

 ARDOUR:MusicFrame

-

C‡: ARDOUR::MusicFrame

+

 ARDOUR:MusicSample

+

C‡: ARDOUR::MusicSample

- + - + - +
Constructor
ARDOUR.MusicFrame (long, int)
ARDOUR.MusicSample (long, int)
Methods
voidset (long, int)
voidset (long, int)
Data Members
intdivision
longframe
longsample

 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)

@@ -1952,10 +2958,10 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
boolmuted ()
boolmuted_by_self ()
-

Inherited from ARDOUR:SlavableAutomationControl,

+

Inherited from ARDOUR:SlavableAutomationControl

- + @@ -1968,18 +2974,22 @@ 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 ()
ParameterDescriptordesc ()
doubleget_value ()

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

Get `internal' value

Returns raw value as used for the plugin/processor control port

doublelower ()
doublenormal ()
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.

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.

value
raw numeric value to set
group_override
if and how to propagate value to grouped controls
voidstart_touch (double)
voidstop_touch (bool, double)
voidstop_touch (double)
booltoggled ()
doubleupper ()
boolwritable ()
Cast
Controlto_ctrl ()
SlavableAutomationControlto_slavable ()

Inherited from PBD:Controllable

@@ -1994,15 +3004,41 @@ 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<Temporal::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:PDC

+

C‡: ARDOUR::Latent

+
+ + + + +
Methods
voidforce_zero_latency (bool)
boolzero_latency ()

 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.

@@ -2011,7 +3047,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
boolisnil ()
voidset_bypassed (bool)
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -2028,16 +3064,28 @@ 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
unsigned intdisplay_priority

higher is more important http://lv2plug.in/ns/ext/port-props#displayPriority

boolenumeration
boolinline_ctrl
boolinteger_step
std::stringlabel
boollogarithmic
floatlargestep
std::stringprint_fmt

format string for pretty printing

floatsmallstep
boolsr_dependent
floatstep

Inherited from Evoral:ParameterDescriptor

+ + @@ -2047,6 +3095,19 @@ 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
floatupper

Maximum value (in Hz, for frequencies)

+

 ARDOUR:ParameterList

+

C‡: std::vector<Evoral::Parameter >

+
+ + + + + + + + + +
Constructor
ARDOUR.ParameterList ()
Methods
Parameterat (unsigned long)
boolempty ()
LuaIteriter ()
unsigned longsize ()
LuaTabletable ()

 ARDOUR:PeakMeter

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

is-a: ARDOUR:Processor

@@ -2056,32 +3117,46 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods boolisnil () floatmeter_level (unsigned int, MeterType) + MeterTypemeter_type () voidreset_max () - voidset_type (MeterType) + voidset_meter_type (MeterType)

Inherited from ARDOUR:Processor

+ - - + + + + + + + + + + + + + +
Methods
voidactivate ()
boolactive ()
longcapture_offset ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
ChanCountinput_streams ()
ChanCountoutput_streams ()
longinput_latency ()
ChanCountinput_streams ()
longoutput_latency ()
ChanCountoutput_streams ()
longplayback_offset ()
longsignal_latency ()
Cast
Ampto_amp ()
Automatableto_automatable ()
DelayLineto_delayline ()
DiskIOProcessorto_diskioprocessor ()
DiskReaderto_diskreader ()
DiskWriterto_diskwriter ()
PluginInsertto_insert ()
InternalSendto_internalsend ()
IOProcessorto_ioprocessor ()
Latentto_latent ()
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
PolarityProcessorto_polarityprocessor ()
Sendto_send ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -2106,18 +3181,22 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + - + + + - - + - + + + +
Methods
std::stringname ()
Methods
AutomationListalist ()
AutoStateautomation_state ()
AutoStyleautomation_style ()
ParameterDescriptordesc ()
doubleget_value ()

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

Get `internal' value

Returns raw value as used for the plugin/processor control port

doublelower ()
doublenormal ()
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.

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.

value
raw numeric value to set
group_override
if and how to propagate value to grouped controls
voidstart_touch (double)
voidstop_touch (bool, double)
voidstop_touch (double)
booltoggled ()
doubleupper ()
boolwritable ()
Cast
Controlto_ctrl ()
SlavableAutomationControlto_slavable ()

Inherited from PBD:Controllable

@@ -2134,7 +3213,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().

@@ -2149,9 +3228,13 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + + + + + @@ -2166,16 +3249,18 @@ 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
voidduplicate_range (AudioRange&, float)
voidduplicate_until (Region, long, long, long)
gap
from the beginning of the region to the next beginning
end
the first frame that does _not_ contain a duplicated frame
gap
from the beginning of the region to the next beginning
end
the first sample that does _not_ contain a duplicated sample
boolempty ()
Regionfind_next_region (long, RegionPoint, int)
longfind_next_region_boundary (long, int)
longfind_next_transient (long, int)
IDget_orig_track_id ()
boolhidden ()
boolisnil ()
voidlower_region (Region)
voidlower_region_to_bottom (Region)
RegionListPtrregions_with_end_within (Range)
RegionListPtrregions_with_start_within (Range)
voidremove_region (Region)
voidsplit (long)
voidsplit_region (Region, MusicFrame)
boolset_name (std::string)
boolshared ()
voidsplit_region (Region, MusicSample)
Regiontop_region_at (long)
Regiontop_unmuted_region_at (long)
voiduncombine (Region)
boolused ()
Cast
AudioPlaylistto_audioplaylist ()
MidiPlaylistto_midiplaylist ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

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

 ARDOUR:PlaylistList

+

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

+
+ + + + + + + + + + + + + + +
Constructor
ARDOUR.PlaylistList ()
ARDOUR.PlaylistList ()
Methods
LuaTableadd (LuaTable {Playlist})
Playlistat (unsigned long)
voidclear ()
boolempty ()
LuaIteriter ()
voidpush_back (Playlist)
unsigned longsize ()
LuaTabletable ()
...to_array (--lua--)

 ARDOUR:Plugin

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

is-a: PBD:StatefulDestructiblePtr

@@ -2197,13 +3300,19 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C std::stringget_parameter_docs (unsigned int) boolisnil () char*label () + PresetRecordlast_preset () +

Returns Last preset to be requested; the settings may have been changed since; find out with parameter_changed_since_last_preset.

boolload_preset (PresetRecord)

Set parameters using a preset

char*maker () 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 () @@ -2242,18 +3351,22 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods AutomationListalist () AutoStateautomation_state () - AutoStyleautomation_style () + ParameterDescriptordesc () doubleget_value () -

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

+

Get `internal' value

Returns raw value as used for the plugin/processor control port

+ doublelower () + doublenormal () 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.
+

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.

value
raw numeric value to set
group_override
if and how to propagate value to grouped controls
voidstart_touch (double) - voidstop_touch (bool, double) + voidstop_touch (double) + booltoggled () + doubleupper () boolwritable () Cast Controlto_ctrl () + SlavableAutomationControlto_slavable ()

Inherited from PBD:Controllable

@@ -2285,9 +3398,27 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - +
ARDOUR:ChanCountn_outputs
std::stringname
std::stringpath
ARDOUR.PluginTypetype
ARDOUR.PluginType_type
std::stringunique_id
+

 ARDOUR:PluginInfoList

+

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

+
+ + + + + + + + + + + + + + +
Constructor
ARDOUR.PluginInfoList ()
Methods
LuaTableadd (LuaTable {PluginInfo})
PluginInfoback ()
boolempty ()
PluginInfofront ()
LuaIteriter ()
voidpush_back (PluginInfo)
voidreverse ()
unsigned longsize ()
LuaTabletable ()
voidunique ()

 ARDOUR:PluginInsert

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

is-a: ARDOUR:Processor

@@ -2296,8 +3427,16 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + + + + + + @@ -2306,29 +3445,105 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + + + +
Methods
voidactivate ()
voidclear_stats ()
voiddeactivate ()
voidenable (bool)
boolenabled ()
unsigned intget_count ()
LuaTable(bool, ...)get_stats (long&, long&, double&, double&)
boolhas_sidechain ()
ChanMappinginput_map (unsigned int)
boolis_channelstrip ()
boolis_instrument ()
boolisnil ()
ChanCountnatural_input_streams ()
ChanCountnatural_output_streams ()
boolreset_parameters_to_default ()
voidset_input_map (unsigned int, ChanMapping)
voidset_output_map (unsigned int, ChanMapping)
voidset_thru_map (ChanMapping)
IOsidechain_input ()
longsignal_latency ()
boolstrict_io_configured ()
ChanMappingthru_map ()
PluginType_type ()
boolwrite_immediate_event (EventType, unsigned long, unsigned char*)

Inherited from ARDOUR:Processor

+ - - + + + + + + + + + + + + +
Methods
boolactive ()
longcapture_offset ()
std::stringdisplay_name ()
booldisplay_to_user ()
ChanCountinput_streams ()
ChanCountoutput_streams ()
longinput_latency ()
ChanCountinput_streams ()
longoutput_latency ()
ChanCountoutput_streams ()
longplayback_offset ()
Cast
Ampto_amp ()
Automatableto_automatable ()
DelayLineto_delayline ()
DiskIOProcessorto_diskioprocessor ()
DiskReaderto_diskreader ()
DiskWriterto_diskwriter ()
PluginInsertto_insert ()
InternalSendto_internalsend ()
IOProcessorto_ioprocessor ()
Latentto_latent ()
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
PolarityProcessorto_polarityprocessor ()
Sendto_send ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

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

 ARDOUR.PluginType

+
+ + + +
Methods
std::stringname (PluginType, bool)
+

 ARDOUR:PolarityProcessor

+

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

+

is-a: ARDOUR:Processor

+
+

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

+ + + +
Methods
boolisnil ()
+

Inherited from ARDOUR:Processor

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods
voidactivate ()
boolactive ()
longcapture_offset ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
longinput_latency ()
ChanCountinput_streams ()
longoutput_latency ()
ChanCountoutput_streams ()
longplayback_offset ()
longsignal_latency ()
Cast
Ampto_amp ()
Automatableto_automatable ()
DelayLineto_delayline ()
DiskIOProcessorto_diskioprocessor ()
DiskReaderto_diskreader ()
DiskWriterto_diskwriter ()
PluginInsertto_insert ()
InternalSendto_internalsend ()
IOProcessorto_ioprocessor ()
Latentto_latent ()
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
PolarityProcessorto_polarityprocessor ()
Sendto_send ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
+

Inherited from ARDOUR:SessionObjectPtr

@@ -2348,23 +3563,29 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + + + + +
Methods
std::stringname ()
o
Port name

Returns true if this port is connected to o, otherwise false.

intdisconnect (std::string)
intdisconnect_all ()
PortFlagsflags ()

Returns flags

LuaTable(...)get_connected_latency_range (LatencyRange&, bool)
boolisnil ()
std::stringname ()

Returns Port short name

boolphysically_connected ()
std::stringpretty_name (bool)

Returns Port human readable name

LatencyRangeprivate_latency_range (bool)
LatencyRangepublic_latency_range (bool)
boolreceives_input ()

Returns true if this Port receives input, otherwise false

boolsends_output ()

Returns true if this Port sends output, otherwise false

Cast
AsyncMIDIPortto_asyncmidiport ()
AudioPortto_audioport ()
MidiPortto_midiport ()

 ARDOUR:PortEngine

C‡: ARDOUR::PortEngine

-

PortEngine is an abstract base class that defines the functionality required by Ardour.

A Port is basically an endpoint for a datastream (which can either be continuous, like audio, or event-based, like MIDI). Ports have buffers associated with them into which data can be written (if they are output ports) and from which data can be read (if they input ports). Ports can be connected together so that data written to an output port can be read from an input port. These connections can be 1:1, 1:N OR N:1.

Ports may be associated with software only, or with hardware. Hardware related ports are often referred to as physical, and correspond to some relevant physical entity on a hardware device, such as an audio jack or a MIDI connector. Physical ports may be potentially asked to monitor their inputs, though some implementations may not support this.

Most physical ports will also be considered "terminal", which means that data delivered there or read from there will go to or comes from a system outside of the PortEngine implementation's control (e.g. the analog domain for audio, or external MIDI devices for MIDI). Non-physical ports can also be considered "terminal". For example, the output port of a software synthesizer is a terminal port, because the data contained in its buffer does not and cannot be considered to come from any other port - it is synthesized by its owner.

Ports also have latency associated with them. Each port has a playback latency and a capture latency:

capture latency: how long since the data read from the buffer of a port arrived at at a terminal port. The data will have come from the "outside world" if the terminal port is also physical, or will have been synthesized by the entity that owns the terminal port.

playback latency: how long until the data written to the buffer of port will reach a terminal port.

For more detailed questions about the PortEngine API, consult the JACK API documentation, on which this entire object is based.

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

 ARDOUR:PortList

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

@@ -2373,9 +3594,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂARDOUR.PortList () Methods - Portback () + Portback () boolempty () - Portfront () + Portfront () LuaIteriter () voidreverse () unsigned longsize () @@ -2403,6 +3624,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C boolphysically_connected (std::string) PortEngineport_engine () boolport_is_physical (std::string) + voidreset_input_meters ()

 ARDOUR:PortSet

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

@@ -2429,8 +3651,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

@@ -2462,40 +3686,55 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + +
Methods
LuaTableadd (LuaTable {PresetRecord})
PresetRecordat (unsigned long)
voidclear ()
boolempty ()
LuaIteriter ()
voidpush_back (PresetRecord)
unsigned longsize ()
LuaTabletable ()
...to_array (--lua--)

 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

+ - + + - + + + + + + + + + + + +
Methods
voidactivate ()
boolactive ()
longcapture_offset ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
ChanCountinput_streams ()
longinput_latency ()
ChanCountinput_streams ()
boolisnil ()
ChanCountoutput_streams ()
longoutput_latency ()
ChanCountoutput_streams ()
longplayback_offset ()
longsignal_latency ()
Cast
Ampto_amp ()
Automatableto_automatable ()
DelayLineto_delayline ()
DiskIOProcessorto_diskioprocessor ()
DiskReaderto_diskreader ()
DiskWriterto_diskwriter ()
PluginInsertto_insert ()
InternalSendto_internalsend ()
IOProcessorto_ioprocessor ()
Latentto_latent ()
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
PolarityProcessorto_polarityprocessor ()
Sendto_send ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -2511,9 +3750,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + - + @@ -2531,11 +3770,13 @@ 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 ()
Processorback ()
boolempty ()
Processorfront ()
Processorfront ()
LuaIteriter ()
voidpush_back (Processor)
voidreverse ()
Methods
LuaTableadd (LuaTable {Processor})
Processorat (unsigned long)
voidclear ()
boolempty ()
LuaIteriter ()
voidpush_back (Processor)
unsigned longsize ()
LuaTabletable ()
...to_array (--lua--)

 ARDOUR:Progress

C‡: ARDOUR::Progress

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

C‡: PBD::PropertyDescriptor<float>

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

-

 ARDOUR:Properties:FrameposProperty

+

 ARDOUR:Properties:SampleposProperty

C‡: PBD::PropertyDescriptor<long>

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

@@ -2562,26 +3803,588 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods boolcontainsBool (BoolProperty) boolcontainsFloat (FloatProperty) - boolcontainsFramePos (FrameposProperty) + boolcontainsSamplePos (SampleposProperty)

 ARDOUR:PropertyList

C‡: PBD::PropertyList

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

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
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 ()
boolget_auto_input_does_talkback ()
boolget_auto_return_after_rewind_ffwd ()
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_conceal_lv1_if_lv2_exists ()
boolget_conceal_vst2_if_vst3_exists ()
boolget_copy_demo_sessions ()
intget_cpu_dma_latency ()
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_plugins_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_samples ()
boolget_latched_record_enable ()
LayerModelget_layer_model ()
unsigned intget_limit_n_automatables ()
boolget_link_send_and_route_panner ()
std::stringget_linux_pingback_url ()
ListenPositionget_listen_position ()
boolget_locate_while_waiting_for_sync ()
LoopFadeChoiceget_loop_fade_choice ()
boolget_loop_is_mode ()
std::stringget_ltc_output_port ()
floatget_ltc_output_volume ()
boolget_ltc_send_continuously ()
floatget_max_gain ()
unsigned intget_max_recent_sessions ()
unsigned intget_max_recent_templates ()
floatget_max_transport_speed ()
floatget_meter_falloff ()
MeterTypeget_meter_type_bus ()
MeterTypeget_meter_type_master ()
MeterTypeget_meter_type_track ()
std::stringget_midi_audition_synth_uri ()
boolget_midi_clock_sets_tempo ()
boolget_midi_feedback ()
boolget_midi_input_follows_selection ()
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 ()
unsigned intget_plugin_cache_version ()
std::stringget_plugin_path_lxvst ()
std::stringget_plugin_path_vst ()
std::stringget_plugin_path_vst3 ()
unsigned intget_plugin_scan_timeout ()
boolget_plugins_stop_with_transport ()
longget_postroll ()
longget_preroll ()
floatget_preroll_seconds ()
intget_processor_usage ()
boolget_quieten_at_speed ()
longget_range_location_minimum ()
RangeSelectionAfterSplitget_range_selection_after_split ()
boolget_recording_resets_xrun_count ()
std::stringget_reference_manual_url ()
boolget_region_boundaries_from_onscreen_tracks ()
boolget_region_boundaries_from_selected_tracks ()
RegionEquivalenceget_region_equivalence ()
RegionSelectionAfterSplitget_region_selection_after_split ()
boolget_replicate_missing_region_channels ()
boolget_reset_default_speed_on_stop ()
boolget_rewind_ffwd_like_tape_decks ()
boolget_run_all_transport_masters_always ()
boolget_save_history ()
intget_saved_history_depth ()
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 ()
boolget_show_vst3_micro_edit_inline ()
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 ()
boolget_timecode_sync_frame_rate ()
boolget_trace_midi_input ()
boolget_trace_midi_output ()
TracksAutoNamingRuleget_tracks_auto_naming ()
floatget_transient_sensitivity ()
boolget_transport_masters_just_roll_when_sync_lost ()
boolget_try_autostart_engine ()
std::stringget_tutorial_manual_url ()
std::stringget_updates_url ()
boolget_use_audio_units ()
boolget_use_click_emphasis ()
boolget_use_lxvst ()
boolget_use_macvst ()
boolget_use_master_volume ()
boolget_use_monitor_bus ()
boolget_use_osc ()
boolget_use_plugin_own_gui ()
boolget_use_tranzport ()
boolget_use_vst3 ()
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 ()
std::stringget_windows_pingback_url ()
boolget_work_around_jack_no_copy_optimization ()
std::stringget_xjadeo_binary ()
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_input_does_talkback (bool)
boolset_auto_return_after_rewind_ffwd (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_conceal_lv1_if_lv2_exists (bool)
boolset_conceal_vst2_if_vst3_exists (bool)
boolset_copy_demo_sessions (bool)
boolset_cpu_dma_latency (int)
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_plugins_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_samples (int)
boolset_latched_record_enable (bool)
boolset_layer_model (LayerModel)
boolset_limit_n_automatables (unsigned int)
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_fade_choice (LoopFadeChoice)
boolset_loop_is_mode (bool)
boolset_ltc_output_port (std::string)
boolset_ltc_output_volume (float)
boolset_ltc_send_continuously (bool)
boolset_max_gain (float)
boolset_max_recent_sessions (unsigned int)
boolset_max_recent_templates (unsigned int)
boolset_max_transport_speed (float)
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_clock_sets_tempo (bool)
boolset_midi_feedback (bool)
boolset_midi_input_follows_selection (bool)
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_cache_version (unsigned int)
boolset_plugin_path_lxvst (std::string)
boolset_plugin_path_vst (std::string)
boolset_plugin_path_vst3 (std::string)
boolset_plugin_scan_timeout (unsigned int)
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_range_selection_after_split (RangeSelectionAfterSplit)
boolset_recording_resets_xrun_count (bool)
boolset_reference_manual_url (std::string)
boolset_region_boundaries_from_onscreen_tracks (bool)
boolset_region_boundaries_from_selected_tracks (bool)
boolset_region_equivalence (RegionEquivalence)
boolset_region_selection_after_split (RegionSelectionAfterSplit)
boolset_replicate_missing_region_channels (bool)
boolset_reset_default_speed_on_stop (bool)
boolset_rewind_ffwd_like_tape_decks (bool)
boolset_run_all_transport_masters_always (bool)
boolset_save_history (bool)
boolset_saved_history_depth (int)
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_show_vst3_micro_edit_inline (bool)
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_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_transport_masters_just_roll_when_sync_lost (bool)
boolset_try_autostart_engine (bool)
boolset_tutorial_manual_url (std::string)
boolset_updates_url (std::string)
boolset_use_audio_units (bool)
boolset_use_click_emphasis (bool)
boolset_use_lxvst (bool)
boolset_use_macvst (bool)
boolset_use_master_volume (bool)
boolset_use_monitor_bus (bool)
boolset_use_osc (bool)
boolset_use_plugin_own_gui (bool)
boolset_use_tranzport (bool)
boolset_use_vst3 (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_windows_pingback_url (std::string)
boolset_work_around_jack_no_copy_optimization (bool)
boolset_xjadeo_binary (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
boolauto_input_does_talkback
boolauto_return_after_rewind_ffwd
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
boolconceal_lv1_if_lv2_exists
boolconceal_vst2_if_vst3_exists
boolcopy_demo_sessions
intcpu_dma_latency
boolcreate_xrun_marker
ARDOUR.FadeShapedefault_fade_shape
std::stringdefault_session_parent_dir
ARDOUR.DenormalModeldenormal_model
booldenormal_protection
booldisable_disarm_during_roll
booldiscover_plugins_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_samples
boollatched_record_enable
ARDOUR.LayerModellayer_model
unsigned intlimit_n_automatables
boollink_send_and_route_panner
std::stringlinux_pingback_url
ARDOUR.ListenPositionlisten_position
boollocate_while_waiting_for_sync
ARDOUR.LoopFadeChoiceloop_fade_choice
boolloop_is_mode
std::stringltc_output_port
floatltc_output_volume
boolltc_send_continuously
floatmax_gain
unsigned intmax_recent_sessions
unsigned intmax_recent_templates
floatmax_transport_speed
floatmeter_falloff
ARDOUR.MeterTypemeter_type_bus
ARDOUR.MeterTypemeter_type_master
ARDOUR.MeterTypemeter_type_track
std::stringmidi_audition_synth_uri
boolmidi_clock_sets_tempo
boolmidi_feedback
boolmidi_input_follows_selection
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
unsigned intplugin_cache_version
std::stringplugin_path_lxvst
std::stringplugin_path_vst
std::stringplugin_path_vst3
unsigned intplugin_scan_timeout
boolplugins_stop_with_transport
longpostroll
longpreroll
floatpreroll_seconds
intprocessor_usage
boolquieten_at_speed
longrange_location_minimum
ARDOUR.RangeSelectionAfterSplitrange_selection_after_split
boolrecording_resets_xrun_count
std::stringreference_manual_url
boolregion_boundaries_from_onscreen_tracks
boolregion_boundaries_from_selected_tracks
ARDOUR.RegionEquivalenceregion_equivalence
ARDOUR.RegionSelectionAfterSplitregion_selection_after_split
boolreplicate_missing_region_channels
boolreset_default_speed_on_stop
boolrewind_ffwd_like_tape_decks
boolrun_all_transport_masters_always
boolsave_history
intsaved_history_depth
boolsend_ltc
boolsend_midi_clock
boolsend_mmc
boolsend_mtc
boolshow_solo_mutes
boolshow_video_export_info
boolshow_video_server_dialog
boolshow_vst3_micro_edit_inline
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
booltimecode_sync_frame_rate
booltrace_midi_input
booltrace_midi_output
ARDOUR.TracksAutoNamingRuletracks_auto_naming
floattransient_sensitivity
booltransport_masters_just_roll_when_sync_lost
booltry_autostart_engine
std::stringtutorial_manual_url
std::stringupdates_url
booluse_audio_units
booluse_click_emphasis
booluse_lxvst
booluse_macvst
booluse_master_volume
booluse_monitor_bus
booluse_osc
booluse_plugin_own_gui
booluse_tranzport
booluse_vst3
booluse_windows_vst
boolverbose_plugin_scan
boolverify_remove_last_capture
boolvideo_advanced_setup
std::stringvideo_server_docroot
std::stringvideo_server_url
std::stringwindows_pingback_url
boolwork_around_jack_no_copy_optimization
std::stringxjadeo_binary
+

Inherited from PBD:Stateful

+ + + + + + +
Methods
voidclear_changes ()

Forget about any changes to this object's properties

IDid ()
OwnedPropertyListproperties ()
+

 ARDOUR:RawMidiParser

+

C‡: ARDOUR::RawMidiParser

+
+ + + + + + + + +
Constructor
ARDOUR.RawMidiParser ()
Methods
unsigned longbuffer_size ()
unsigned char*midi_buffer ()
boolprocess_byte (unsigned char)
voidreset ()
+

 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 >

+
Methods
boolisnil ()
ReadableListload (Session&, std::string)
unsigned intn_channels ()
longread (FloatArray, long, long, int)
longreadable_length ()
+

 ARDOUR:ReadableList

+

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

+
+ + + + + + + + + + + + + + +
Constructor
ARDOUR.ReadableList ()
ARDOUR.ReadableList ()
Methods
LuaTableadd (LuaTable {Readable})
Readableat (unsigned long)
voidclear ()
boolempty ()
LuaIteriter ()
voidpush_back (Readable)
unsigned longsize ()
LuaTabletable ()
...to_array (--lua--)

 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().

@@ -2590,12 +4393,15 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + @@ -2613,18 +4419,21 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + - + - + + + @@ -2640,6 +4449,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -2650,7 +4460,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
boolautomatic ()
boolcan_move ()
boolcaptured ()
voidcaptured_xruns (XrunPositions&, bool)
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 ()
unsigned intn_channels ()
voidnudge_position (long)
boolopaque ()
Playlistplaylist ()
longposition ()

How the region parameters play together:

POSITION: first frame of the region along the timeline START: first frame of the region within its source(s) LENGTH: number of frames the region represents

How the region parameters play together:

POSITION: first sample of the region along the timeline START: first sample of the region within its source(s) LENGTH: number of samples the region represents

boolposition_locked ()
doublequarter_note ()
voidraise ()
voidraise_to_top ()
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.

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.

voidset_length (long, int)
voidset_locked (bool)
voidset_muted (bool)
boolset_name (std::string)

Note: changing the name of a Region does not constitute an edit

voidset_opaque (bool)
voidset_position (long, int)
voidset_position_locked (bool)
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

@@ -2663,7 +4473,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> >

@@ -2672,9 +4484,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂARDOUR.RegionList () Methods - Regionback () + Regionback () boolempty () - Regionfront () + Regionfront () LuaIteriter () voidreverse () unsigned longsize () @@ -2696,6 +4508,100 @@ 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)
voidclear ()
boolempty ()
LuaIteriter ()
voidpush_back (Region)
unsigned longsize ()
LuaTabletable ()
...to_array (--lua--)
+

 ARDOUR:Return

+

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

+

is-a: ARDOUR:IOProcessor

+
+

A mixer strip element (Processor) with 1 or 2 IO elements.

+ + + +
Methods
boolisnil ()
+

Inherited from ARDOUR:IOProcessor

+ + + + + + +
Methods
IOinput ()
ChanCountnatural_input_streams ()
ChanCountnatural_output_streams ()
IOoutput ()
+

Inherited from ARDOUR:Processor

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods
voidactivate ()
boolactive ()
longcapture_offset ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
longinput_latency ()
ChanCountinput_streams ()
longoutput_latency ()
ChanCountoutput_streams ()
longplayback_offset ()
longsignal_latency ()
Cast
Ampto_amp ()
Automatableto_automatable ()
DelayLineto_delayline ()
DiskIOProcessorto_diskioprocessor ()
DiskReaderto_diskreader ()
DiskWriterto_diskwriter ()
PluginInsertto_insert ()
InternalSendto_internalsend ()
IOProcessorto_ioprocessor ()
Latentto_latent ()
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
PolarityProcessorto_polarityprocessor ()
Sendto_send ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
+

Inherited from ARDOUR:SessionObjectPtr

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

 ARDOUR:Route

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

is-a: ARDOUR:Stripable

@@ -2704,6 +4610,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + @@ -2711,10 +4620,13 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + @@ -2725,6 +4637,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -2736,44 +4649,47 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + + -
Methods
boolactive ()
intadd_aux_send (Route, Processor)

Add an aux send to a route.

route
route to send to.
before
Processor to insert before, or 0 to insert at the end.
intadd_foldback_send (Route, bool)
intadd_processor_by_index (Processor, int, ProcessorStreams, bool)

Add a processor to a route such that it ends up with a given index into the visible processors.

index
Index to add the processor at, or -1 to add at the end of the list.

Returns 0 on success, non-0 on failure.

booladd_sidechain (Processor)
std::stringcomment ()
boolcustomize_plugin_insert (Processor, unsigned int, ChanCount, ChanCount)

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

DataTypedata_type ()
IOinput ()
boolisnil ()
Deliverymain_outs ()

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

MonitorControlmonitoring_control ()
MonitorStatemonitoring_state ()
boolmuted ()
ChanCountn_inputs ()
ChanCountn_outputs ()
PannerShellpanner_shell ()
PeakMeterpeak_meter ()

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

longplayback_latency (bool)
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

intremove_processors (ProcessorList, ProcessorStreams)

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*)
voidset_comment (std::string, void*)
voidset_meter_point (MeterPoint, bool)
voidset_meter_point (MeterPoint)
boolset_name (std::string)
boolset_strict_io (bool)
longsignal_latency ()
boolsoloed ()
boolstrict_io ()
Processorthe_instrument ()

Return the first processor that accepts has at least one MIDI input and at least one audio output. In the vast majority of cases, this will be "the instrument". This does not preclude other MIDI->audio processors later in the processing chain, but that would be a special case not covered by this utility function.

Amptrim ()
Cast
Automatableto_automatable ()
Trackto_track ()

Inherited from ARDOUR:Stripable

- - - + + + - - + + - + - - - - - - + + + + + + + + + - + @@ -2785,18 +4701,25 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - - + + + + + + + + +
Methods
AutomationControlcomp_enable_control ()
AutomationControlcomp_makeup_control ()
AutomationControlcomp_mode_control ()
AutomationControlcomp_enable_controllable ()
AutomationControlcomp_makeup_controllable ()
AutomationControlcomp_mode_controllable ()
std::stringcomp_mode_name (unsigned int)
AutomationControlcomp_redux_control ()
AutomationControlcomp_speed_control ()
ReadOnlyControlcomp_redux_controllable ()
AutomationControlcomp_speed_controllable ()
std::stringcomp_speed_name (unsigned int)
AutomationControlcomp_threshold_control ()
AutomationControlcomp_threshold_controllable ()
unsigned inteq_band_cnt ()
std::stringeq_band_name (unsigned int)
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)
AutomationControleq_enable_controllable ()
AutomationControleq_freq_controllable (unsigned int)
AutomationControleq_gain_controllable (unsigned int)
AutomationControleq_q_controllable (unsigned int)
AutomationControleq_shape_controllable (unsigned int)
AutomationControlfilter_enable_controllable (bool)
AutomationControlfilter_freq_controllable (bool)
AutomationControlfilter_slope_controllable (bool)
GainControlgain_control ()
boolis_auditioner ()
boolis_hidden ()
boolis_master ()
boolis_monitor ()
boolis_private_route ()
boolis_selected ()
AutomationControlmaster_send_enable_control ()
AutomationControlmaster_send_enable_controllable ()
MonitorProcessormonitor_control ()
MuteControlmute_control ()
AutomationControlpan_azimuth_control ()
PresentationInfopresentation_info_ptr ()
AutomationControlrec_enable_control ()
AutomationControlrec_safe_control ()
AutomationControlsend_enable_control (unsigned int)
AutomationControlsend_level_control (unsigned int)
AutomationControlsend_enable_controllable (unsigned int)
AutomationControlsend_level_controllable (unsigned int)
std::stringsend_name (unsigned int)
AutomationControlsend_pan_azimuth_controllable (unsigned int)
AutomationControlsend_pan_azimuth_enable_controllable (unsigned int)
voidset_presentation_order (unsigned int)
boolslaved ()
boolslaved_to (VCA)
SoloControlsolo_control ()
SoloIsolateControlsolo_isolate_control ()
SoloSafeControlsolo_safe_control ()
GainControltrim_control ()
Cast
Automatableto_automatable ()
Routeto_route ()
Slavableto_slavable ()
VCAto_vca ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -2814,6 +4737,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.

@@ -2838,6 +4762,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -2847,11 +4772,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* >

@@ -2874,9 +4808,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂARDOUR.RouteList () Methods - Routeback () + Routeback () boolempty () - Routefront () + Routefront () LuaIteriter () voidreverse () unsigned longsize () @@ -2898,42 +4832,124 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C LuaTabletable () voidunique () +

 ARDOUR:Send

+

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

+

is-a: ARDOUR:Delivery

+
+

A mixer strip element (Processor) with 1 or 2 IO elements.

+ + + + + + + + + + +
Methods
GainControlgain_control ()
longget_delay_in ()
longget_delay_out ()
boolis_foldback ()
boolisnil ()
voidset_remove_on_disconnect (bool)
Cast
InternalSendto_internalsend ()
+

Inherited from ARDOUR:Delivery

+ + + +
Methods
PannerShellpanner_shell ()
+

Inherited from ARDOUR:IOProcessor

+ + + + + + +
Methods
IOinput ()
ChanCountnatural_input_streams ()
ChanCountnatural_output_streams ()
IOoutput ()
+

Inherited from ARDOUR:Processor

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods
voidactivate ()
boolactive ()
longcapture_offset ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
longinput_latency ()
ChanCountinput_streams ()
longoutput_latency ()
ChanCountoutput_streams ()
longplayback_offset ()
longsignal_latency ()
Cast
Ampto_amp ()
Automatableto_automatable ()
DelayLineto_delayline ()
DiskIOProcessorto_diskioprocessor ()
DiskReaderto_diskreader ()
DiskWriterto_diskwriter ()
PluginInsertto_insert ()
InternalSendto_internalsend ()
IOProcessorto_ioprocessor ()
Latentto_latent ()
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
PolarityProcessorto_polarityprocessor ()
Sendto_send ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
+

Inherited from ARDOUR:SessionObjectPtr

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

 ARDOUR:Session

C‡: ARDOUR::Session

Ardour Session

+ + + + + + + + - - + + + - - + + + @@ -2944,52 +4960,71 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + - + - + + + - + + + - - + + + + + + - - + + + + + - - + + + + + + + + + + + - - +
Methods
boolabort_empty_reversible_command ()

Abort reversible commend IFF no undo changes have been collected.

Returns true if undo operation was aborted.

voidabort_reversible_command ()

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

boolactively_recording ()
doubleactual_speed ()
voidadd_command (Command)
voidadd_internal_send (Route, Processor, Route)
voidadd_internal_sends (Route, Placement, RouteListPtr)
intadd_master_bus (ChanCount)
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)

begin collecting undo information

This call must always be followed by either begin_reversible_command() or commit_reversible_command()

cmd_name
human readable name for the undo operation
BundleListPtrbundles ()
voidcancel_all_solo ()
SessionConfigurationcfg ()
voidclear_all_solo_state (RouteListPtr)
boolcollected_undo_commands ()

Test if any undo commands were added since the call to begin_reversible_command ()

This is is useful to determine if an undoable action was performed before adding additional information (e.g. selection changes) to the undo transaction.

Returns true if undo operation is valid but empty

voidcommit_reversible_command (Command)

finalize an undo command and commit pending transactions

This must only be called after begin_reversible_command ()

cmd
(additional) command to add
Controllablecontrollable_by_id (ID)
longcurrent_end_frame ()
longcurrent_start_frame ()
longcurrent_end_sample ()
longcurrent_start_sample ()
voiddisable_record (bool, bool)
AudioEngineengine ()
doubleengine_speed ()
boolexport_track_state (RouteListPtr, std::string)
longframe_rate ()

"actual" sample rate of session, set by current audioengine rate, pullup/down etc.

unsigned intget_block_size ()
boolget_play_loop ()
Routeget_remote_nth_route (unsigned int)
Stripableget_remote_nth_stripable (unsigned int, Flag)
RouteListget_routelist (bool, Flag)
RouteListPtrget_routes ()
BufferSetget_scratch_buffers (ChanCount, bool)
BufferSetget_silent_buffers (ChanCount)
StripableListget_stripables ()
RouteListPtrget_tracks ()
unsigned intget_xrun_count ()
voidgoto_end ()
voidgoto_start (bool)
longlast_transport_start ()
Routemonitor_out ()
std::stringname ()
RouteListnew_audio_route (int, int, RouteGroup, unsigned int, std::string, Flag, unsigned int)
AudioTrackListnew_audio_track (int, int, RouteGroup, unsigned int, std::string, unsigned int, TrackMode)
AudioTrackListnew_audio_track (int, int, RouteGroup, unsigned int, std::string, unsigned int, TrackMode, bool)
RouteListnew_midi_route (RouteGroup, unsigned int, std::string, bool, PluginInfo, PresetRecord, Flag, unsigned int)
MidiTrackListnew_midi_track (ChanCount, ChanCount, bool, PluginInfo, PresetRecord, RouteGroup, unsigned int, std::string, unsigned int, TrackMode)
MidiTrackListnew_midi_track (ChanCount, ChanCount, bool, PluginInfo, PresetRecord, RouteGroup, unsigned int, std::string, unsigned int, TrackMode, bool)
RouteListnew_route_from_template (unsigned int, unsigned int, std::string, std::string, PlaylistDisposition)
RouteGroupnew_route_group (std::string)
longnominal_frame_rate ()
longnominal_sample_rate ()

"native" sample rate of session, regardless of current audioengine rate, pullup/down etc

std::stringpath ()
SessionPlaylistsplaylists ()
boolplot_process_graph (std::string)
Processorprocessor_by_id (ID)
RecordStaterecord_status ()
voidremove_route_group (RouteGroup)
voidrequest_locate (long, bool)
intrename (std::string)
voidrequest_bounded_roll (long, long)
voidrequest_locate (long, LocateTransportDisposition, TransportRequestSource)
voidrequest_play_loop (bool, bool)
voidrequest_stop (bool, bool)
voidrequest_transport_speed (double, bool)
voidrequest_roll (TransportRequestSource)
voidrequest_stop (bool, bool, TransportRequestSource)
voidrequest_transport_speed (double, TransportRequestSource)
voidreset_xrun_count ()
Routeroute_by_id (ID)
Routeroute_by_name (std::string)
Routeroute_by_selected_count (unsigned int)
RouteGroupListroute_groups ()
longsample_rate ()

"actual" sample rate of session, set by current audioengine rate, pullup/down etc.

...sample_to_timecode_lua (--lua--)
doublesamples_per_timecode_frame ()
intsave_state (std::string, bool, bool, bool)

save session

snapshot_name
name of the session (use an empty string for the current name)
pending
save a 'recovery', not full state (default: false)
switch_to_snapshot
switch to given snapshot after saving (default: false)
template_only
save a session template (default: false)

Returns zero on success

intsave_state (std::string, bool, bool, bool, bool, bool)

save session

snapshot_name
name of the session (use an empty string for the current name)
pending
save a 'recovery', not full state (default: false)
switch_to_snapshot
switch to given snapshot after saving (default: false)
template_only
save a session template (default: false)
for_archive
save only data relevant for session-archive
only_used_assets
skip Sources that are not used, mainly useful with for_archive

Returns zero on success

voidscripts_changed ()
boolsession_range_is_free ()
voidset_control (AutomationControl, double, GroupControlDisposition)
voidset_controls (ControlListPtr, double, GroupControlDisposition)
voidset_dirty ()
voidset_exclusive_input_active (RouteListPtr, bool, bool)
voidset_session_range_is_free (bool)
std::stringsnap_name ()
boolsolo_isolated ()
boolsoloing ()
Sourcesource_by_id (ID)
Stripablestripable_by_id (ID)
TempoMaptempo_map ()
booltimecode_drop_frames ()
longtimecode_frames_per_hour ()
doubletimecode_frames_per_second ()
...timecode_to_sample_lua (--lua--)
Tracktrack_by_diskstream_id (ID)
longtransport_frame ()
booltransport_rolling ()

Returns true if the the transport is actively (audible) rolling. playback speed is not zero, and count-in as well as latency-preroll is complete, and _transport_sample changes every process cycle.

longtransport_sample ()
doubletransport_speed ()
booltransport_state_rolling ()

Returns true if the transport state (TFSM) is rolling. Note: the transport may not yet move if pre-roll or count-in in ongoing.

booltransport_stopped ()

Returns true if the transport state (TFSM) is stopped

booltransport_stopped_or_stopping ()

Returns true if the transport state (TFSM) is stopped or stopping

booltransport_will_roll_forwards ()
StringListunknown_processors ()
VCAManagervca_manager ()
longworst_input_latency ()
longworst_latency_preroll ()
longworst_output_latency ()
longworst_playback_latency ()
longworst_track_latency ()
longworst_route_latency ()

 ARDOUR:SessionConfiguration

C‡: ARDOUR::SessionConfiguration

@@ -3003,7 +5038,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C boolget_auto_play () boolget_auto_return () boolget_count_in () - unsigned intget_destructive_xfade_msecs () boolget_external_sync () boolget_glue_new_markers_to_bars_and_beats () boolget_glue_new_regions_to_bars_and_beats () @@ -3055,7 +5089,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C boolset_auto_play (bool) boolset_auto_return (bool) boolset_count_in (bool) - boolset_destructive_xfade_msecs (unsigned int) boolset_external_sync (bool) boolset_glue_new_markers_to_bars_and_beats (bool) boolset_glue_new_regions_to_bars_and_beats (bool) @@ -3108,7 +5141,6 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C boolauto_play boolauto_return boolcount_in - unsigned intdestructive_xfade_msecs boolexternal_sync boolglue_new_markers_to_bars_and_beats boolglue_new_regions_to_bars_and_beats @@ -3164,7 +5196,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().

@@ -3176,11 +5218,27 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Statefulto_stateful () StatefulDestructibleto_statefuldestructible () +

 ARDOUR:SessionPlaylists

+

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

+
+ + + + + + + + + + + + +
Methods
Playlistby_id (ID)
Playlistby_name (std::string)
PlaylistListget_unused ()
PlaylistListget_used ()
boolisnil ()
unsigned intn_playlists ()
PlaylistListplaylists_for_track (Track)

Returns list of Playlists that are associated with a track

unsigned intregion_use_count (Region)
unsigned intsource_use_count (Source)

 ARDOUR:SideChain

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

is-a: ARDOUR:IOProcessor

-

A mixer strip element (Processor) with 1 or 2 IO elements.

+

A mixer strip element (Processor) with 1 or 2 IO elements.

@@ -3198,24 +5256,37 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + - - + + + + + + + + + + + + + +
Methods
boolisnil ()
Methods
voidactivate ()
boolactive ()
longcapture_offset ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
ChanCountinput_streams ()
ChanCountoutput_streams ()
longinput_latency ()
ChanCountinput_streams ()
longoutput_latency ()
ChanCountoutput_streams ()
longplayback_offset ()
longsignal_latency ()
Cast
Ampto_amp ()
Automatableto_automatable ()
DelayLineto_delayline ()
DiskIOProcessorto_diskioprocessor ()
DiskReaderto_diskreader ()
DiskWriterto_diskwriter ()
PluginInsertto_insert ()
InternalSendto_internalsend ()
IOProcessorto_ioprocessor ()
Latentto_latent ()
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
PolarityProcessorto_polarityprocessor ()
Sendto_send ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -3223,14 +5294,26 @@ 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)
boolassigned_to (VCAManager, VCA)

recursively test for master assignment to given VCA

boolisnil ()
VCAVectormasters (VCAManager)
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)

- + @@ -3244,18 +5327,22 @@ 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 ()
ParameterDescriptordesc ()
doubleget_value ()

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

Get `internal' value

Returns raw value as used for the plugin/processor control port

doublelower ()
doublenormal ()
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.

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.

value
raw numeric value to set
group_override
if and how to propagate value to grouped controls
voidstart_touch (double)
voidstop_touch (bool, double)
voidstop_touch (double)
booltoggled ()
doubleupper ()
boolwritable ()
Cast
Controlto_ctrl ()
SlavableAutomationControlto_slavable ()

Inherited from PBD:Controllable

@@ -3272,7 +5359,7 @@ 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)

@@ -3282,10 +5369,10 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
boolself_soloed ()
boolsoloed ()
-

Inherited from ARDOUR:SlavableAutomationControl,

+

Inherited from ARDOUR:SlavableAutomationControl

- + @@ -3298,18 +5385,22 @@ 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 ()
ParameterDescriptordesc ()
doubleget_value ()

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

Get `internal' value

Returns raw value as used for the plugin/processor control port

doublelower ()
doublenormal ()
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.

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.

value
raw numeric value to set
group_override
if and how to propagate value to grouped controls
voidstart_touch (double)
voidstop_touch (bool, double)
voidstop_touch (double)
booltoggled ()
doubleupper ()
boolwritable ()
Cast
Controlto_ctrl ()
SlavableAutomationControlto_slavable ()

Inherited from PBD:Controllable

@@ -3326,7 +5417,7 @@ 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)

@@ -3335,10 +5426,10 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
boolself_solo_isolated ()
boolsolo_isolated ()
-

Inherited from ARDOUR:SlavableAutomationControl,

+

Inherited from ARDOUR:SlavableAutomationControl

- + @@ -3351,18 +5442,22 @@ 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 ()
ParameterDescriptordesc ()
doubleget_value ()

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

Get `internal' value

Returns raw value as used for the plugin/processor control port

doublelower ()
doublenormal ()
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.

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.

value
raw numeric value to set
group_override
if and how to propagate value to grouped controls
voidstart_touch (double)
voidstop_touch (bool, double)
voidstop_touch (double)
booltoggled ()
doubleupper ()
boolwritable ()
Cast
Controlto_ctrl ()
SlavableAutomationControlto_slavable ()

Inherited from PBD:Controllable

@@ -3379,7 +5474,7 @@ 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)

@@ -3387,10 +5482,10 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
boolisnil ()
boolsolo_safe ()
-

Inherited from ARDOUR:SlavableAutomationControl,

+

Inherited from ARDOUR:SlavableAutomationControl

- + @@ -3403,18 +5498,22 @@ 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 ()
ParameterDescriptordesc ()
doubleget_value ()

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

Get `internal' value

Returns raw value as used for the plugin/processor control port

doublelower ()
doublenormal ()
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.

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.

value
raw numeric value to set
group_override
if and how to propagate value to grouped controls
voidstart_touch (double)
voidstop_touch (bool, double)
voidstop_touch (double)
booltoggled ()
doubleupper ()
boolwritable ()
Cast
Controlto_ctrl ()
SlavableAutomationControlto_slavable ()

Inherited from PBD:Controllable

@@ -3431,14 +5530,14 @@ 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().

- + @@ -3451,9 +5550,10 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
Methods
std::stringancestor_name ()
boolcan_be_analysed ()
booldestructive ()
XrunPositionscaptured_xruns ()
boolempty ()
boolhas_been_analysed ()
boolisnil ()
boolwritable ()
Cast
AudioSourceto_audiosource ()
FileSourceto_filesource ()
MidiSourceto_midisource ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -3471,43 +5571,48 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + +
Methods
std::stringname ()
Methods
LuaTableadd (LuaTable {Source})
Sourceat (unsigned long)
voidclear ()
boolempty ()
LuaIteriter ()
voidpush_back (Source)
unsigned longsize ()
LuaTabletable ()
...to_array (--lua--)

 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().

- - - + + + - - + + - + - - - - - - + + + + + + + + + - + @@ -3519,18 +5624,25 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - - + + + + + + + + +
Methods
AutomationControlcomp_enable_control ()
AutomationControlcomp_makeup_control ()
AutomationControlcomp_mode_control ()
AutomationControlcomp_enable_controllable ()
AutomationControlcomp_makeup_controllable ()
AutomationControlcomp_mode_controllable ()
std::stringcomp_mode_name (unsigned int)
AutomationControlcomp_redux_control ()
AutomationControlcomp_speed_control ()
ReadOnlyControlcomp_redux_controllable ()
AutomationControlcomp_speed_controllable ()
std::stringcomp_speed_name (unsigned int)
AutomationControlcomp_threshold_control ()
AutomationControlcomp_threshold_controllable ()
unsigned inteq_band_cnt ()
std::stringeq_band_name (unsigned int)
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)
AutomationControleq_enable_controllable ()
AutomationControleq_freq_controllable (unsigned int)
AutomationControleq_gain_controllable (unsigned int)
AutomationControleq_q_controllable (unsigned int)
AutomationControleq_shape_controllable (unsigned int)
AutomationControlfilter_enable_controllable (bool)
AutomationControlfilter_freq_controllable (bool)
AutomationControlfilter_slope_controllable (bool)
GainControlgain_control ()
boolis_auditioner ()
boolis_hidden ()
boolis_master ()
boolis_monitor ()
boolis_private_route ()
boolis_selected ()
boolisnil ()
AutomationControlmaster_send_enable_control ()
AutomationControlmaster_send_enable_controllable ()
MonitorProcessormonitor_control ()
MuteControlmute_control ()
AutomationControlpan_azimuth_control ()
PresentationInfopresentation_info_ptr ()
AutomationControlrec_enable_control ()
AutomationControlrec_safe_control ()
AutomationControlsend_enable_control (unsigned int)
AutomationControlsend_level_control (unsigned int)
AutomationControlsend_enable_controllable (unsigned int)
AutomationControlsend_level_controllable (unsigned int)
std::stringsend_name (unsigned int)
AutomationControlsend_pan_azimuth_controllable (unsigned int)
AutomationControlsend_pan_azimuth_enable_controllable (unsigned int)
voidset_presentation_order (unsigned int)
boolslaved ()
boolslaved_to (VCA)
SoloControlsolo_control ()
SoloIsolateControlsolo_isolate_control ()
SoloSafeControlsolo_safe_control ()
GainControltrim_control ()
Cast
Automatableto_automatable ()
Routeto_route ()
Slavableto_slavable ()
VCAto_vca ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -3538,6 +5650,21 @@ 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

@@ -3546,13 +5673,14 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂ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
- doubleframes_per_quarter_note (long) -

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

sr
samplerate
+ doubleend_note_types_per_minute () doublenote_type () doublenote_types_per_minute () doublequarter_notes_per_minute () + doublesamples_per_note_type (long) +

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

sr
samplerate
+ doublesamples_per_quarter_note (long) +

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

sr
samplerate

 ARDOUR:TempoMap

C‡: ARDOUR::TempoMap

@@ -3560,16 +5688,21 @@ 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

- - - - - - + + + + + + + + - - - + + + + + +
Methods
MeterSectionadd_meter (Meter, double, 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)
MeterSectionadd_meter (Meter, BBT_TIME, long, PositionLockStyle)
TempoSectionadd_tempo (Tempo, double, long, PositionLockStyle)
BBT_TIMEbbt_at_sample (long)

Returns the BBT time corresponding to the supplied sample position.

sample
the position in audio samples.

Returns the BBT time at the sample position .

doubleexact_beat_at_sample (long, int)
doubleexact_qn_at_sample (long, int)
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)
TempoSectiontempo_section_at_frame (long)
MeterSectionmeter_section_at_sample (long)
TempoSectionnext_tempo_section (TempoSection)
TempoSectionprevious_tempo_section (TempoSection)
longsamplepos_plus_qn (long, Beats)

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

TempoSectiontempo_section_at_sample (long)

 ARDOUR:TempoSection

C‡: ARDOUR::TempoSection

@@ -3578,31 +5711,46 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

A section of timeline with a certain Tempo.

+ + + + +
Methods
boolactive ()
doublec ()
boolclamped ()
boollocked_to_meter ()
Cast
Tempoto_tempo ()

Inherited from ARDOUR:MetricSection

+ + + + + +
Methods
boolinitial ()
boolis_tempo ()
doubleminute ()
doubleminute_at_sample (long)
doublepulse ()
longsample ()
longsample_at_minute (double)
voidset_pulse (double)

 ARDOUR:Track

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

is-a: ARDOUR:Route

-

A track is an route (bus) with a recordable diskstream and related objects relevant to tracking, playback and editing.

Specifically a track has regions and playlist objects.

+

A track is an route (bus) with a recordable diskstream and related objects relevant to recording, playback and editing.

Specifically a track has a playlist object that describes material to be played from disk, and modifies that object during recording and editing.

- + - + + + + + @@ -3611,6 +5759,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
Methods
Regionbounce (InterThreadInfo&)
Regionbounce (InterThreadInfo&, std::string)

bounce track from session start to session end to new region

itt
asynchronous progress report and cancel

Returns a new audio region (or nil in case of error)

Regionbounce_range (long, long, InterThreadInfo&, Processor, bool)
Regionbounce_range (long, long, InterThreadInfo&, Processor, bool, std::string)

Bounce the given range to a new audio region.

start
start time (in samples)
end
end time (in samples)
itt
asynchronous progress report and cancel
endpoint
the processor to tap the signal off (or nil for the top)
include_endpoint
include the given processor in the bounced audio.

Returns a new audio region (or nil in case of error)

boolbounceable (Processor, bool)

Test if the track can be bounced with the given settings. If sends/inserts/returns are present in the signal path or the given track has no audio outputs bouncing is not possible.

endpoint
the processor to tap the signal off (or nil for the top)
include_endpoint
include the given processor in the bounced audio.

Returns true if the track can be bounced, or false otherwise.

boolcan_record ()
intfind_and_use_playlist (DataType, ID)
boolisnil ()
Playlistplaylist ()
boolset_name (std::string)
intuse_copy_playlist ()
intuse_new_playlist (DataType)
intuse_playlist (DataType, Playlist, bool)
Cast
AudioTrackto_audio_track ()
MidiTrackto_midi_track ()
+ + + @@ -3618,9 +5769,12 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + + + @@ -3631,6 +5785,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -3642,43 +5797,46 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + + -
Methods
boolactive ()
intadd_aux_send (Route, Processor)

Add an aux send to a route.

route
route to send to.
before
Processor to insert before, or 0 to insert at the end.
intadd_foldback_send (Route, bool)
intadd_processor_by_index (Processor, int, ProcessorStreams, bool)

Add a processor to a route such that it ends up with a given index into the visible processors.

index
Index to add the processor at, or -1 to add at the end of the list.

Returns 0 on success, non-0 on failure.

booladd_sidechain (Processor)
std::stringcomment ()
boolcustomize_plugin_insert (Processor, unsigned int, ChanCount, ChanCount)

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

DataTypedata_type ()
IOinput ()
Deliverymain_outs ()

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

MonitorControlmonitoring_control ()
MonitorStatemonitoring_state ()
boolmuted ()
ChanCountn_inputs ()
ChanCountn_outputs ()
PannerShellpanner_shell ()
PeakMeterpeak_meter ()

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

longplayback_latency (bool)
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

intremove_processors (ProcessorList, ProcessorStreams)

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*)
voidset_comment (std::string, void*)
voidset_meter_point (MeterPoint, bool)
voidset_meter_point (MeterPoint)
boolset_strict_io (bool)
longsignal_latency ()
boolsoloed ()
boolstrict_io ()
Processorthe_instrument ()

Return the first processor that accepts has at least one MIDI input and at least one audio output. In the vast majority of cases, this will be "the instrument". This does not preclude other MIDI->audio processors later in the processing chain, but that would be a special case not covered by this utility function.

Amptrim ()
Cast
Automatableto_automatable ()
Trackto_track ()

Inherited from ARDOUR:Stripable

- - - + + + - - + + - + - - - - - - + + + + + + + + + - + @@ -3690,18 +5848,25 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - - + + + + + + + + +
Methods
AutomationControlcomp_enable_control ()
AutomationControlcomp_makeup_control ()
AutomationControlcomp_mode_control ()
AutomationControlcomp_enable_controllable ()
AutomationControlcomp_makeup_controllable ()
AutomationControlcomp_mode_controllable ()
std::stringcomp_mode_name (unsigned int)
AutomationControlcomp_redux_control ()
AutomationControlcomp_speed_control ()
ReadOnlyControlcomp_redux_controllable ()
AutomationControlcomp_speed_controllable ()
std::stringcomp_speed_name (unsigned int)
AutomationControlcomp_threshold_control ()
AutomationControlcomp_threshold_controllable ()
unsigned inteq_band_cnt ()
std::stringeq_band_name (unsigned int)
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)
AutomationControleq_enable_controllable ()
AutomationControleq_freq_controllable (unsigned int)
AutomationControleq_gain_controllable (unsigned int)
AutomationControleq_q_controllable (unsigned int)
AutomationControleq_shape_controllable (unsigned int)
AutomationControlfilter_enable_controllable (bool)
AutomationControlfilter_freq_controllable (bool)
AutomationControlfilter_slope_controllable (bool)
GainControlgain_control ()
boolis_auditioner ()
boolis_hidden ()
boolis_master ()
boolis_monitor ()
boolis_private_route ()
boolis_selected ()
AutomationControlmaster_send_enable_control ()
AutomationControlmaster_send_enable_controllable ()
MonitorProcessormonitor_control ()
MuteControlmute_control ()
AutomationControlpan_azimuth_control ()
PresentationInfopresentation_info_ptr ()
AutomationControlrec_enable_control ()
AutomationControlrec_safe_control ()
AutomationControlsend_enable_control (unsigned int)
AutomationControlsend_level_control (unsigned int)
AutomationControlsend_enable_controllable (unsigned int)
AutomationControlsend_level_controllable (unsigned int)
std::stringsend_name (unsigned int)
AutomationControlsend_pan_azimuth_controllable (unsigned int)
AutomationControlsend_pan_azimuth_enable_controllable (unsigned int)
voidset_presentation_order (unsigned int)
boolslaved ()
boolslaved_to (VCA)
SoloControlsolo_control ()
SoloIsolateControlsolo_isolate_control ()
SoloSafeControlsolo_safe_control ()
GainControltrim_control ()
Cast
Automatableto_automatable ()
Routeto_route ()
Slavableto_slavable ()
VCAto_vca ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

@@ -3723,24 +5888,138 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + - - + + + + + + + + + + + + + +
Methods
std::stringname ()
Methods
voidactivate ()
boolactive ()
longcapture_offset ()
voiddeactivate ()
std::stringdisplay_name ()
booldisplay_to_user ()
ChanCountinput_streams ()
ChanCountoutput_streams ()
longinput_latency ()
ChanCountinput_streams ()
longoutput_latency ()
ChanCountoutput_streams ()
longplayback_offset ()
longsignal_latency ()
Cast
Ampto_amp ()
Automatableto_automatable ()
DelayLineto_delayline ()
DiskIOProcessorto_diskioprocessor ()
DiskReaderto_diskreader ()
DiskWriterto_diskwriter ()
PluginInsertto_insert ()
InternalSendto_internalsend ()
IOProcessorto_ioprocessor ()
Latentto_latent ()
PeakMeterto_meter ()
MonitorProcessorto_monitorprocessor ()
PeakMeterto_peakmeter ()
PluginInsertto_plugininsert ()
PolarityProcessorto_polarityprocessor ()
Sendto_send ()
SideChainto_sidechain ()
UnknownProcessorto_unknownprocessor ()
-

Inherited from ARDOUR:SessionObject

+

Inherited from ARDOUR:SessionObjectPtr

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

 ARDOUR:UserBundle

+

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

+

is-a: ARDOUR:Bundle

+
+

A set of `channels', each of which is associated with 0 or more ports. Each channel has a name which can be anything useful, and a data type. Intended for grouping things like, for example, a buss' outputs. `Channel' is a rather overloaded term but I can't think of a better one right now.

+ + + +
Methods
boolisnil ()
+

Inherited from ARDOUR:Bundle

+ + + + + + + + + + + + + +
Methods
std::stringchannel_name (unsigned int)
ch
Channel.

Returns Channel name.

unsigned intn_total ()
std::stringname ()

Returns Bundle name

ChanCountnchannels ()

Returns Number of channels that this Bundle has

boolports_are_inputs ()
boolports_are_outputs ()
Cast
UserBundleto_userbundle ()
+

 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_controllable ()
AutomationControlcomp_makeup_controllable ()
AutomationControlcomp_mode_controllable ()
std::stringcomp_mode_name (unsigned int)
ReadOnlyControlcomp_redux_controllable ()
AutomationControlcomp_speed_controllable ()
std::stringcomp_speed_name (unsigned int)
AutomationControlcomp_threshold_controllable ()
unsigned inteq_band_cnt ()
std::stringeq_band_name (unsigned int)
AutomationControleq_enable_controllable ()
AutomationControleq_freq_controllable (unsigned int)
AutomationControleq_gain_controllable (unsigned int)
AutomationControleq_q_controllable (unsigned int)
AutomationControleq_shape_controllable (unsigned int)
AutomationControlfilter_enable_controllable (bool)
AutomationControlfilter_freq_controllable (bool)
AutomationControlfilter_slope_controllable (bool)
boolis_auditioner ()
boolis_hidden ()
boolis_master ()
boolis_monitor ()
boolis_private_route ()
boolis_selected ()
AutomationControlmaster_send_enable_controllable ()
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_controllable (unsigned int)
AutomationControlsend_level_controllable (unsigned int)
std::stringsend_name (unsigned int)
AutomationControlsend_pan_azimuth_controllable (unsigned int)
AutomationControlsend_pan_azimuth_enable_controllable (unsigned int)
voidset_presentation_order (unsigned int)
boolslaved ()
boolslaved_to (VCA)
SoloIsolateControlsolo_isolate_control ()
SoloSafeControlsolo_safe_control ()
GainControltrim_control ()
Cast
Automatableto_automatable ()
Routeto_route ()
Slavableto_slavable ()
VCAto_vca ()
+

Inherited from ARDOUR:SessionObjectPtr

@@ -3748,6 +6027,56 @@ 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
VCAListcreate_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:VCAVector

+

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

+
+ + + + + + + + + +
Constructor
ARDOUR.VCAVector ()
Methods
VCAat (unsigned long)
boolempty ()
LuaIteriter ()
unsigned longsize ()
LuaTabletable ()

 ARDOUR:WeakAudioSourceList

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

@@ -3755,9 +6084,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂARDOUR.WeakAudioSourceList () Methods - AudioSourceback () + AudioSourceback () boolempty () - AudioSourcefront () + AudioSourcefront () LuaIteriter () voidreverse () unsigned longsize () @@ -3770,9 +6099,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂARDOUR.WeakRouteList () Methods - Routeback () + Routeback () boolempty () - Routefront () + Routefront () LuaIteriter () voidreverse () unsigned longsize () @@ -3785,20 +6114,42 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂARDOUR.WeakSourceList () Methods - Sourceback () + Sourceback () boolempty () - Sourcefront () + Sourcefront () LuaIteriter () voidreverse () unsigned longsize () LuaTabletable () +

 ARDOUR:XrunPositions

+

C‡: std::vector<long >

+
+ + + + + + + + + + + + + + +
Constructor
ARDOUR.XrunPositions ()
ARDOUR.XrunPositions ()
Methods
LuaTableadd (LuaTable {long})
longat (unsigned long)
voidclear ()
boolempty ()
LuaIteriter ()
voidpush_back (long)
unsigned longsize ()
LuaTabletable ()
...to_array (--lua--)

 ArdourUI

+ + + +
Methods
LuaTableactionlist ()
UIConfigurationconfig ()
std::stringhttp_get (std::string)
voidmixer_screenshot (std::string)
ProcessorVectorprocessor_selection ()
unsigned inttranslate_order (InsertAt)

 ArdourUI:ArdourMarker

C‡: ArdourMarker

@@ -3808,7 +6159,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods std::stringname () longposition () - Typetype () + Type_type ()

 ArdourUI:ArdourMarkerList

C‡: std::list<ArdourMarker* >

@@ -3817,12 +6168,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂArdourUI.ArdourMarkerList () Methods - LuaTableadd (ArdourMarker* ) ArdourMarkerback () boolempty () ArdourMarkerfront () LuaIteriter () - voidpush_back (ArdourMarker) + ...push_back (--lua--) voidreverse () unsigned longsize () LuaTabletable () @@ -3839,21 +6189,21 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

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.

- + + + - - - + - + @@ -3866,30 +6216,35 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + - + - - + + + - + + + + @@ -3912,6 +6267,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C + @@ -3920,18 +6276,15 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - - - + + - - @@ -3941,6 +6294,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C +
Methods
voidaccess_action (std::string, std::string)
voidaccess_action (std::string, std::string)
voidadd_location_from_playhead_cursor ()
voidadd_location_mark (long)
TrackViewListaxis_views_from_routes (RouteListPtr)
voidcenter_screen (long)
voidclear_grouped_playlists (RouteUI)
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)

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 , the audition will be cancelled. Otherwise an audition of r will start.

r
Region to consider auditioning
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, bool)

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_cut_buffer ()
unsigned intget_grid_beat_divisions (long)
LuaTable(Beats, ...)get_grid_type_as_beats (bool&, long)
LuaTable(Beats, ...)get_grid_type_as_beats (bool&, long)
LuaTable(long, ...)get_nudge_distance (long, long&)
longget_paste_offset (long, unsigned int, long)
LuaTable(...)get_pointer_position (double&, double&)
RouteTimeAxisViewget_route_view_by_route_id (ID)
Selectionget_selection ()
LuaTable(bool, ...)get_selection_extents (long&, long&)
boolget_smart_mode ()
TrackViewListget_track_views ()
StripableTimeAxisViewget_stripable_time_axis_by_id (ID)
TrackViewListget_track_views ()
intget_videotl_bar_height ()
doubleget_y_origin ()
ZoomFocusget_zoom_focus ()
voidgoto_nth_marker (int)
GridTypegrid_type ()
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_playlists_for_all_tracks (bool)
voidnew_playlists_for_armed_tracks (bool)
voidnew_playlists_for_grouped_tracks (RouteUI, bool)
voidnew_playlists_for_selected_tracks (bool)
voidnew_region_from_selection ()
voidoverride_visible_track_count ()
longpixel_to_sample (double)
voidscroll_tracks_up_line ()
boolscroll_up_one_track (bool)
voidselect_all_tracks ()
voidselect_all_visible_lanes ()
voidseparate_region_from_selection ()
voidset_follow_playhead (bool, bool)

Set whether the editor should follow the playhead.

yn
true to follow playhead, otherwise false.
catch_up
true to reset the editor view to show the playhead (if yn == true), otherwise false.

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 ()
voidstem_export ()

Open stem export dialog

voidtoggle_xjadeo_proc (int)
voidundo (unsigned int)

Undo some transactions.

n
Number of transactions to undo.
voidupdate_grid ()
doublevisible_canvas_height ()

 ArdourUI:MarkerSelection

@@ -3953,12 +6307,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂArdourUI.ArdourMarkerList () Methods - LuaTableadd (ArdourMarker* ) ArdourMarkerback () boolempty () ArdourMarkerfront () LuaIteriter () - voidpush_back (ArdourMarker) + ...push_back (--lua--) voidreverse () unsigned longsize () LuaTabletable () @@ -3970,7 +6323,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

Class to represent list of selected regions.

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

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
Methods
longend_frame ()
longend_sample ()
unsigned longn_midi_regions ()
RegionListregionlist ()
longstart ()
+
Cast
StripableTimeAxisViewto_stripabletimeaxisview ()
TimeAxisViewto_timeaxisview ()

 ArdourUI:RouteUI

@@ -4029,18 +6383,46 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C boolempty () Selectablefront () LuaIteriter () - voidpush_back (Selectable) + ...push_back (--lua--) voidreverse () unsigned longsize () LuaTabletable () voidunique () -

 ArdourUI:TimeAxisView

+

 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.

+

Inherited from ArdourUI:TimeAxisView

+ + + + + + + + + + +
Methods
unsigned intcurrent_height ()
unsigned inteffective_height ()

Returns effective height (taking children into account) in canvas units, or 0 if this TimeAxisView has not yet been shown

intorder ()

Returns index of this TimeAxisView within its parent

voidset_height (unsigned int, TrackHeightMode)
doubley_position ()

Returns y position, or -1 if hidden

+

 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.

+ + + + + + + + + + +
Methods
unsigned intcurrent_height ()
unsigned inteffective_height ()

Returns effective height (taking children into account) in canvas units, or 0 if this TimeAxisView has not yet been shown

intorder ()

Returns index of this TimeAxisView within its parent

voidset_height (unsigned int, TrackHeightMode)
doubley_position ()

Returns y position, or -1 if hidden

 ArdourUI:TimeAxisViewItem

C‡: TimeAxisViewItem

is-a: ArdourUI:Selectable

@@ -4053,18 +6435,18 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C
- - - + + +
Methods
longend_frame ()
longlength ()
longstart ()
longend_sample ()
longlength ()
longstart ()

Inherited from ARDOUR:AudioRangeList

- + - + @@ -4080,46 +6462,19 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C -
Constructor
ARDOUR.AudioRangeList ()
Methods
AudioRangeback ()
AudioRangeback ()
boolempty ()
AudioRangefront ()
AudioRangefront ()
LuaIteriter ()
voidreverse ()
unsigned longsize ()
Methods
boolcontains (TimeAxisView)
RouteListroutelist ()
-

Inherited from ArdourUI:TrackViewStdList

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

 ArdourUI:TrackViewList

C‡: TrackViewList

-

is-a: ArdourUI:TrackViewStdList

+ +
Methods
boolcontains (TimeAxisView)
RouteListroutelist ()
Cast
TrackViewStdListto_tav_list ()
-

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* >

@@ -4131,11 +6486,359 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C boolempty () TimeAxisViewfront () LuaIteriter () - voidpush_back (TimeAxisView) voidreverse () unsigned longsize () LuaTabletable () - voidunique () + +

 ArdourUI:UIConfiguration

+

C‡: UIConfiguration

+
+

Base class for objects with saveable and undoable state

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Methods
unsigned intget_action_table_columns ()
boolget_all_floating_windows_are_dialogs ()
boolget_allow_non_quarter_pulse ()
boolget_automation_edit_cancels_auto_hide ()
boolget_autoplay_files ()
boolget_autoscroll_editor ()
boolget_blink_alert_indicators ()
boolget_blink_rec_arm ()
boolget_boxy_buttons ()
boolget_buggy_gradients ()
boolget_cairo_image_surface ()
boolget_check_announcements ()
unsigned longget_clock_display_limit ()
std::stringget_color_file ()
boolget_color_regions_using_track_color ()
std::stringget_default_bindings ()
boolget_default_narrow_ms ()
boolget_draggable_playhead ()
floatget_draggable_playhead_speed ()
boolget_editor_stereo_only_meters ()
floatget_extra_ui_extents_time ()
boolget_flat_buttons ()
boolget_floating_monitor_section ()
boolget_follow_edits ()
intget_font_scale ()
boolget_grid_follows_internal ()
boolget_hide_splash_screen ()
boolget_hiding_groups_deactivates_groups ()
std::stringget_icon_set ()
InputMeterLayoutget_input_meter_layout ()
boolget_input_meter_scopes ()
std::stringget_keyboard_layout ()
std::stringget_keyboard_layout_name ()
boolget_link_region_and_track_selection ()
unsigned intget_lock_gui_after_seconds ()
unsigned intget_max_inline_controls ()
intget_max_plugin_chart ()
intget_max_plugin_recent ()
floatget_meter_hold ()
MeterLineUpget_meter_line_up_din ()
MeterLineUpget_meter_line_up_level ()
floatget_meter_peak ()
boolget_meter_style_led ()
VUMeterStandardget_meter_vu_standard ()
std::stringget_mixer_strip_visibility ()
boolget_name_new_markers ()
boolget_never_display_periodic_midi ()
boolget_new_automation_points_on_lane ()
boolget_no_new_session_dialog ()
boolget_only_copy_imported_files ()
boolget_open_gui_after_adding_plugin ()
boolget_prefer_inline_over_gui ()
boolget_preview_video_frame_on_drag ()
ClockDeltaModeget_primary_clock_delta_mode ()
intget_recent_session_sort ()
boolget_rubberbanding_snaps_to_grid ()
unsigned intget_ruler_granularity ()
boolget_rulers_follow_grid ()
boolget_save_export_analysis_image ()
boolget_save_export_mixer_screenshot ()
ScreenSaverModeget_screen_saver_mode ()
ClockDeltaModeget_secondary_clock_delta_mode ()
boolget_show_editor_meter ()
boolget_show_grids_ruler ()
boolget_show_inline_display_by_default ()
boolget_show_mini_timeline ()
boolget_show_name_highlight ()
boolget_show_plugin_scan_window ()
boolget_show_region_cue_markers ()
boolget_show_region_gain ()
boolget_show_region_name ()
boolget_show_region_xrun_markers ()
boolget_show_secondary_clock ()
boolget_show_snapped_cursor ()
boolget_show_toolbar_latency ()
boolget_show_toolbar_monitor_info ()
boolget_show_toolbar_monitoring ()
boolget_show_toolbar_recpunch ()
boolget_show_toolbar_selclock ()
boolget_show_track_meters ()
boolget_show_waveform_clipping ()
boolget_show_waveforms ()
boolget_show_waveforms_while_recording ()
boolget_show_zoom_tools ()
unsigned intget_snap_threshold ()
boolget_snap_to_grid ()
boolget_snap_to_marks ()
boolget_snap_to_region_end ()
boolget_snap_to_region_start ()
boolget_snap_to_region_sync ()
boolget_sound_midi_notes ()
std::stringget_stripable_color_palette ()
boolget_super_rapid_clock_update ()
intget_time_axis_name_ellipsize_mode ()
floatget_timeline_item_gradient_depth ()
boolget_transients_follow_front ()
std::stringget_ui_font_family ()
std::stringget_ui_rc_file ()
boolget_update_editor_during_summary_drag ()
boolget_use_double_click_to_zoom_to_selection ()
boolget_use_mouse_position_as_zoom_focus_on_scroll ()
boolget_use_note_bars_for_velocity ()
boolget_use_note_color_for_velocity ()
boolget_use_time_rulers_to_zoom_with_vertical_drag ()
boolget_use_tooltips ()
boolget_use_wm_visibility ()
unsigned intget_vertical_region_gap ()
std::stringget_vkeybd_layout ()
unsigned longget_waveform_cache_size ()
doubleget_waveform_clip_level ()
floatget_waveform_gradient_depth ()
WaveformScaleget_waveform_scale ()
WaveformShapeget_waveform_shape ()
boolget_widget_prelight ()
boolset_action_table_columns (unsigned int)
boolset_all_floating_windows_are_dialogs (bool)
boolset_allow_non_quarter_pulse (bool)
boolset_automation_edit_cancels_auto_hide (bool)
boolset_autoplay_files (bool)
boolset_autoscroll_editor (bool)
boolset_blink_alert_indicators (bool)
boolset_blink_rec_arm (bool)
boolset_boxy_buttons (bool)
boolset_buggy_gradients (bool)
boolset_cairo_image_surface (bool)
boolset_check_announcements (bool)
boolset_clock_display_limit (unsigned long)
boolset_color_file (std::string)
boolset_color_regions_using_track_color (bool)
boolset_default_bindings (std::string)
boolset_default_narrow_ms (bool)
boolset_draggable_playhead (bool)
boolset_draggable_playhead_speed (float)
boolset_editor_stereo_only_meters (bool)
boolset_extra_ui_extents_time (float)
boolset_flat_buttons (bool)
boolset_floating_monitor_section (bool)
boolset_follow_edits (bool)
boolset_font_scale (int)
boolset_grid_follows_internal (bool)
boolset_hide_splash_screen (bool)
boolset_hiding_groups_deactivates_groups (bool)
boolset_icon_set (std::string)
boolset_input_meter_layout (InputMeterLayout)
boolset_input_meter_scopes (bool)
boolset_keyboard_layout (std::string)
boolset_keyboard_layout_name (std::string)
boolset_link_region_and_track_selection (bool)
boolset_lock_gui_after_seconds (unsigned int)
boolset_max_inline_controls (unsigned int)
boolset_max_plugin_chart (int)
boolset_max_plugin_recent (int)
boolset_meter_hold (float)
boolset_meter_line_up_din (MeterLineUp)
boolset_meter_line_up_level (MeterLineUp)
boolset_meter_peak (float)
boolset_meter_style_led (bool)
boolset_meter_vu_standard (VUMeterStandard)
boolset_mixer_strip_visibility (std::string)
boolset_name_new_markers (bool)
boolset_never_display_periodic_midi (bool)
boolset_new_automation_points_on_lane (bool)
boolset_no_new_session_dialog (bool)
boolset_only_copy_imported_files (bool)
boolset_open_gui_after_adding_plugin (bool)
boolset_prefer_inline_over_gui (bool)
boolset_preview_video_frame_on_drag (bool)
boolset_primary_clock_delta_mode (ClockDeltaMode)
boolset_recent_session_sort (int)
boolset_rubberbanding_snaps_to_grid (bool)
boolset_ruler_granularity (unsigned int)
boolset_rulers_follow_grid (bool)
boolset_save_export_analysis_image (bool)
boolset_save_export_mixer_screenshot (bool)
boolset_screen_saver_mode (ScreenSaverMode)
boolset_secondary_clock_delta_mode (ClockDeltaMode)
boolset_show_editor_meter (bool)
boolset_show_grids_ruler (bool)
boolset_show_inline_display_by_default (bool)
boolset_show_mini_timeline (bool)
boolset_show_name_highlight (bool)
boolset_show_plugin_scan_window (bool)
boolset_show_region_cue_markers (bool)
boolset_show_region_gain (bool)
boolset_show_region_name (bool)
boolset_show_region_xrun_markers (bool)
boolset_show_secondary_clock (bool)
boolset_show_snapped_cursor (bool)
boolset_show_toolbar_latency (bool)
boolset_show_toolbar_monitor_info (bool)
boolset_show_toolbar_monitoring (bool)
boolset_show_toolbar_recpunch (bool)
boolset_show_toolbar_selclock (bool)
boolset_show_track_meters (bool)
boolset_show_waveform_clipping (bool)
boolset_show_waveforms (bool)
boolset_show_waveforms_while_recording (bool)
boolset_show_zoom_tools (bool)
boolset_snap_threshold (unsigned int)
boolset_snap_to_grid (bool)
boolset_snap_to_marks (bool)
boolset_snap_to_region_end (bool)
boolset_snap_to_region_start (bool)
boolset_snap_to_region_sync (bool)
boolset_sound_midi_notes (bool)
boolset_stripable_color_palette (std::string)
boolset_super_rapid_clock_update (bool)
boolset_time_axis_name_ellipsize_mode (int)
boolset_timeline_item_gradient_depth (float)
boolset_transients_follow_front (bool)
boolset_ui_font_family (std::string)
boolset_ui_rc_file (std::string)
boolset_update_editor_during_summary_drag (bool)
boolset_use_double_click_to_zoom_to_selection (bool)
boolset_use_mouse_position_as_zoom_focus_on_scroll (bool)
boolset_use_note_bars_for_velocity (bool)
boolset_use_note_color_for_velocity (bool)
boolset_use_time_rulers_to_zoom_with_vertical_drag (bool)
boolset_use_tooltips (bool)
boolset_use_wm_visibility (bool)
boolset_vertical_region_gap (unsigned int)
boolset_vkeybd_layout (std::string)
boolset_waveform_cache_size (unsigned long)
boolset_waveform_clip_level (double)
boolset_waveform_gradient_depth (float)
boolset_waveform_scale (WaveformScale)
boolset_waveform_shape (WaveformShape)
boolset_widget_prelight (bool)
Properties
unsigned intaction_table_columns
boolall_floating_windows_are_dialogs
boolallow_non_quarter_pulse
boolautomation_edit_cancels_auto_hide
boolautoplay_files
boolautoscroll_editor
boolblink_alert_indicators
boolblink_rec_arm
boolboxy_buttons
boolbuggy_gradients
boolcairo_image_surface
boolcheck_announcements
unsigned longclock_display_limit
std::stringcolor_file
boolcolor_regions_using_track_color
std::stringdefault_bindings
booldefault_narrow_ms
booldraggable_playhead
floatdraggable_playhead_speed
booleditor_stereo_only_meters
floatextra_ui_extents_time
boolflat_buttons
boolfloating_monitor_section
boolfollow_edits
intfont_scale
boolgrid_follows_internal
boolhide_splash_screen
boolhiding_groups_deactivates_groups
std::stringicon_set
ARDOUR.InputMeterLayoutinput_meter_layout
boolinput_meter_scopes
std::stringkeyboard_layout
std::stringkeyboard_layout_name
boollink_region_and_track_selection
unsigned intlock_gui_after_seconds
unsigned intmax_inline_controls
intmax_plugin_chart
intmax_plugin_recent
floatmeter_hold
ARDOUR.MeterLineUpmeter_line_up_din
ARDOUR.MeterLineUpmeter_line_up_level
floatmeter_peak
boolmeter_style_led
ARDOUR.VUMeterStandardmeter_vu_standard
std::stringmixer_strip_visibility
boolname_new_markers
boolnever_display_periodic_midi
boolnew_automation_points_on_lane
boolno_new_session_dialog
boolonly_copy_imported_files
boolopen_gui_after_adding_plugin
boolprefer_inline_over_gui
boolpreview_video_frame_on_drag
ARDOUR.ClockDeltaModeprimary_clock_delta_mode
intrecent_session_sort
boolrubberbanding_snaps_to_grid
unsigned intruler_granularity
boolrulers_follow_grid
boolsave_export_analysis_image
boolsave_export_mixer_screenshot
ARDOUR.ScreenSaverModescreen_saver_mode
ARDOUR.ClockDeltaModesecondary_clock_delta_mode
boolshow_editor_meter
boolshow_grids_ruler
boolshow_inline_display_by_default
boolshow_mini_timeline
boolshow_name_highlight
boolshow_plugin_scan_window
boolshow_region_cue_markers
boolshow_region_gain
boolshow_region_name
boolshow_region_xrun_markers
boolshow_secondary_clock
boolshow_snapped_cursor
boolshow_toolbar_latency
boolshow_toolbar_monitor_info
boolshow_toolbar_monitoring
boolshow_toolbar_recpunch
boolshow_toolbar_selclock
boolshow_track_meters
boolshow_waveform_clipping
boolshow_waveforms
boolshow_waveforms_while_recording
boolshow_zoom_tools
unsigned intsnap_threshold
boolsnap_to_grid
boolsnap_to_marks
boolsnap_to_region_end
boolsnap_to_region_start
boolsnap_to_region_sync
boolsound_midi_notes
std::stringstripable_color_palette
boolsuper_rapid_clock_update
inttime_axis_name_ellipsize_mode
floattimeline_item_gradient_depth
booltransients_follow_front
std::stringui_font_family
std::stringui_rc_file
boolupdate_editor_during_summary_drag
booluse_double_click_to_zoom_to_selection
booluse_mouse_position_as_zoom_focus_on_scroll
booluse_note_bars_for_velocity
booluse_note_color_for_velocity
booluse_time_rulers_to_zoom_with_vertical_drag
booluse_tooltips
booluse_wm_visibility
unsigned intvertical_region_gap
std::stringvkeybd_layout
unsigned longwaveform_cache_size
doublewaveform_clip_level
floatwaveform_gradient_depth
ARDOUR.WaveformScalewaveform_scale
ARDOUR.WaveformShapewaveform_shape
boolwidget_prelight

 C:ByteArray

C‡: unsigned char*

@@ -4147,6 +6850,34 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C unsigned char*offset (unsigned int) voidset_table (LuaTable {unsigned char}) +

 C:ByteVector

+

C‡: std::vector<unsigned char >

+
+ + + + + + + + + + + + + + +
Constructor
C.ByteVector ()
C.ByteVector ()
Methods
LuaTableadd (LuaTable {unsigned char})
unsigned charat (unsigned long)
voidclear ()
boolempty ()
LuaIteriter ()
voidpush_back (unsigned char)
unsigned longsize ()
LuaTabletable ()
...to_array (--lua--)
+

 C:DoubleArray

+

C‡: double*

+
+ + + + + + +
Methods
LuaMetaTablearray ()
LuaTableget_table ()
DoubleArrayoffset (unsigned int)
voidset_table (LuaTable {double})

 C:DoubleVector

C‡: std::vector<double >

@@ -4157,11 +6888,13 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods LuaTableadd (LuaTable {double}) doubleat (unsigned long) + voidclear () boolempty () LuaIteriter () voidpush_back (double) unsigned longsize () LuaTabletable () + ...to_array (--lua--)

 C:FloatArray

C‡: float*

@@ -4183,11 +6916,13 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods LuaTableadd (LuaTable {FloatArray}) FloatArrayat (unsigned long) + voidclear () boolempty () LuaIteriter () voidpush_back (FloatArray) unsigned longsize () LuaTabletable () + ...to_array (--lua--)

 C:FloatVector

C‡: std::vector<float >

@@ -4199,11 +6934,31 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods LuaTableadd (LuaTable {float}) floatat (unsigned long) + voidclear () boolempty () LuaIteriter () voidpush_back (float) unsigned longsize () LuaTabletable () + ...to_array (--lua--) + +

 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*

@@ -4223,9 +6978,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 () + std::stringback () boolempty () - std::stringfront () + std::stringfront () LuaIteriter () voidpush_back (std::string) voidreverse () @@ -4243,11 +6998,13 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods LuaTableadd (LuaTable {std::string}) std::stringat (unsigned long) + voidclear () boolempty () LuaIteriter () voidpush_back (std::string) unsigned longsize () LuaTabletable () + ...to_array (--lua--)

 Cairo:Context

C‡: Cairo::Context

@@ -4353,6 +7110,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C intget_width ()

Gets the width of the ImageSurface in pixels

voidset_as_source (Context, int, int) +

Set this surface as source for another context. This allows to draw this surface

 Cairo:PangoLayout

C‡: LuaCairo::PangoLayout

@@ -4361,6 +7119,8 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂCairo.PangoLayout (Context, std::string) Methods + Alignmentget_alignment () +

Gets the alignment for the layout: how partial lines are positioned within the horizontal space available.

Returns The alignment.

EllipsizeModeget_ellipsize ()

Gets the type of ellipsization being performed for layout. See set_ellipsize()

Use is_ellipsized() to query whether any paragraphs were actually ellipsized.

Returns The current ellipsization mode for layout.

...get_pixel_size (--lua--) @@ -4374,28 +7134,30 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C 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_alignment (Alignment) +

Sets the alignment for the layout: how partial lines are positioned within the horizontal space available.

alignment
The alignment.
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)

Sets the layout text and attribute list from marked-up text (see markup format). Replaces the current text and attribute list.

markup
Some marked-up text.
voidset_text (std::string)

Set the text of the layout.

text
The text for the layout.
- voidset_width (int) + voidset_width (float)

Sets the width to which the lines of the Pango::Layout should wrap or ellipsized. The default value is -1: no width set.

width
The desired width in Pango units, or -1 to indicate that no wrapping or ellipsization should be performed.
voidset_wrap (WrapMode)

Sets the wrap mode; the wrap mode only has effect if a width is set on the layout with set_width(). To turn off wrapping, set the width to -1.

wrap
The wrap mode.
voidshow_in_cairo_context (Context) +

Draws a Layout in the specified Cairo context. The top-left corner of the Layout will be drawn at the current point of the cairo context.

context
A Cairo context.

 Evoral:Beats

-

C‡: Evoral::Beats

+

C‡: Temporal::Beats

Musical time in beats.

- - +
Constructor
Evoral.Beats (double)

Create from a real number of beats.

Methods
doubleto_double ()
doubleto_double ()

 Evoral:Control

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

@@ -4406,6 +7168,15 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C boolisnil () ControlListlist () +

 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 >

@@ -4413,25 +7184,34 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C - + - - - + + + + + + + + + - - - - + + + + + - + - + + +
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

Add an event to this list.

This method is intended to write automation in realtime. If the transport is stopped, guard-points will be added regardless of parameter with_guards.

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)

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

where
absolute time in samples

Returns parameter value

Remove all events in the given time range from this list.

start
start of range (inclusive) in audio samples
end
end of range (inclusive) in audio samples
voidclear_list ()
booleditor_add (double, double, bool)

Add an event to this list.

This method is intended for making manual changes from the GUI. An event will only be created if no other event exists at the given time.

when
absolute time in samples
value
parameter value
with_guards
if true, add guard-points

Returns true if an event was added.

doubleeval (double)

Queries the event value at the given time (takes a read-lock, not safe while writing automation).

where
absolute time in samples

Returns parameter value

EventListevents ()

Returns the list of events

boolin_write_pass ()

Returns true if transport is running and this list is in write mode

InterpolationStyleinterpolation ()

query interpolation style of the automation data

Returns Interpolation Style

boolisnil ()
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

voidset_interpolation (InterpolationStyle)

set the interpolation style of the automation data

is
interpolation style
LuaTable(double, ...)rt_safe_eval (double, bool&)

Realtime safe version of eval(). This may fail if a read-lock cannot be taken.

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

Returns parameter value

boolset_interpolation (InterpolationStyle)

Sets 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

unsigned longsize ()
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

Remove all events after the given time from this list.

last_coordinate
time in audio samples of the last event to keep
voidtruncate_start (double)

truncate the event list to the given time

overall_length
overall length

Remove all events up to to the given time from this list.

overall_length
overall length in audio samples
Cast
AutomationListto_automationlist ()

 Evoral:ControlSet

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

@@ -4453,20 +7233,20 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C voidset_type (unsigned char) unsigned intsize () longtime () - unsigned chartype () + unsigned char_type ()

 Evoral:NotePtr

-

C‡: boost::shared_ptr< Evoral::Note<Evoral::Beats> >, boost::weak_ptr< Evoral::Note<Evoral::Beats> >

+

C‡: boost::shared_ptr< Evoral::Note<Temporal::Beats> >, boost::weak_ptr< Evoral::Note<Temporal::Beats> >

- + - - - - - + + + + +
Methods
unsigned charchannel ()
unsigned charchannel ()
boolisnil ()
Beatslength ()
unsigned charnote ()
unsigned charoff_velocity ()
Beatstime ()
unsigned charvelocity ()
Beatslength ()
unsigned charnote ()
unsigned charoff_velocity ()
Beatstime ()
unsigned charvelocity ()

 Evoral:Parameter

C‡: Evoral::Parameter

@@ -4478,7 +7258,7 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods unsigned charchannel () unsigned intid () - unsigned inttype () + unsigned int_type ()

 Evoral:ParameterDescriptor

C‡: Evoral::ParameterDescriptor

@@ -4488,6 +7268,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 @@ -4508,29 +7290,61 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C longto

 Evoral:Sequence

-

C‡: boost::shared_ptr< Evoral::Sequence<Evoral::Beats> >, boost::weak_ptr< Evoral::Sequence<Evoral::Beats> >

+

C‡: boost::shared_ptr< Evoral::Sequence<Temporal::Beats> >, boost::weak_ptr< Evoral::Sequence<Temporal::Beats> >

is-a: Evoral:ControlSet

Methods
boolisnil ()
+

 LuaDialog:Dialog

+

C‡: LuaDialog::Dialog

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

 LuaDialog:Message

+

C‡: LuaDialog::Message

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

 LuaDialog:ProgressWindow

+

C‡: LuaDialog::ProgressWindow

+
+

Synchronous GUI-thread Progress dialog

This shows a modal progress dialog with an optional "Cancel" button. Since it runs in the UI thread the script needs to regularly call progress(), as well as close the dialog, as needed.

+ + + + + + + + + +
Constructor
LuaDialog.ProgressWindow (std::string, bool)
Methods
boolcanceled ()
voiddone ()

Close and hide the dialog.

This is required to be at the end, since the dialog is modal and prevents other UI operations while visible.

boolprogress (float, std::string)

Report progress and update GUI.

prog
progress in range 0..1 show a bar, values outside this range show a pulsing dialog.
text
optional text to show on the progress-bar

Returns true if cancel was clicked, false otherwise

 LuaSignal:Set

-

C‡: std::bitset<47ul>

+

C‡: std::bitset<49ul>

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

 PBD

@@ -4575,10 +7389,11 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C

C‡: boost::shared_ptr< PBD::Controllable >, boost::weak_ptr< PBD::Controllable >

is-a: PBD:StatefulDestructiblePtr

-

This is a pure virtual class to represent a scalar control.

Note that it contains no storage/state for the controllable thing that it represents. Derived classes must provide set_value()/get_value() methods, which will involve (somehow) an actual location to store the value.

In essence, this is an interface, not a class.

Without overriding upper() and lower(), a derived class will function as a control whose value can range between 0 and 1.0.

+

This is a pure virtual class to represent a scalar control.

Note that it contains no storage/state for the controllable thing that it represents. Derived classes must provide set_value()/get_value() methods, which will involve (somehow) an actual location to store the value.

In essence, this is an interface, not a class.

Without overriding upper() and lower(), a derived class will function as a control whose value can range between 0 and 1.0.

We express Controllable values in one of three ways: 1. `user' --- as presented to the user (e.g. dB, Hz, etc.) 2. `interface' --- as used in some cases for the UI representation (in order to make controls behave logarithmically). 3. `internal' --- as passed to a processor, track, plugin, or whatever.

Note that in some cases user and internal may be the same (and interface different) e.g. frequency, which is presented to the user and passed to the processor in linear terms, but which needs log scaling in the interface.

In other cases, user and interface may be the same (and internal different) e.g. gain, which is presented to the user in log terms (dB) but passed to the processor as a linear quantity.

+
Methods
doubleget_value ()

Get `internal' value

Returns raw value as used for the plugin/processor control port

boolisnil ()
std::stringname ()
@@ -4610,11 +7425,13 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods LuaTableadd (LuaTable {ID}) IDat (unsigned long) + voidclear () boolempty () LuaIteriter () voidpush_back (ID) unsigned longsize () LuaTabletable () + ...to_array (--lua--)

 PBD:RingBuffer8

C‡: PBD::RingBufferNPT<unsigned char>

@@ -4757,9 +7574,9 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Constructor ℂTimecode.BBT_TIME (unsigned int, unsigned int, unsigned int) Data Members - unsigned intbars - unsigned intbeats - unsigned intticks + intbars + intbeats + intticks

 Timecode:Time

C‡: Timecode::Time

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

Whether this Time uses dropframe Timecode

unsigned intframes -

Timecode frames (not audio samples)

+

Timecode frames (not audio frames)

unsigned inthours unsigned intminutes boolnegative @@ -4865,11 +7682,13 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods LuaTableadd (LuaTable {Feature}) Featureat (unsigned long) + voidclear () boolempty () LuaIteriter () voidpush_back (Feature) unsigned longsize () LuaTabletable () + ...to_array (--lua--)

 Vamp:Plugin:FeatureSet

C‡: std::map<int, std::vector<Vamp::Plugin::Feature > > > >

@@ -4931,11 +7750,13 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods LuaTableadd (LuaTable {OutputDescriptor}) OutputDescriptorat (unsigned long) + voidclear () boolempty () LuaIteriter () voidpush_back (OutputDescriptor) unsigned longsize () LuaTabletable () + ...to_array (--lua--)

 Vamp:PluginBase

C‡: Vamp::PluginBase

@@ -5006,11 +7827,13 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C Methods LuaTableadd (LuaTable {ParameterDescriptor}) ParameterDescriptorat (unsigned long) + voidclear () boolempty () LuaIteriter () voidpush_back (ParameterDescriptor) unsigned longsize () LuaTabletable () + ...to_array (--lua--)

 Vamp:RealTime

C‡: Vamp::RealTime

@@ -5030,6 +7853,13 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to C intnsec intsec +

 os

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

Enum/Constants

 PBD.Controllable.GroupControlDisposition

+

 Evoral.EventType

+

 Vamp.Plugin.InputDomain

+

 ARDOUR

+

 ARDOUR.ChanMapping

 ARDOUR.PresentationInfo.Flag

-

 ARDOUR.AutoStyle

-

 ARDOUR.AutoState

 ARDOUR.AutomationType

+

 ARDOUR.MonitorState

+

 ARDOUR.NoteMode

+

 ARDOUR.MidiTempoMapDisposition

+ +

 ARDOUR.RegionEquivalence

+

 ARDOUR.RegionPoint

-
Ardour 5.8-155-g51d43c6e1  -  Thu, 16 Mar 2017 21:47:44 +0100
+
Ardour 6.9  -  Fri, 13 Aug 2021 15:53:36 +0200