{
  "format": "forge.graph/0",
  "name": "Stereo Imager",
  "author": "Chirp",
  "license": "CC-BY-4.0",
  "remixed_from": null,
  "description": "Makes a mono guitar wide and sets how wide a stereo one is. Spread delays the right side by a few milliseconds (the Haas trick: the ear hears width, not an echo); Width then narrows the image to mono or pushes it wider than the source.",
  "tags": ["utility", "stereo", "width"],
  "face": {
    "knobs": [
      { "id": "spread", "label": "Spread", "default": 0.4,
        "controls": [ { "target": "amount.v", "from": 0, "to": 1 },
                      { "target": "late.time", "from": 0.004, "to": 0.022, "curve": "exp" } ] },
      { "id": "width", "label": "Width", "default": 0.5,
        "controls": [ { "target": "width.amount", "from": 0.5, "to": -0.5 } ] }
    ]
  },
  "nodes": {
    "left": { "block": "balance", "set": { "pos": -1 }, "in": { "x": "in" } },
    "late": { "block": "delay", "mono": true, "set": { "max": 0.05 }, "in": { "x": "in" } },
    "right": { "block": "balance", "set": { "pos": 1 }, "in": { "x": "late" } },
    "amount": { "block": "value", "mono": true },
    "spread": { "block": "formula", "set": { "expr": "mix(a, b, c)" }, "in": { "a": "in", "b": ["left", "right"], "c": "amount" } },
    "width": { "block": "cross", "in": { "x": "spread" } }
  },
  "out": "width"
}
