Synth

org.soundsofscala.instrument.Synth
See theSynth companion object
trait Synth(using x$1: AudioContext) extends Instrument[Settings]

Attributes

Companion
object
Source
Synth.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class PianoSynth
class ScalaSynth

Members list

Value members

Abstract methods

def attackRelease(when: Double, note: Note, tempo: Tempo, attack: Attack, release: Release): IO[Unit]

Plays the note via an oscillator (or many)

Plays the note via an oscillator (or many)

Attributes

Source
Synth.scala

Concrete methods

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

Attributes

Source
Synth.scala

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