eu.joaocosta.minart.audio

Members list

Concise view

Type members

Classlikes

final case class AudioClip(wave: AudioWave, duration: Double) extends Double => Double

Audio Clip represented by a wave and a duration.

Audio Clip represented by a wave and a duration.

Attributes

duration

duration of this audio wave in seconds

wave

audio wave storing this clip

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Double => Double
class Object
trait Matchable
class Any
object AudioClip

Attributes

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

Multi-channel mono audio player.

Multi-channel mono audio player.

Can play and stop audio clips and audio waves on distinct channels.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
sealed trait AudioQueue

Internal AudioQueue abstraction.

Internal AudioQueue abstraction.

This is not expected to be used by user code, but it's helpful to implement custom backends

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AudioQueue

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final case class AudioWave(wave: Double => Double) extends Double => Double

Infinite audio wave represented by a continuous function from time (in seconds) to amplitude (in [-1, 1]).

Infinite audio wave represented by a continuous function from time (in seconds) to amplitude (in [-1, 1]).

Attributes

wave

continuous function representing the wave

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Double => Double
class Object
trait Matchable
class Any
object AudioWave

Attributes

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

A low-level version of a audio player with init and close methods.

A low-level version of a audio player with init and close methods.

Attributes

Companion:
object
Graph
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
final case class Oscillator(generator: Double => AudioWave) extends Double => AudioWave

Oscillator used to create periodic waves.

Oscillator used to create periodic waves.

Attributes

generator

function used to generate a wave based on a frequency

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Double => AudioWave
class Object
trait Matchable
class Any
object Oscillator

Attributes

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