{
  "$type": "at.atmosynth.module",
  "descriptionVersion": 1,
  "moduleId": "pan",
  "versionKey": "1",
  "name": "Pan",
  "description": "Places a sound between the two speakers: left at minus one, right at plus one, in the middle at nothing. Pan is an input as well as a knob, so an LFO patched into it sweeps the sound across and back, and Pan amount is how far. Asked to go further than hard left or hard right it stays there — the sound cannot leave the speakers.",
  "audioInputs": [
    {
      "id": "in",
      "label": "In"
    },
    {
      "id": "pan",
      "label": "Pan"
    }
  ],
  "audioOutputs": [
    {
      "id": "out",
      "label": "Out"
    }
  ],
  "midiInputs": [],
  "nodes": [
    {
      "id": "in",
      "kind": "moduleInput",
      "options": {
        "input": "in"
      }
    },
    {
      "id": "placer",
      "kind": "stereoPanner",
      "options": {}
    },
    {
      "id": "panin",
      "kind": "moduleInput",
      "options": {
        "input": "pan"
      }
    },
    {
      "id": "pandepth",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "out",
      "kind": "moduleOutput",
      "options": {
        "output": "out"
      }
    }
  ],
  "connections": [
    {
      "from": {
        "node": "in",
        "output": 0
      },
      "to": {
        "node": "placer",
        "input": 0
      }
    },
    {
      "from": {
        "node": "placer",
        "output": 0
      },
      "to": {
        "node": "out",
        "input": 0
      }
    },
    {
      "from": {
        "node": "panin",
        "output": 0
      },
      "to": {
        "node": "pandepth",
        "input": 0
      }
    },
    {
      "from": {
        "node": "pandepth",
        "output": 0
      },
      "to": {
        "node": "placer",
        "param": "pan"
      }
    }
  ],
  "automation": [],
  "parameters": [
    {
      "id": "pan",
      "label": "Pan",
      "range": {
        "min": "-1",
        "max": "1"
      },
      "default": "0",
      "targets": [
        {
          "node": "placer",
          "param": "pan"
        }
      ]
    },
    {
      "id": "panAmount",
      "label": "Pan amount",
      "range": {
        "min": "0",
        "max": "1"
      },
      "default": "1",
      "targets": [
        {
          "node": "pandepth",
          "param": "gain"
        }
      ]
    }
  ],
  "sampleSlots": [],
  "createdAt": "2026-08-29T00:00:00.000Z"
}