Control

trait Control extends ControlPlatform
Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def blockSize: Int

Global buffer size. The guaranteed size of the double and integer arrays. A shortcut for config.bufSize.

Global buffer size. The guaranteed size of the double and integer arrays. A shortcut for config.bufSize.

Borrows a double buffer. Its size is reset to bufSize.

Borrows a double buffer. Its size is reset to bufSize.

Borrows an integer buffer. Its size is reset to bufSize.

Borrows an integer buffer. Its size is reset to bufSize.

Borrows a long buffer. Its size is reset to bufSize.

Borrows a long buffer. Its size is reset to bufSize.

def cancel(): Unit

Cancels the process. This works by cancelling all registered leaves. If the graph is correctly constructed, this should shut down all connected trees from there automatically.

Cancels the process. This works by cancelling all registered leaves. If the graph is correctly constructed, this should shut down all connected trees from there automatically.

def debugDotGraph(): Unit
def mkRandom(): Random

A shortcut for config.nodeBufferSize.

A shortcut for config.nodeBufferSize.

def returnBufD(buf: BufD): Unit

Returns a double buffer. When buf.borrowed is false, this is a no-op. This should never be called directly but only by the buffer itself through buf.release().

Returns a double buffer. When buf.borrowed is false, this is a no-op. This should never be called directly but only by the buffer itself through buf.release().

def returnBufI(buf: BufI): Unit

Returns an integer buffer. When buf.borrowed is false, this is a no-op. This should never be called directly but only by the buffer itself through buf.release().

Returns an integer buffer. When buf.borrowed is false, this is a no-op. This should never be called directly but only by the buffer itself through buf.release().

def returnBufL(buf: BufL): Unit

Returns an integer buffer. When buf.borrowed is false, this is a no-op. This should never be called directly but only by the buffer itself through buf.release().

Returns an integer buffer. When buf.borrowed is false, this is a no-op. This should never be called directly but only by the buffer itself through buf.release().

def run(graph: Graph): UGenGraph

Expands with default builder and then runs the graph.

Expands with default builder and then runs the graph.

def runExpanded(ugens: UGenGraph): Unit

Runs an already expanded graph.

Runs an already expanded graph.

def status: Future[Unit]

Creates an aggregated Future over the state of the graph. In the case of cancelling the graph, the result will be Failure(Cancelled()).

Creates an aggregated Future over the state of the graph. In the case of cancelling the graph, the result will be Failure(Cancelled()).

Inherited methods

def createTempURI(): URI

Creates a temporary file. The caller is responsible for deleting the file after it is not needed any longer. (The file will still be marked deleteOnExit)

Creates a temporary file. The caller is responsible for deleting the file after it is not needed any longer. (The file will still be marked deleteOnExit)

Inherited from
ControlPlatform

Deprecated and Inherited methods

@deprecated("Only supported on JVM. Use platform neutral createTempURI instead", since = "3.6.0")
def createTempFile(): File

Creates a temporary file. The caller is responsible for deleting the file after it is not needed any longer. (The file will still be marked deleteOnExit)

Creates a temporary file. The caller is responsible for deleting the file after it is not needed any longer. (The file will still be marked deleteOnExit)

Deprecated
[Since version 3.6.0]
Inherited from
ControlPlatform

Abstract fields