Server

trait Server
Companion
object
class Object
trait Matchable
class Any
trait Offline

Value members

Abstract methods

def !(p: Packet): Unit

Sends out a packet immediately without synchronization

Sends out a packet immediately without synchronization

def !!(b: Bundle): Future[Unit]

Sends out a packet with an added sync message. The returned future is completed with the sync message's reply having arrived.

Sends out a packet with an added sync message. The returned future is completed with the sync message's reply having arrived.

def acquireSynthDef(graph: UGenGraph, nameHint: Option[String])(implicit tx: RT): SynthDef

Acquires a synth def to be used in this transaction on the server. If the ugen graph was already sent to the server, it returns the corresponding synth def, and no recv() is necessary. The internal use counter is increment. Otherwise produces a fresh synth def and stores it in the cache.

Acquires a synth def to be used in this transaction on the server. If the ugen graph was already sent to the server, it returns the corresponding synth def, and no recv() is necessary. The internal use counter is increment. Otherwise produces a fresh synth def and stores it in the cache.

If the number of synth definitions on the server would exceed the maximum, a number of synth-def disposals are issued for those that have a use count of zero.

def addEdge(edge: Edge)(implicit tx: RT): Boolean
def addVertex(node: NodeRef)(implicit tx: RT): Unit
def allocAudioBus(numChannels: Int)(implicit tx: RT): Int
def allocBuffer(numConsecutive: Int)(implicit tx: RT): Int
def allocControlBus(numChannels: Int)(implicit tx: RT): Int
def clientConfig: Config
def commit(future: Future[Unit]): Unit

Signalizes that no more messages are sent from the currently committing transaction. The offline server collects these futures, in order to allow an outside process to eventually wait for these to be completed, before closing the OSC file and carrying on. The realtime server just ignores these futures.

Signalizes that no more messages are sent from the currently committing transaction. The offline server collects these futures, in order to allow an outside process to eventually wait for these to be completed, before closing the OSC file and carrying on. The realtime server just ignores these futures.

def counts: StatusReply
def freeAll()(implicit tx: RT): Unit
Implicitly added by defaultGroup
def freeAudioBus(index: Int, numChannels: Int)(implicit tx: RT): Unit
def freeBuffer(index: Int, numConsecutive: Int)(implicit tx: RT): Unit
def freeControlBus(index: Int, numChannels: Int)(implicit tx: RT): Unit
def isLocal: Boolean
def isRealtime: Boolean
def maxPacketSize: Int
def mkSynthDefName(nameHint: Option[String])(implicit tx: RT): String
def nextNodeId()(implicit tx: RT): Int
def peer: Group
Implicitly added by defaultGroup
def peer: Server
def play(target: Node, addAction: AddAction)(implicit tx: RT): Unit
Implicitly added by defaultGroup
def removeEdge(edge: Edge)(implicit tx: RT): Unit
def removeVertex(node: NodeRef)(implicit tx: RT): Unit
def sampleRate: Double
def topology(implicit tx: RT): Topology[NodeRef, Edge]

Queries the current topology

Queries the current topology

Concrete methods

Inherited methods

def dispose()(implicit tx: RT): Unit
Implicitly added by defaultGroup
Inherited from
Disposable
def fill(data: ControlFillRange*)(implicit tx: RT): Unit
Implicitly added by defaultGroup
Inherited from
Node
def free()(implicit tx: RT): Unit
Implicitly added by defaultGroup
Inherited from
Node
def isOnline(implicit tx: RT): Boolean
Implicitly added by defaultGroup
Inherited from
Resource
def map(assoc: (ControlBus, String))(implicit tx: RT): ControlBusNodeSetter
Implicitly added by defaultGroup
Inherited from
Node
def map(assoc: (AudioBus, String))(implicit tx: RT): AudioBusNodeSetter
Implicitly added by defaultGroup
Inherited from
Node
def mapan(pairs: ControlABusMap*)(implicit tx: RT): Unit
Implicitly added by defaultGroup
Inherited from
Node
def mapn(pairs: ControlKBusMap*)(implicit tx: RT): Unit
Implicitly added by defaultGroup
Inherited from
Node
def moveAfter(target: Node)(implicit tx: RT): Unit
Implicitly added by defaultGroup
Inherited from
Node
def moveBefore(target: Node)(implicit tx: RT): Unit
Implicitly added by defaultGroup
Inherited from
Node
def moveToHead(group: Group)(implicit tx: RT): Unit
Implicitly added by defaultGroup
Inherited from
Node
def moveToTail(group: Group)(implicit tx: RT): Unit
Implicitly added by defaultGroup
Inherited from
Node
def node(implicit tx: RT): Node
Implicitly added by defaultGroup

Refers to itself

Refers to itself

Inherited from
Node
def onEnd(code: => Unit)(implicit tx: RT): Unit
Implicitly added by defaultGroup
Inherited from
Node
def onEndTxn(fun: RT => Unit)(implicit tx: RT): Unit
Implicitly added by defaultGroup
Inherited from
Node
def play(target: Node, args: Seq[ControlSet], addAction: AddAction, dependencies: List[Resource])(implicit tx: RT): Unit
Implicitly added by defaultGroup
Inherited from
Node
def read(assoc: (ControlBus, String))(implicit tx: RT): ControlBusNodeSetter
Implicitly added by defaultGroup
Inherited from
Node
def read(assoc: (AudioBus, String))(implicit tx: RT): AudioBusNodeSetter
Implicitly added by defaultGroup
Inherited from
Node
def readWrite(assoc: (ControlBus, String))(implicit tx: RT): ControlBusNodeSetter
Implicitly added by defaultGroup
Inherited from
Node
def readWrite(assoc: (AudioBus, String))(implicit tx: RT): AudioBusNodeSetter
Implicitly added by defaultGroup
Inherited from
Node
def release(releaseTime: Double)(implicit tx: RT): Unit
Implicitly added by defaultGroup
Value Params
releaseTime

the optional release time in seconds within which the synth should fade out, or -1 (default) if the envelope should be released at its nominal release time. If the EnvGen has a doneAction of freeSelf, the synth will be freed after the release phase.

Inherited from
Node
def run(state: Boolean)(implicit tx: RT): Unit
Implicitly added by defaultGroup
Inherited from
Node
Implicitly added by defaultGroup
Inherited from
NodeRef
def set(pairs: ControlSet*)(implicit tx: RT): Unit
Implicitly added by defaultGroup
Inherited from
Node
def setn(pairs: ControlSet*)(implicit tx: RT): Unit
Implicitly added by defaultGroup
Inherited from
Node
def write(assoc: (ControlBus, String))(implicit tx: RT): ControlBusNodeSetter
Implicitly added by defaultGroup
Inherited from
Node
def write(assoc: (AudioBus, String))(implicit tx: RT): AudioBusNodeSetter
Implicitly added by defaultGroup

Associates an audio bus with this node such that the node writes to this bus. This creates a DynamicAudioBusUser which will be freed automatically when this node ends.

Associates an audio bus with this node such that the node writes to this bus. This creates a DynamicAudioBusUser which will be freed automatically when this node ends.

Inherited from
Node

Implicits

Implicits

implicit
def executionContext: ExecutionContext