Examples / visualizer
visualizer.json
targets v0.34.0 6 entities 6 schemas
A preset deck: two kind preset assets, a rig.pixel.canvas output, rig.audio.analysis (live input, publish onset / note / color / temperature), and rig.picture.analysis pointed at the canvas. rig.visualizer.deck switchOn is onset. Live color values are not in the file.
Speaks
rig.audio.analysis · rig.media.asset_ref · rig.meta.named · rig.picture.analysis · rig.pixel.canvas · rig.visualizer.deck
Document
Validates under npm run check —
raw file ·
open in RigPlayer —
drop it in, press play, remix it, share the link.
{
"rig": "0.34.0",
"document": {
"title": "Visualizer deck",
"defaultUnit": "px"
},
"entities": [
{
"id": "preset-a",
"components": {
"rig.meta.named": {
"name": "preset-a",
"stableId": "preset-a"
},
"rig.media.asset_ref": {
"kind": "preset",
"path": "presets/warm.vis"
}
}
},
{
"id": "preset-b",
"components": {
"rig.meta.named": {
"name": "preset-b",
"stableId": "preset-b"
},
"rig.media.asset_ref": {
"kind": "preset",
"path": "presets/cold.vis"
}
}
},
{
"id": "bed",
"components": {
"rig.meta.named": {
"name": "bed",
"stableId": "bed"
},
"rig.pixel.canvas": {
"width": 1280,
"height": 720
}
}
},
{
"id": "listen",
"components": {
"rig.meta.named": {
"name": "listen",
"stableId": "listen"
},
"rig.audio.analysis": {
"source": "input",
"bandCount": 32,
"features": [
"onset",
"note",
"color",
"temperature"
]
}
}
},
{
"id": "look",
"components": {
"rig.meta.named": {
"name": "look",
"stableId": "look"
},
"rig.picture.analysis": {
"source": "bed",
"features": [
"color",
"temperature"
]
}
}
},
{
"id": "deck",
"components": {
"rig.meta.named": {
"name": "deck",
"stableId": "deck"
},
"rig.visualizer.deck": {
"presets": [
"preset-a",
"preset-b"
],
"index": 0,
"playing": true,
"shuffle": false,
"switchOn": "onset",
"analysis": "listen",
"output": "bed"
}
}
}
]
}