Packages

t

de.sciss.audiofile

AudioFilePlatform

trait AudioFilePlatform extends AnyRef

The JVM platform supports File I/O, e.g. opening an audio file using openRead(f: File).

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AudioFilePlatform
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def identify(path: String): Option[AudioFileType]
    Annotations
    @throws(classOf[IOException])
  11. def identify(f: File): Option[CanIdentify]

    Determines the type of audio file.

    Determines the type of audio file.

    f

    the pathname of the file

    returns

    the type code as defined in AudioFileInfo, e.g. TYPE_AIFF. Returns TYPE_UNKNOWN if the file could not be identified.

    Annotations
    @throws(classOf[IOException])
    Exceptions thrown

    java.io.IOException if the file could not be reader

  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def openRead(f: File): AudioFile

    Opens an audio file for reading.

    Opens an audio file for reading.

    f

    the path name of the file

    returns

    a new AudioFile object whose header is already parsed and can be obtained through the spec method.

    Annotations
    @throws(classOf[IOException])
    Exceptions thrown

    java.io.IOException if the file was not found, could not be reader or has an unknown or unsupported format

  17. def openWrite(path: String, spec: AudioFileSpec): AudioFile
    Annotations
    @throws(classOf[IOException])
  18. def openWrite(f: File, spec: AudioFileSpec): AudioFile

    Opens an audio file for reading/writing.

    Opens an audio file for reading/writing. The pathname is determined by the file field of the provided AudioFileInfo. If a file denoted by this path already exists, it will be deleted before opening.

    Note that the initial audio file header is written immediately. Special tags for the header thus need to be set in the AudioFileInfo before calling this method, including markers and regions. It is not possible to writer markers and regions after the file has been opened (since the header size has to be constant).

    f

    the path name of the file.

    spec

    format and resolution of the new audio file. the header is immediately written to the hard-disc

    Annotations
    @throws(classOf[IOException])
    Exceptions thrown

    java.io.IOException if the file could not be created or the format is unsupported

  19. def readSpec(path: String): AudioFileSpec
    Annotations
    @throws(classOf[IOException])
  20. def readSpec(f: File): AudioFileSpec
    Annotations
    @throws(classOf[IOException])
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped