Plugin : ToneJS api
Author:Rex.Rainbow
- Tone objects in a dictionary. https://github.com/Tonejs/Tone.js
Download
Properties
Play in background
- Keep playing audio even when the tab or app goes in to the background.
Actions
0. Create
Action:Create object
- Create object.
- Variable name ( number or string ) : Variable name of this tone object
- Type name ( string ) : Type name.
- Parameter {n} ( variadic ) : Parameters of this function call.
Connect
Action:Connect to Master
- Connect to Master.
- Variable name ( number or string ) : Variable name of this tone object
Action:Connect
- Connect to object.
- A ( number or string ) : Variable name of this tone object
- B ( number or string ) : Connect to object
- Port ( string ) : Port name. set "" to ignore this parameter.
Function
Action:Call
- Call function.
- Variable name ( number or string ) : Variable name of this tone object
- Function name ( string ) : Function name.
- Parameter {n} ( variadic ) : Parameters of this function call.
Properties
Action:Set JSON
- Set properties to JSON string.
- Variable name ( number or string ) : Variable name of this tone object
- Properties ( string ) : Properties in JSON
Property
Action:Set value
- Set property.
- Variable name ( number or string ) : Variable name of this tone object
- Property ( string ) : Property name in dot notation
- Value ( number or string ) : Value to set
Action:Set JSON
- Set property to JSON string.
- Variable name ( number or string ) : Variable name of this tone object
- Property ( string ) : Property name in dot notation
- JSON ( string ) : JSON value to set
Action:Set boolean
- Set property to a boolean value.
- Variable name ( number or string ) : Variable name of this tone object
- Property ( string ) : Property name in dot notation
- Boolean ( Combo ) : Boolean value.
- Options : ["false","true"]
Action:Set by return
- Set property by return value.
- Object A ( number or string ) : Variable name of this tone object
- Property ( string ) : Property name in dot notation
- Object B ( number or string ) : Variable name of this tone object
- Function name ( string ) : Function name.
- Parameter {n} ( variadic ) : Parameters of this function call.
Expressions
Callback
Expression:Param
- Get the value of a parameter passed to the callback.
- Index ( number or string ) : The zero-based index of the parameter to get, or name in string.
Expression:ParamCount
- Get the number of parameters passed to callback.
Function
Expression:ReturnValue
- Get return value.
- Variable name ( number or string ) : Variable name of this tone object
Property
Expression:Property
- Get property.
- Variable name ( number or string ) : Variable name of this tone object
Conditions
Callback
Condition:Callback
- Callback.
- Tag ( string ) : A tag, which can be anything you like, to distinguish between different callback.