object SynthDef extends Serializable
- Alphabetic
- By Inheritance
- SynthDef
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type Completion = synth.Completion[SynthDef]
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(name: String)(thunk: => Unit)(implicit factory: BuilderFactory = impl.DefaultUGenGraphBuilderFactory): SynthDef
Creates a new
SynthDef
with a given name and a thunk parameter that creates the expanded UGen graph structure. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- var defaultDir: String
The default directory for writing synth defs is the temporary directory given by the system property
"java.io.tmpdir"
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final val extension: String("scsyndef")
The
SynthDef
file name extension (without leading period). - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def loadDirMsg(path: String, completion: Optional[Packet] = None): SynthDefLoadDir
- def loadMsg(path: String, completion: Optional[Packet] = None): SynthDefLoad
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def read(is: InputStream): List[SynthDef]
Reads all synth-definitions from an input stream with standard binary format.
- def read(path: String): List[SynthDef]
Reads all synth-definitions contained in a file with standard binary format.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def write(os: OutputStream, defs: Seq[SynthDef], version: Int): Unit
Writes a sequence of synth-definitions to a file specified by its
path
. - def write(path: String, defs: Seq[SynthDef], version: Int = 1): Unit
Writes a sequence of synth-definitions to a file specified by its
path
.Writes a sequence of synth-definitions to a file specified by its
path
.- path
path to the file that will be (over)written by this method
- defs
sequences of synth-definitions to write
- version
format version which must be 1 or 2. The default is format 1 which is more compact. Format 2 allows larger synth-defs but is basically an overkill, unless you want to build a definition with more than 65536 UGens.
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated