Options
All
  • Public
  • Public/Protected
  • All
Menu

Options for the SuperScope component

Hierarchy

  • ISuperScopeOpts

Index

Properties

blendMode

blendMode: string

Blend mode for superscope. Default: REPLACE

channel

channel: string

Channel for scope values. Default: CENTER

clone

clone: number

Number of times this superscope instance should be cloned. Default: 1

code

code: object

EEL code to control drawing of scope

EEL Variables:

  • red:(ReadWrite, perPoint)` Set red of color (0-1)
  • green: (ReadWrite, perPoint) Set green of color (0-1)
  • blue: (ReadWrite, perPoint) Set blue of color (0-1)
  • n: (ReadWrite, init/perFrame/onBeat) Set the number of points to be drawn
  • b: (Read, onBeat/perFrame/perPixel) - 0/1 value indicate a beat
  • i: (Read, perPixel) - (0-1) value indicating index of current point
  • v: (Read, perPixel) - (0-1) value indicating value of scope at current point
  • x: (Write, perPixel) - set this to set position of current point
  • y: (Write, perPixel) - set this to set position of current point

Type declaration

  • init: string

    EEL that'll be run on init

  • onBeat: string

    EEL code that's run on beat

  • perFrame: string

    EEL code that's run per frame

  • perPoint: string

    EEL code that's run for each point

colors

colors: string[]

Colors that the superscope should cycle through. RGB values set through EEL override this color. Default: ["#FFFFFF"]

cycleSpeed

cycleSpeed: number

Speed at which superscope colors will be cycled. Default: 0.01

drawMode

drawMode: string

Drawing mode for the scope. see SuperScopeDrawMode. Default: LINES

source

source: string

Data source of scope value. Default: SPECTRUM

thickness

thickness: number

Thickness of dots/line. Default: 1