diff --git a/_manual/24_lua-scripting/02_class_reference.html b/_manual/24_lua-scripting/02_class_reference.html index 66aa4721..67803b56 100644 --- a/_manual/24_lua-scripting/02_class_reference.html +++ b/_manual/24_lua-scripting/02_class_reference.html @@ -8,6 +8,7 @@ title: Class Reference This documention is far from complete may be inaccurate and subject to change.
+Methods | ||
---|---|---|
void | apply_gain (float, long) | |
bool | check_silence (unsigned int, unsigned int&) | |
check buffer for silence
Returns true if all samples are zero | ||
FloatArray | data (long) | |
void | read_from (FloatArray, long, long, long) | |
void | silence (long, long) | |
Clear (eg zero, or empty) buffer | ||
silence buffer
|
C‡: ARDOUR::AudioEngine
@@ -232,12 +236,14 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to CC‡: ARDOUR::ChanMapping
-A mapping from one set of channels to another (e.g. how to 'connect' two BufferSets).
for plugins the form is "pin" -> "buffer"
A mapping from one set of channels to another. The general form is 1 source (from), many sinks (to). numeric IDs are used to identify sources and sinks.
for plugins this is used to map "plugin-pin" to "audio-buffer"
Constructor | ||
---|---|---|
ℂ | ARDOUR.ChanMapping () | |
Methods | ||
unsigned int | get (DataType, unsigned int) | |
get buffer mapping for given data type and pin
Returns mapped buffer number (or ChanMapping::Invalid) | ||
get buffer mapping for given data type and pin
Returns mapped buffer number (or ChanMapping::Invalid) | ||
void | set (DataType, unsigned int, unsigned int) | |
set buffer mapping for given data type
| ||
set buffer mapping for given data type
|
Constructor | ||
---|---|---|
ℂ | ARDOUR.DataType (std::string) | |
Methods | ||
DataType | audio () | |
convenience contructor for DataType::AUDIO Returns DataType::AUDIO | ||
DataType | midi () | |
convenience contructor for DataType::MIDI Returns DataType::MIDI | ||
DataType | null () | |
convenience contructor for DataType::NIL Returns DataType::NIL |
C‡: ARDOUR::AudioBackend::DeviceStatus
@@ -469,6 +482,66 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to CC‡: boost::shared_ptr< ARDOUR::IO >, boost::weak_ptr< ARDOUR::IO >
+is-a: ARDOUR:SessionObject
+ +Methods | ||
---|---|---|
bool | active () | |
int | add_port (std::string, void*, DataType) | |
Add a port.
| ||
int | connect (--MISSING (boost::shared_ptr<ARDOUR::Port>)--, std::string, void*) | |
int | disconnect (--MISSING (boost::shared_ptr<ARDOUR::Port>)--, std::string, void*) | |
bool | isnil () | |
bool | physically_connected () | |
int | remove_port (--MISSING (boost::shared_ptr<ARDOUR::Port>)--, void*) |
Methods | ||
---|---|---|
std::string | name () |
Methods | ||
---|---|---|
OwnedPropertyList | properties () |
C‡: boost::shared_ptr< ARDOUR::IOProcessor >, boost::weak_ptr< ARDOUR::IOProcessor >
+is-a: ARDOUR:Processor
+ +Methods | ||
---|---|---|
IO | input () | |
bool | isnil () | |
ChanCount | natural_input_streams () | |
ChanCount | natural_output_streams () | |
IO | output () |
Methods | ||
---|---|---|
void | activate () | |
bool | active () | |
AutomationControl | automation_control (Parameter, bool) | |
Control | control (Parameter, bool) | |
void | deactivate () | |
std::string | display_name () | |
PluginInsert | to_insert () | |
IOProcessor | to_ioprocessor () | |
SideChain | to_sidechain () |
Methods | ||
---|---|---|
std::string | name () |
Methods | ||
---|---|---|
OwnedPropertyList | properties () |
C‡: ARDOUR::Location
is-a: PBD:StatefulDestructible
@@ -566,12 +639,14 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to Cbool | isnil () | |
bool | isnil () | |
PluginInsert | to_insert () | |
IOProcessor | to_ioprocessor () | |
SideChain | to_sidechain () |
Methods | ||
---|---|---|
bool | active () | |
int | add_processor_by_index (Processor, int, ProcessorStreams, bool) | |
bool | add_sidechain (Processor) | |
std::string | comment () | |
bool | customize_plugin_insert (Processor, unsigned int, ChanCount) | |
bool | isnil () | |
ChanCount | n_outputs () | |
Processor | nth_plugin (unsigned int) | |
int | remove_processor (Processor, ProcessorStreams, bool) | |
bool | remove_sidechain (Processor) | |
int | replace_processor (Processor, Processor, ProcessorStreams) | |
bool | reset_plugin_insert (Processor) | |
void | set_active (bool, void*) | |
Methods | ||
OwnedPropertyList | properties () |
C‡: boost::shared_ptr< ARDOUR::SideChain >, boost::weak_ptr< ARDOUR::SideChain >
+is-a: ARDOUR:IOProcessor
+ +Methods | ||
---|---|---|
bool | isnil () |
Methods | ||
---|---|---|
IO | input () | |
ChanCount | natural_input_streams () | |
ChanCount | natural_output_streams () | |
IO | output () |
Methods | ||
---|---|---|
void | activate () | |
bool | active () | |
AutomationControl | automation_control (Parameter, bool) | |
Control | control (Parameter, bool) | |
void | deactivate () | |
std::string | display_name () | |
PluginInsert | to_insert () | |
IOProcessor | to_ioprocessor () | |
SideChain | to_sidechain () |
Methods | ||
---|---|---|
std::string | name () |
Methods | ||
---|---|---|
OwnedPropertyList | properties () |
C‡: boost::shared_ptr< ARDOUR::Source >, boost::weak_ptr< ARDOUR::Source >
@@ -1056,12 +1174,14 @@ Pointer Classes cannot be created in lua scripts. It always requires a call to CMakes a copy of the current state of the Context and saves it on an internal stack of saved states. When restore() is called, it will be restored to the saved state. Multiple calls to save() and restore() can be nested; each call to restore() restores the state from the matching paired save().
It isn't necessary to clear all saved states before a cairo_t is freed. Any saved states will be freed when the Context is destroyed.
restore()
Modifies the current transformation matrix (CTM) by scaling the X and Y user-space axes by sx and sy respectively. The scaling of the axes takes place after any existing transformation of user space.
Sets the current font matrix to a scale by a factor of size, replacing any font matrix previously set with set_font_size() or set_font_matrix(). This results in a font size of size user space units. (More precisely, this matrix will result in the font's em-square being a by size square in user space.)
If text is drawn without a call to set_font_size(), (nor set_font_matrix() nor set_scaled_font()), the default font size is 10.0.