API reference
MusicPattern
strata-game-library/audio-synth
strata-game-library/audio-synth
strata-game-library/audio-synth / MusicPattern
Interface: MusicPattern
Defined in: core/types.ts:110
Music pattern configuration.
Properties
direction?
optionaldirection:"up"|"down"|"upDown"|"downUp"|"random"
Defined in: core/types.ts:118
Pattern direction
envelope
envelope:
EnvelopeConfig
Defined in: core/types.ts:126
Envelope
filter?
optionalfilter:FilterConfig
Defined in: core/types.ts:128
Optional filter
id
id:
string
Defined in: core/types.ts:112
Pattern identifier
interval
interval:
string
Defined in: core/types.ts:120
Interval between notes
name
name:
string
Defined in: core/types.ts:114
Pattern name
notes
notes:
string[]
Defined in: core/types.ts:116
Notes in the pattern
oscillator
oscillator:
object
Defined in: core/types.ts:122
Oscillator type
type
type:
OscillatorType
