Query JACK info and status. uses https://github.com/ajboni/jack-audio-tools
- Source:
Methods
(inner) clearPluginPorts(plugin, direction)
- Source:
Disconnect all plugin ports from any target.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
plugin |
plugin | Plugin Instance | |
direction |
string |
all
|
[all|input|output] What ports to disconnect. |
(inner) connectPlugins(src, dst, disconnectopt)
- Source:
It will (dis) connect two plugins, dealing with mono/stereo conversions.
Use 'input|output' to use a mono/stero I/O ports as src/dst.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
src |
plugin | Source plugin instance. It should exist on the RACK. It will use the plugin's output ports. | ||
dst |
plugin | Destination plugin.It should exist on the RACK. It will use the plugin's input ports. | ||
disconnect |
boolean |
<optional> |
false
|
Disconnect plugins |
(async, inner) connectPorts(src, dst)
- Source:
connect to
connect two jack ports together. Both ports must be same type.
Parameters:
Name | Type | Description |
---|---|---|
src |
string | Origin port: Must be an output port. |
dst |
string | Destination port: Must be an Input port |
(inner) disconnectPlugins(src, dst, disconnectopt)
- Source:
Alias for connect(src, dst, { disconnect: true })
It will (dis) connect two plugins, dealing with mono/stereo conversions.
Use 'input|output' to use a mono/stero I/O ports as src/dst.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
src |
plugin | Source plugin instance. It should exist on the RACK. It will use the plugin's output ports. | ||
dst |
plugin | Destination plugin.It should exist on the RACK. It will use the plugin's input ports. | ||
disconnect |
boolean |
<optional> |
true
|
(inner) getAvailableJackPorts()
- Source:
Get all available JACK audio/midi input/output ports.
Returns:
Returns a JSON object with all available ports.
(inner) init()
- Source:
Initialize. Set up polling.
(inner) poll()
- Source:
- See:
-
- settings
Poll JACK for info.
(inner) queryJack()
- Source:
Get several Jack Statuses.
Returns:
Returns a json object with each property: status, cpu_load, block_size, realtime, sample_rate
(inner) queryTransport()
- Source:
Queries JACK transport to get status.
Returns:
Returns a JSON object with the JACK transport status.