A recognized audio file type.
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.
the copyTo method uses a user-buffer. it should check for the possibility to directly transfer data if input and output are compatible.
AudioFileType
This object was generated by sbt-buildinfo.