AudioClip

eu.joaocosta.minart.audio.AudioClip
See theAudioClip companion class
object AudioClip

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
AudioClip.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromIndexedSeq(data: IndexedSeq[Double], sampleRate: Double): AudioClip

Generates an audio clip for a sequence of samples.

Generates an audio clip for a sequence of samples.

Value parameters

data

indexed sequence of samples

sampleRate

sample rate used in the sequence

Attributes

def mix(clips: Seq[AudioClip]): AudioClip

Generates an audio clip by mixing a sequence of clips.

Generates an audio clip by mixing a sequence of clips.

The duration is defined by the smallest clip.

Value parameters

clips

clips to mix

Attributes

def silence(duration: Double): AudioClip

Audio clip with just silence for the specified duration

Audio clip with just silence for the specified duration

Attributes

Concrete fields

Empty audio clip

Empty audio clip

Attributes