SamplePlayer

org.soundsofscala.instrument.SamplePlayer
See theSamplePlayer companion trait
object SamplePlayer

Attributes

Companion
trait
Source
SamplePlayer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class Settings(volume: Double, fadeIn: Double, fadeOut: Double, playbackRate: Double, reversed: Boolean, loop: Option[Loop], startTime: Double, offset: Double, duration: Option[Double])

Attributes

Companion
object
Source
SamplePlayer.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Settings

Attributes

Companion
class
Source
SamplePlayer.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Settings.type

Value members

Concrete methods

def playSample(buffer: AudioBuffer, playbackRate: Double, musicalEvent: AtomicMusicalEvent, when: Double, settings: Settings, tempo: Tempo)(using audioContext: AudioContext): IO[Unit]

Attributes

Source
SamplePlayer.scala