DiskOut

object DiskOut extends ProductReader[DiskOut]
Companion
class
trait Product
trait Mirror
trait ProductReader[DiskOut]
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def ar(key: String, in: GE, fileType: GE, sampleFormat: GE): DiskOut

Creates a DiskOut UGen writing to a file designated by an object attribute with a given key and the value being an Artifact.

Creates a DiskOut 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.

Value Params
fileType

a file type id as given by DeskOut.id(). The default is -1 (auto-detect). The codes are 0 - AIFF, 1 - Wave, 2 - Wave64, 3 - IRCAM, 4 - NeXT, 5 - Raw. Must be resolvable at graph expansion time.

in

the signal to write

key

the key into the enclosing object's attribute map, pointing to an Artifact

sampleFormat

a sample format id as given by DeskOut.id(). The default is 2 (32-bit Float). The codes are 0 - Int16, 1 - Int24, 2 - Float, 3 - Int32, 4 - Double, 5 - UInt8, 6 - Int8. Must be resolvable at graph expansion time.

def controlName(key: String): String
def fileType(id: Int): AudioFileType

Recovers an audio file type from an id. Throws an exception if the id is invalid.

Recovers an audio file type from an id. Throws an exception if the id is invalid.

def id(in: AudioFileType): Int

Converts an audio file type to a unique id that can be parsed by the UGen.

Converts an audio file type to a unique id that can be parsed by the UGen.

def id(in: SampleFormat): Int

Converts a sample format to a unique id that can be parsed by the UGen.

Converts a sample format to a unique id that can be parsed by the UGen.

def maxFileTypeId: Int
override
def read(in: RefMapIn, prefix: String, arity: Int): DiskOut
Definition Classes
ProductReader
def sampleFormat(id: Int): SampleFormat

Recovers a sample format from an id. Throws an exception if the id is invalid.

Recovers a sample format from an id. Throws an exception if the id is invalid.