Sampler

org.soundsofscala.instrument.Sampler
See theSampler companion object
final case class Sampler(samples: Map[SampleKey, AudioBuffer]) extends SamplePlayer

Attributes

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

Members list

Value members

Inherited methods

final def play(musicEvent: AtomicMusicalEvent, when: Double, tempo: Tempo)(settings: Settings)(using audioContext: AudioContext): IO[Unit]

Attributes

Inherited from:
Instrument
Source
Instrument.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product