{
  "fonts": [{ "family": "JetBrains Mono", "path": "fonts/JetBrainsMono.ttf" }],
  "compositions": [{
    "id": "waveform", "description": "The waveform layer's three modes on the same track: bars, mirror and line (sound on)",
    "width": 1280, "height": 720, "fps": 30, "duration": "4s",
    "background": "#f4f1ea",
    "layers": [
      { "id": "music", "type": "audio", "src": "assets/music.mp3" },
      { "id": "label", "type": "text", "text": "${pick(i, ['bars', 'mirror', 'line'])}", "font": "JetBrains Mono", "fontSize": 15,
        "letterSpacing": 1.8, "uppercase": true, "fill": "#8a857a", "anchor": "left", "x": 100, "y": 360,
        "repeat": { "count": 3, "layout": "column", "spacing": 210 } },
      { "id": "bars", "type": "waveform", "src": "assets/music.mp3", "mode": "bars", "bars": 40, "gap": 0.3,
        "width": 900, "height": 150, "x": 690, "y": 150, "cornerRadius": 3, "fill": "#161412" },
      { "id": "mirror", "type": "waveform", "src": "assets/music.mp3", "mode": "mirror", "bars": 64, "gap": 0.35,
        "width": 900, "height": 150, "x": 690, "y": 360, "cornerRadius": 2,
        "fill": { "type": "linear", "angle": 90, "stops": ["#8a857a", "#161412"] } },
      { "id": "scope", "type": "waveform", "src": "assets/music.mp3", "mode": "line", "width": 900, "height": 150,
        "x": 690, "y": 570, "stroke": "#c92a26", "strokeWidth": 2.5 },
      { "id": "divider", "type": "rect", "width": 1080, "height": 1, "fill": "#d8d1c1", "x": 640, "y": 360,
        "repeat": { "count": 2, "layout": "column", "spacing": 210 } }
    ]
  }]
}
