{
  "format": "forge.graph/0",
  "name": "Clip Lab",
  "author": "Chirp",
  "license": "CC-BY-4.0",
  "remixed_from": null,
  "description": "Every clipping curve in one pedal: the Curve knob steps through soft, hard, diode, tube, cubic, fuzz and wavefold while you play, so you can hear what each does to the same notes. Bias makes any of them lopsided; Blend mixes the dry signal back in.",
  "tags": [
    "distortion",
    "experimental",
    "learning"
  ],
  "face": {
    "display": { "kind": "meter", "label": "Clip", "source": "clip:hot.L", "range": [0, 1] },
    "knobs": [
      {
        "id": "drive",
        "label": "Drive",
        "default": 0.45,
        "controls": [
          {
            "target": "clip.drive",
            "from": 1,
            "to": 40,
            "curve": "exp"
          }
        ]
      },
      {
        "id": "curve",
        "label": "Curve",
        "default": 0,
        "controls": [
          {
            "target": "clip.type",
            "from": 0,
            "to": 6
          }
        ]
      },
      {
        "id": "bias",
        "label": "Bias",
        "default": 0.5,
        "controls": [
          {
            "target": "clip.bias",
            "from": -0.6,
            "to": 0.6
          }
        ]
      },
      {
        "id": "tone",
        "label": "Tone",
        "default": 0.6,
        "controls": [
          {
            "target": "tone.cutoff",
            "from": 1000,
            "to": 12000,
            "curve": "exp"
          }
        ]
      },
      {
        "id": "level",
        "label": "Level",
        "default": 0.45,
        "controls": [
          {
            "target": "level.amount",
            "from": 0.1,
            "to": 1.0
          }
        ]
      },
      {
        "id": "blend",
        "label": "Blend",
        "default": 1,
        "controls": [
          {
            "target": "mixer.mix",
            "from": 0,
            "to": 1
          }
        ]
      }
    ]
  },
  "nodes": {
    "clip": {
      "block": "clip",
      "set": {
        "level": 0.6
      },
      "in": {
        "x": "in"
      }
    },
    "tone": {
      "block": "onepole",
      "in": {
        "x": "clip"
      }
    },
    "level": {
      "block": "gain",
      "in": {
        "x": "tone"
      }
    },
    "mixer": {
      "block": "blend",
      "in": {
        "dry": "in",
        "wet": "level"
      }
    }
  },
  "out": "mixer"
}
