Offline

trait Offline extends Server
trait Server
class Object
trait Matchable
class Any

Value members

Abstract methods

def bundles(addDefaultGroup: Boolean): IndexedSeq[Bundle]

Logically closes the offline server and returns a list of all the bundles collected so far. Note: Calling this method will clear the bundles held by the server.

Logically closes the offline server and returns a list of all the bundles collected so far. Note: Calling this method will clear the bundles held by the server.

Value Params
addDefaultGroup

if true, prepends a /g_new message for the standard default group (node id 1) to the returned bundles

def committed(): Future[Unit]

Returns a future of ongoing message sending. Note: Calling this method will clear the futures held by the server.

Returns a future of ongoing message sending. Note: Calling this method will clear the futures held by the server.

Inherited methods

def !(p: Packet): Unit

Sends out a packet immediately without synchronization

Sends out a packet immediately without synchronization

Inherited from
Server
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.

Inherited from
Server
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.

Inherited from
Server
def addEdge(edge: Edge)(implicit tx: RT): Boolean
Returns

true if the edge could be added, false if addition failed

Inherited from
Server
def addVertex(node: NodeRef)(implicit tx: RT): Unit
Inherited from
Server
def allocAudioBus(numChannels: Int)(implicit tx: RT): Int
Inherited from
Server
def allocBuffer(numConsecutive: Int)(implicit tx: RT): Int
Inherited from
Server
def allocControlBus(numChannels: Int)(implicit tx: RT): Int
Inherited from
Server
def clientConfig: Config
Inherited from
Server
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.

Inherited from
Server
Inherited from
Server
def counts: StatusReply
Inherited from
Server
Inherited from
Server
def freeAudioBus(index: Int, numChannels: Int)(implicit tx: RT): Unit
Inherited from
Server
def freeBuffer(index: Int, numConsecutive: Int)(implicit tx: RT): Unit
Inherited from
Server
def freeControlBus(index: Int, numChannels: Int)(implicit tx: RT): Unit
Inherited from
Server
def isLocal: Boolean
Inherited from
Server
def isRealtime: Boolean
Inherited from
Server
def maxPacketSize: Int
Inherited from
Server
def mkSynthDefName(nameHint: Option[String])(implicit tx: RT): String
Inherited from
Server
def nextNodeId()(implicit tx: RT): Int
Inherited from
Server
def peer: Server
Inherited from
Server
def removeEdge(edge: Edge)(implicit tx: RT): Unit
Inherited from
Server
def removeVertex(node: NodeRef)(implicit tx: RT): Unit
Inherited from
Server
Inherited from
Server
def sampleRate: Double
Inherited from
Server
def topology(implicit tx: RT): Topology[NodeRef, Edge]

Queries the current topology

Queries the current topology

Inherited from
Server

Abstract fields

var position: Long

The current frame position in the OSC file. The user should increment this according to a reference transport, so that messages are queued in the correct position.

The current frame position in the OSC file. The user should increment this according to a reference transport, so that messages are queued in the correct position.

Implicits

Inherited implicits

implicit
def executionContext: ExecutionContext
Inherited from
Server