object SynthDef extends Serializable
- Alphabetic
- By Inheritance
- SynthDef
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
SynthDefwith 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
val
extension: String("scsyndef")
The
SynthDeffile name extension (without leading period). -
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
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(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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.