AiffAudioWriter

eu.joaocosta.minart.audio.sound.aiff.AiffAudioWriter
See theAiffAudioWriter companion object
trait AiffAudioWriter[ByteSeq] extends AudioClipWriter

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class AiffAudioFormat[R, W]

Members list

Concise view

Value members

Abstract methods

Concrete methods

def storeClip(clip: AudioClip, os: OutputStream): Either[String, Unit]

Stores an audio clip to an OutputStream.

Stores an audio clip to an OutputStream.

Attributes

clip

AudioClip to store

os

OutputStream where to store the data

Returns:

Either unit or an error string

Inherited methods

def storeClip(clip: AudioClip, resource: Resource): Try[Either[String, Unit]]

Stores an audio clip to a Resource.

Stores an audio clip to a Resource.

Attributes

clip

AudioCLip to store

resource

Resource where to store the data

Returns:

Either unit or an error string, inside a Try capturing the IO exceptions

Inherited from:
AudioClipWriter
def toByteArray(clip: AudioClip): Either[String, Array[Byte]]

Returns the audio clip data as a byte array.

Returns the audio clip data as a byte array.

Attributes

clip

AudioClip to convert

Returns:

Either an array with the clip data or an error string

Inherited from:
AudioClipWriter

Abstract fields

val byteWriter: ByteWriter[ByteSeq]

Concrete fields