PianoSynth

org.soundsofscala.instrument.PianoSynth
final case class PianoSynth()(using audioContext: AudioContext) extends Synth

Attributes

Source
PianoSynth.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Synth
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override 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

Definition Classes
Source
PianoSynth.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
def playWithSettings(musicEvent: AtomicMusicalEvent, when: Double, tempo: Tempo, settings: Settings)(using audioContext: AudioContext): IO[Unit]

Attributes

Inherited from:
Synth
Source
Synth.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product