Creating
Storyboards
Script visualizer colours, styles, dimming and effects along a song's timeline.
A storyboard scripts the visuals of one song: change the visualizer colour at the chorus, fade the background dim in, start a Star Rush when the drop hits. It is a YAML file saved with the song, and Toxen has a built-in storyboard editor that draws the timeline over the player so you rarely need to write one by hand.
The format
bpm: 120
bpmOffset: 0
version: 1
author: "Your name"
variables:
accent: [182, 255, 186]
storyboard:
- start: 0 # Seconds, or a timestamp like 1:23
end: 2:30 # 2:30 is the same as 150
component: visualizerColor
data:
color: $accent # Reference a variable with $
| Field | Meaning |
|---|---|
bpm, bpmOffset |
Tempo of the song and the offset of the first beat. Beat-based components such as pulse use them |
variables |
Values you can reuse as $name in any event’s data |
storyboard |
The list of events |
start, end |
When the event begins and ends |
component |
Which component to run |
data |
The component’s arguments |
once |
true runs the event once at its start instead of every frame |
Value types
| Type | Example |
|---|---|
| Number | 1, 2.5, 0.5 |
| String | "Hello world" |
| Boolean | true, false |
| Color | [255, 255, 255] (RGB or RGBA) or "#FFFFFF" |
| VisualizerStyle | one of the style ids below |
Visualizer style ids: none, progressbar, bottom, top, topbottom, sides, center, circle, circlelogo, mirroredsingularity, mirroredsingularitywithlogo, pulsewave, waveform, orb.
Components
| Component | Data | What it does |
|---|---|---|
visualizerColor |
color |
Sets the visualizer colour |
visualizerColorTransition |
fromColor, toColor, duration |
Fades the colour |
visualizerStyle |
style |
Switches the visualizer style |
visualizerIntensity |
intensity |
Sets the bar intensity |
visualizerIntensityTransition |
fromIntensity, toIntensity, duration |
Animates the intensity |
visualizerGlow |
glow |
Turns the glow on or off |
starRushEffect |
enabled |
Turns Star Rush on or off |
starRushIntensity |
intensity |
Sets the Star Rush intensity (0 to 3) |
starRushIntensityTransition |
fromIntensity, toIntensity, duration |
Animates the Star Rush intensity |
rainfallEffect |
enabled |
Turns the rainfall effect on or off |
rainfallFrequency, rainfallSpeed, rainfallImageScale |
frequency, speed, scale |
Tunes the rainfall |
rainfallColor |
color |
Colours the rainfall |
text |
text, fontSize, font, color, x, y |
Shows text on screen |
pulse |
color, bpm, intensity, beatScale |
A beat-synced pulse of the background. beatScale is one of 4/1, 2/1, 1/1, 1/2, 1/4, 1/8 |
setBackground |
background |
Switches to another background image |
backgroundDim |
dim |
Sets the background dim (0 to 100) |
backgroundDimTransition |
fromDim, toDim, duration |
Animates the dim |
dynamicLighting |
state |
Forces audio-reactive brightness on or off |
floatingTitleReactive |
reactive |
Makes the floating title react to the audio |
cornerPulseSingle |
color, intensity, corner toggles |
Pulses one or more screen corners |
hueVisualizerSync, huePulse, hueColor, hueColorTransition |
Drive Philips Hue lights |
The editor lists the arguments of each component with placeholders and descriptions, so it is the quickest way to see what is available in your version.
Example: a colour change and a dim
storyboard:
- start: 0
end: 30
component: visualizerColor
data:
color: "#6EE7F9"
- start: 30
end: 31
component: backgroundDimTransition
data:
fromDim: 40
toDim: 70
duration: 1
Example: Star Rush
storyboard:
# Star Rush on from the start of the song
- start: 0
end: 10
component: starRushEffect
data:
enabled: true
# Build up towards the chorus
- start: 30
end: 45
component: starRushIntensityTransition
data:
fromIntensity: 1
toIntensity: 3
duration: 15
# A fixed, dramatic level for the drop
- start: 60
end: 90
component: starRushIntensity
data:
intensity: 2.5
Philips Hue
The hue* components send colours and pulses to a Philips Hue entertainment area while the song plays. Set up the bridge in Settings, then use these components to choreograph the lights alongside the visuals.