{
  "format": "forge.graph/0",
  "name": "Backwards Sync",
  "author": "Chirp",
  "license": "CC-BY-4.0",
  "remixed_from": { "id": "0254757d52f395ce", "name": "Backwards", "author": "Chirp",
                    "note": "The reversed chunks now last a note value instead of a time: the Length knob became a Division menu, so each backwards swell lands on the beat at any tempo." },
  "description": "Plays what you just played in reverse, in chunks a beat, a dotted eighth or an eighth note long, so the sucked-in swells land in time with the song. Feedback sends the reversed sound back in to be reversed again.",
  "tags": ["reverse", "delay", "experimental", "tempo"],
  "face": {
    "display": { "kind": "lamp", "label": "Time", "source": "beat:gate", "range": [0, 1] },
    "knobs": [
      { "id": "feedback", "label": "Repeats", "default": 0.3,
        "controls": [ { "target": "fb.amount", "from": 0, "to": 0.6 } ] },
      { "id": "mix", "label": "Mix", "default": 0.45,
        "controls": [ { "target": "mixer.mix", "from": 0, "to": 1 } ] },
      { "id": "tone", "label": "Tone", "default": 0.6,
        "controls": [ { "target": "tone.cutoff", "from": 1500, "to": 12000, "curve": "exp" } ] },
      { "id": "splice", "label": "Splice", "default": 0.2,
        "controls": [ { "target": "rev.sharpness", "from": 0, "to": 1 } ] }
    ],
    "menus": [
      { "id": "division", "label": "Division", "options": ["1/4", "1/8 dot", "1/8"], "default": 0,
        "controls": [ { "target": "rev.chunk", "unit": "beats", "values": [1, 0.75, 0.5] },
                      { "target": "beat.rate", "unit": "per_beat", "values": [2, 2.6667, 4] } ] }
    ]
  },
  "nodes": {
    "beat": { "block": "rhythm", "mono": true, "set": { "steps": 2, "pattern": 1, "smooth": 0 } },
    "memory": { "block": "delay", "set": { "time": 0.01 }, "in": { "x": ["in", "fb"] } },
    "rev": { "block": "reverse", "in": { "of": "memory" } },
    "tone": { "block": "onepole", "in": { "x": "rev" } },
    "fb": { "block": "gain", "in": { "x": "tone" } },
    "mixer": { "block": "blend", "in": { "dry": "in", "wet": "tone" } }
  },
  "out": "mixer"
}
