uvi-script
Musical event scripting with Lua
Loading...
Searching...
No Matches
SampledReverb Class Reference

SampledReverb. More...

Inheritance diagram for SampledReverb:
Element

Public Member Functions

AsyncTask loadImpulse (string pathToImpulseResponseFile)
 Load an Impulse response asynchronously.
 
- Public Member Functions inherited from Element
void setParameter (string parameter, Value value)
 Sets an Element parameter.
 
Value getParameter (string parameter)
 Gets an Element parameter.
 
bool hasParameter (string parameter)
 
table getParameterConnections (string parameter)
 Get all SignalConnection for this parameter.
 

Additional Inherited Members

- Public Attributes inherited from Element
string name
 internal element name
 
string displayName
 name to display on the User Interface, name is used if displayName is not specified.
 
string type
 internal element type
 
string path
 full path of the element in the synthesis tree
 
Elementparent
 element parent
 
table children
 element children using the element name as key
 
table synthChildren
 children of the element in the synthesis hierarchy, as a 1-indexed array.
 
table mods
 all ControlSignalSource for this node as a 1-indexed array (same content as modulations, keyed by index instead of name)
 
int output
 output bus index for the element. Reading returns the index parsed from the current output bus name (1 when the element uses the default bus). Writing is asynchronous: the engine applies the new routing shortly after the assignment, so reading the property back immediately may still return the old value. Assigning on an element that cannot change its output raises an error.
 
int numParams
 number of parameters
 
table parameterDefinitions
 table of parameter definitions.
 

Detailed Description

Member Function Documentation

◆ loadImpulse()

AsyncTask SampledReverb::loadImpulse ( string pathToImpulseResponseFile)

Load an Impulse response asynchronously.

Parameters
pathToImpulseResponseFilepath to the Impulse response file
Returns
returns a task to be notified of loading completion