Instrument

data class Instrument(val modulator: FMSynthesisModulator, val envelopeSpec: AnimationSpec<Float>)

Definition of instrument sound

Constructors

Link copied to clipboard
constructor(modulator: FMSynthesisModulator, envelopeSpec: AnimationSpec<Float>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The envelope animation specification that controls the volume change over time.

Link copied to clipboard

The FM synthesis modulator.