final case class AudioFileOut(key: String, in: D, fileType: I = -1, sampleFormat: I = 2, sampleRate: D = 44100.0) extends GE.Lazy[Long] with Product with Serializable
A graph element that creates a UGen writing to a file
designated by an object attribute with a given key
and the
value being an Artifact
.
If the given file-type GE
is -1
, the type is determined by this
artifact. For example, if the artifact's path ends in ".aif"
, the AIFF
format will used, if the path ends in ".w64"
, then Wave64 will be used.
The default is AIFF.
If an AudioCue
is found at the key, its spec will override file type,
sample-format and rate.
- key
the key into the enclosing object's attribute map, pointing to an
Artifact
orAudioCue
- in
the signal to write
- fileType
a file type id as given by
AudioFileOut.id()
. The default is-1
(auto-detect).- sampleFormat
a sample format id as given by
AudioFileOut.id()
. The default is2
(32-bit Float).- sampleRate
the nominal sample-rate of the file. The default is
44100
.
- Alphabetic
- By Inheritance
- AudioFileOut
- Serializable
- Lazy
- GE
- Expander
- Lazy
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AudioFileOut(key: String, in: D, fileType: I = -1, sampleFormat: I = 2, sampleRate: D = 44100.0)
- key
the key into the enclosing object's attribute map, pointing to an
Artifact
orAudioCue
- in
the signal to write
- fileType
a file type id as given by
AudioFileOut.id()
. The default is-1
(auto-detect).- sampleFormat
a sample format id as given by
AudioFileOut.id()
. The default is2
(32-bit Float).- sampleRate
the nominal sample-rate of the file. The default is
44100
.
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
- 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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fileType: I
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val in: D
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val key: String
- def makeUGens(implicit b: Builder): UGenInLike[Long]
Abstract method which must be implemented by creating the actual
UGen
s during expansion.Abstract method which must be implemented by creating the actual
UGen
s during expansion. This method is at most called once during graph expansion- returns
the expanded object (depending on the type parameter
U
)
- Attributes
- protected
- Definition Classes
- AudioFileOut → Expander
- 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 productElementNames: Iterator[String]
- Definition Classes
- Product
- val sampleFormat: I
- val sampleRate: D
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated