Sound

eu.joaocosta.minart.audio.sound.Sound
object Sound

Object containing user-friendly functions to audio clips.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Sound.type

Members list

Value members

Concrete methods

def loadAiffClip(resource: Resource): Try[AudioClip]

Loads an audio clip in the AIFF format.

Loads an audio clip in the AIFF format.

Attributes

def loadClip(loader: AudioClipReader, resource: Resource): Try[AudioClip]

Loads an sound clip using a custom AudioClipReader.

Loads an sound clip using a custom AudioClipReader.

Value parameters

loader

AudioClipReader to use

resource

Resource pointing to the audio clip

Attributes

def loadQoaClip(resource: Resource): Try[AudioClip]

Loads an audio clip in the QOA format.

Loads an audio clip in the QOA format.

Attributes

def loadRtttlClip(resource: Resource): Try[AudioClip]

Loads an audio clip in the RTTTL format.

Loads an audio clip in the RTTTL format.

Attributes

def loadWavClip(resource: Resource): Try[AudioClip]

Loads an audio clip in the WAV format.

Loads an audio clip in the WAV format.

Attributes

def storeAiffClip(clip: AudioClip, resource: Resource): Try[Unit]

Stores an audio clip in the AIFF format.

Stores an audio clip in the AIFF format.

Attributes

def storeClip(writer: AudioClipWriter, clip: AudioClip, resource: Resource): Try[Unit]

Stores an audio clip using a custom AudioClipWriter.

Stores an audio clip using a custom AudioClipWriter.

Value parameters

clip

AudioClip to store

resource

Resource pointing to the output destination

writer

AudioClipWriter to use

Attributes

def storeWavClip(clip: AudioClip, resource: Resource): Try[Unit]

Stores an audio clip in the WAV format.

Stores an audio clip in the WAV format.

Attributes