NoteGroup

interface NoteGroup { uuid: string chance: number mode: NoteGroupMode events: readonly NoteEvent[] ungroup(): void }

Notes deciding their chance together, created with NoteEventOwner.groupEvents


Properties

uuid: string

readonly

Unique id

chance: number

Probability in percent (0 to 100) that the group plays in a pass

mode: NoteGroupMode

Play every note or exactly one of them

events: readonly NoteEvent[]

readonly

The notes of the group

Methods

ungroup(): void

Dissolve the group, its notes play with chance 100 again

Returns

  • void