object AudioFileSpec extends ProductReader[Ex[audiofile.AudioFileSpec]] with AudioFileSpecPlatform
- Alphabetic
- By Inheritance
- AudioFileSpec
- AudioFileSpecPlatform
- ProductReader
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class Empty() extends Ex[audiofile.AudioFileSpec] with Product with Serializable
- final case class NumChannels(in: Ex[audiofile.AudioFileSpec]) extends Ex[Int] with Product with Serializable
- final case class NumFrames(in: Ex[audiofile.AudioFileSpec]) extends Ex[Long] with Product with Serializable
- final case class Read(in: Ex[URI]) extends Ex[Option[audiofile.AudioFileSpec]] with Product with Serializable
- final case class SampleRate(in: Ex[audiofile.AudioFileSpec]) extends Ex[Double] with Product with Serializable
Value Members
- def apply(fileType: Ex[Int] = 0, sampleFormat: Ex[Int] = 2, numChannels: Ex[Int], sampleRate: Ex[Double], numFrames: Ex[Long] = 0L): Ex[audiofile.AudioFileSpec]
Creates a new
AudioFileSpec
expression.Creates a new
AudioFileSpec
expression.- 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.
- 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.
- numFrames
The number of sample frames. Often this value is not used, e.g. when writing to a new file. The default is zero.
- def read(in: RefMapIn, key: String, arity: Int, adj: Int): Ex[audiofile.AudioFileSpec]
- Definition Classes
- AudioFileSpec → ProductReader
- def read(in: Ex[URI]): Ex[Option[audiofile.AudioFileSpec]]
- object Empty extends ProductReader[Empty] with Serializable
- object NumChannels extends ProductReader[NumChannels] with Serializable
- object NumFrames extends ProductReader[NumFrames] with Serializable
- object Read extends ProductReader[Read] with Serializable
- object SampleRate extends ProductReader[SampleRate] with Serializable