Skip to content

Lighting Datagram

Your content here

SlotNameValueNotes
Header
0Header 10x59”Y”
1Header 20x41”A”
2Header 30x52”R”
3Header 40x47”G”
Technical Information
4Datagram Version0x00Will be incremented when this protocol changes
5PlatformbyteUnknown = 0, Windows = 1, Linux = 2, Mac = 3
Game Information
6Current ScenebyteUnknown = 0, Menu = 1, Gameplay = 2, Score = 3, Calibration = 4
7Pause statebyteNot paused = 0, Paused = 1
8Venue sizebyteNot in venue = 0, Small venue = 1, Large Venue = 2
Current Instrument Notes
7GuitarbyteSee below
8BassbyteSee below
9DrumsbyteSee below
10KeysbyteSee below
11Vocalsbyte?
Lighting Information
12Lighting CuebyteSee below
13Post ProcessingbyteSee below
14FogbyteOff = 0, On = 1
15StrobebyteOff=0, Slow=1, Medium=2, Fast=3, Fastest=4
16Performer0x00Not yet implemented
17BeatbyteOff = 0, Measure = 1, Strong = 2, Weak 3
18KeyframebyteOff = 0, Next = 1, Previous = 2, First = 3
19Bonus effectsbyteOff = 0, Triggered = 1

Sing-alongs Spotlights Camera Cuts

This channel changes whenever a lighting cue is read from the Venue track of a song, load into the score screen, or load into the general menu. NoCue is only briefly used when YARG first boots but hasn’t loaded Menu Lighting yet.

MeaningValue
NoCue0
Menu10
Score20
Intro30
Verse40
Chorus50
Cool (Loop)60
Warm (Loop)70
Cool (Manual)80
Warm (Manual)90
Dischord100
Stomp110
Default120
Harmony130
Frenzy140
Silhouettes150
Silhouettes Spotlight160
Searchlights170
Sweep180
Blackout (Fast)190
Blackout (Slow)200
Blackout (Spotlight)210
Flare (Slow)220
Flare (Fast)230
Big Rock Ending240

Post-processing is the visual effects that are happening to the on screen venue and characters.

MeaningValue
Default0
Basic effects
Bloom4
Bright14
Contrast24
Mirror34
Photo Negative44
Posterize54
Color filters/effects
Black And White64
Sepia Tone74
Silver Tone84
Choppy Black And White94
Photo Negative Red And Black104
Polarized Black And White114
Polarized Red And Blue124
Desaturated Red134
Desaturated Blue144
Contrast Red154
Contrast Green164
Contrast Blue174
Grainy
Grainy Film184
Grainy Chromatic Abberation194
Scanlines
Scanlines204
Scanlines Black And White214
Scanlines Blue224
Scanlines Security234
Trails
Trails244
Trails Long252
Trails Desaturated253
Trails Flickery254
Trails Spacey255

This channel tracks the currently playing drum notes. This is a bitmath channel! See notes below.

PadValue
None0
Kick1
RedDrum2
YellowDrum4
BlueDrum8
GreenDrum16
YellowCymbal32
BlueCymbal64
GreenCymbal128

This channel tracks the currently playing guitar notes. This is a bitmath channel! See notes below.

MeaningValue
None0
Open1
Green2
Red4
Yellow8
Blue16
Orange32

This channel tracks the currently playing bass notes. This is a bitmath channel! See notes below.

FretValue
None0
Open1
Green2
Red4
Yellow8
Blue16
Orange32

This channel tracks the currently playing key notes. This is a bitmath channel! See notes below.

KeyValue
None0
Green2
Red4
Yellow8
Blue16
Orange32