SynthDescRelay:
Filter:
Utopia/Classes (extension) | Relay classes

SynthDescRelay
ExtensionExtension

Sync SynthDescs between Peers in Utopia

Description

SynthDefs will automatically be sent to all known Servers when 'added'. This class enables the corresponding SynthDescs to be synced between Peers.

Class Methods

.new

create a new SynthDescRelay

Arguments:

addrBook

an AddrBook where Peers are registered

oscPath

the oscPath to use when relaying

libName

The name of the SynthDescLib to sync

encryptor

an (optional) encryptor for sharing descs

Returns:

a new SynthDescRelay

Instance Methods

.free

remove the SynthDescRelay by freeing its oscFunc.

Examples