AudioFileSpec
trait AudioFileSpecPlatform
trait ProductReader[Ex[AudioFileSpec]]
class Object
trait Matchable
class Any
Value members
Concrete methods
def apply(fileType: Ex[Int], sampleFormat: Ex[Int], numChannels: Ex[Int], sampleRate: Ex[Double], numFrames: Ex[Long]): Ex[AudioFileSpec]
Creates a new AudioFileSpec
expression.
Creates a new AudioFileSpec
expression.
- Value Params
- fileType
the file-type can be 0 (AIFF), 1 (Wave), 2 (Wave64), 3 (IRCAM), 4 (NeXT), or 5 (Raw). It defaults to AIFF, and invalid values are also mapped to AIFF.
- numFrames
The number of sample frames. Often this value is not used, e.g. when writing to a new file. The default is zero.
- sampleFormat
the sample-format can be 0 (16-bit int), 1 (24-bit int), 2 (32-bit float), 3 (32-bit int), 4 (64-bit float), 5 (unsigned 8-bit int), 6 (signed 8-bit int). It defaults to 32-bit float, and invalid values are also mapped to 32-bit float.