PluginNode

interface PluginNode

Inheritors

AndroidPluginNode
JsPluginNode
JvmPluginNode
NativePluginNode
WasmJsPluginNode

Properties

Link copied to clipboard
abstract val instance: PluginInstance
Link copied to clipboard
abstract val instanceId: Int

Functions

Link copied to clipboard
abstract fun addParameterMetadataRefreshListener(listener: () -> Unit): Long

AudioGraphNode::parameterMetadataRefreshEvent(). Returns the listener id (0 if not added).

Link copied to clipboard

AudioGraphNode::parameterUpdateEvent(). Returns the listener id (0 if not added). The listener may run on a non-main (even realtime) thread.

Link copied to clipboard
Link copied to clipboard
abstract fun removeParameterUpdateListener(listenerId: Long)
Link copied to clipboard
abstract fun scheduleEvents(timestamp: Long, events: ByteArray): Boolean
Link copied to clipboard
abstract fun sendAllNotesOff()
Link copied to clipboard
abstract fun setEventOutputObserver(observer: (data: UIntArray) -> Unit?)

AudioPluginNode::setEventOutputObserver(): the UMP words the plug-in emitted in each render, delivered on the audio thread (copy; do not block). null clears it.