AudioWave

eu.joaocosta.minart.audio.AudioWave$
See theAudioWave companion class
object AudioWave

Attributes

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

Members list

Concise view

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): AudioWave

Generates an audio wave for a sequence of samples. Every value outside of the sequence is zero.

Generates an audio wave for a sequence of samples. Every value outside of the sequence is zero.

Attributes

data

indexed sequence of samples (with amplitude between [-1.0, 1.0])

sampleRate

sample rate used in the sequence

Concrete fields

Audio wave with just silence

Audio wave with just silence

Attributes