Package

de.sciss.synth

io

Permalink

package io

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. io
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait AudioFile extends Channel

    Permalink
  2. case class AudioFileSpec(fileType: AudioFileType = AudioFileType.AIFF, sampleFormat: SampleFormat = SampleFormat.Float, numChannels: Int, sampleRate: Double, byteOrder: Option[ByteOrder] = None, numFrames: Long = 0L) extends Product with Serializable

    Permalink
  3. abstract class AudioFileType extends AnyRef

    Permalink
  4. type Frames = Array[Array[Float]]

    Permalink
  5. abstract class SampleFormat extends AnyRef

    Permalink

Value Members

  1. object AudioFile

    Permalink

    The AudioFile allows reading and writing of sound files.

    The AudioFile allows reading and writing of sound files. It can operate both on a RandomAccessFile created from a File instance, or on an kind of InputStream (not every codec will support this though, and functionality might be limited, for example seeking is not possible with a plain InputStream).

    The codecs are registered with AudioFileType. The codecs that come with ScalaAudioFile are found in the impl package.

    Reading and writing data requires a user-buffer which holds de-interleaved floating point data, that is a two dimensional Array which holds Float data. A type alias Frames is provided for this, and two helper methods buffer: one static to construct an arbitrary user-buffer, one in class AudioFile which creates a buffer with the appropriate channel number.

    Version

    0.14, 07-Oct-10

    To do

    the copyTo method uses a user-buffer. it should check for the possibility to directly transfer data if input and output are compatible.

    ,

    openWrite is currently missing the goodies of ScissLib are missing, e.g. support for markers, comments, app-code.

    See also

    AudioFileType

  2. object AudioFileType

    Permalink

    Version

    0.11, 17-Jul-10

  3. object SampleFormat

    Permalink
  4. object ScalaAudioFile

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped