{
  "$type": "at.atmosynth.module",
  "descriptionVersion": 1,
  "moduleId": "mixer",
  "versionKey": "1",
  "name": "Mixer",
  "description": "Sums up to four inputs into one, each at its own level. The output level is a modulation input as well as a knob: patch an LFO into Level for a tremolo, where Output level is the middle of the swing and Level amount how far it moves either side.",
  "audioInputs": [
    {
      "id": "in1",
      "label": "In 1"
    },
    {
      "id": "in2",
      "label": "In 2"
    },
    {
      "id": "in3",
      "label": "In 3"
    },
    {
      "id": "in4",
      "label": "In 4"
    },
    {
      "id": "level",
      "label": "Level"
    }
  ],
  "audioOutputs": [
    {
      "id": "out",
      "label": "Out"
    }
  ],
  "midiInputs": [],
  "nodes": [
    {
      "id": "p1",
      "kind": "moduleInput",
      "options": {
        "input": "in1"
      }
    },
    {
      "id": "p2",
      "kind": "moduleInput",
      "options": {
        "input": "in2"
      }
    },
    {
      "id": "p3",
      "kind": "moduleInput",
      "options": {
        "input": "in3"
      }
    },
    {
      "id": "p4",
      "kind": "moduleInput",
      "options": {
        "input": "in4"
      }
    },
    {
      "id": "g1",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "g2",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "g3",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "g4",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "mix",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "levelin",
      "kind": "moduleInput",
      "options": {
        "input": "level"
      }
    },
    {
      "id": "leveldepth",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "out",
      "kind": "moduleOutput",
      "options": {
        "output": "out"
      }
    }
  ],
  "connections": [
    {
      "from": {
        "node": "p1",
        "output": 0
      },
      "to": {
        "node": "g1",
        "input": 0
      }
    },
    {
      "from": {
        "node": "p2",
        "output": 0
      },
      "to": {
        "node": "g2",
        "input": 0
      }
    },
    {
      "from": {
        "node": "p3",
        "output": 0
      },
      "to": {
        "node": "g3",
        "input": 0
      }
    },
    {
      "from": {
        "node": "p4",
        "output": 0
      },
      "to": {
        "node": "g4",
        "input": 0
      }
    },
    {
      "from": {
        "node": "g1",
        "output": 0
      },
      "to": {
        "node": "mix",
        "input": 0
      }
    },
    {
      "from": {
        "node": "g2",
        "output": 0
      },
      "to": {
        "node": "mix",
        "input": 0
      }
    },
    {
      "from": {
        "node": "g3",
        "output": 0
      },
      "to": {
        "node": "mix",
        "input": 0
      }
    },
    {
      "from": {
        "node": "g4",
        "output": 0
      },
      "to": {
        "node": "mix",
        "input": 0
      }
    },
    {
      "from": {
        "node": "mix",
        "output": 0
      },
      "to": {
        "node": "out",
        "input": 0
      }
    },
    {
      "from": {
        "node": "levelin",
        "output": 0
      },
      "to": {
        "node": "leveldepth",
        "input": 0
      }
    },
    {
      "from": {
        "node": "leveldepth",
        "output": 0
      },
      "to": {
        "node": "mix",
        "param": "gain"
      }
    }
  ],
  "automation": [],
  "parameters": [
    {
      "id": "level1",
      "label": "Level 1",
      "range": {
        "min": "0",
        "max": "2"
      },
      "default": "1",
      "targets": [
        {
          "node": "g1",
          "param": "gain"
        }
      ]
    },
    {
      "id": "level2",
      "label": "Level 2",
      "range": {
        "min": "0",
        "max": "2"
      },
      "default": "0",
      "targets": [
        {
          "node": "g2",
          "param": "gain"
        }
      ]
    },
    {
      "id": "level3",
      "label": "Level 3",
      "range": {
        "min": "0",
        "max": "2"
      },
      "default": "0",
      "targets": [
        {
          "node": "g3",
          "param": "gain"
        }
      ]
    },
    {
      "id": "level4",
      "label": "Level 4",
      "range": {
        "min": "0",
        "max": "2"
      },
      "default": "0",
      "targets": [
        {
          "node": "g4",
          "param": "gain"
        }
      ]
    },
    {
      "id": "output",
      "label": "Output level",
      "range": {
        "min": "0",
        "max": "2"
      },
      "default": "1",
      "targets": [
        {
          "node": "mix",
          "param": "gain"
        }
      ]
    },
    {
      "id": "levelAmount",
      "label": "Level amount",
      "range": {
        "min": "0",
        "max": "1"
      },
      "default": "0.5",
      "targets": [
        {
          "node": "leveldepth",
          "param": "gain"
        }
      ]
    }
  ],
  "sampleSlots": [],
  "createdAt": "2026-08-28T00:00:00.000Z"
}