Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface VisualizerConfig

An interface for providing configurable properties to a Visualizer.

param

The vertical height in pixels of a note.

param

Number of horizontal pixels between each note.

param

The horizontal scale at which notes are drawn. The bigger this value, the "wider" a note looks.

param

The color (as an RGB comma separated string) of a note.

param

The color (as an RGB comma separated string) of an active note being played.

param

The smallest pitch to be included in the visualization. If undefined, this will be computed from the NoteSequence being visualized.

param

The biggest pitch to be included in the visualization. If undefined, this will be computed from the NoteSequence being visualized.

Hierarchy

Index

Properties

Optional activeNoteRGB

activeNoteRGB: string

Optional maxPitch

maxPitch: number

Optional minPitch

minPitch: number

Optional noteHeight

noteHeight: number

Optional noteRGB

noteRGB: string

Optional noteSpacing

noteSpacing: number

Optional pixelsPerTimeStep

pixelsPerTimeStep: number

Generated using TypeDoc