{
  "$type": "at.atmosynth.module",
  "descriptionVersion": 1,
  "moduleId": "808-cymbal",
  "versionKey": "1",
  "name": "808 cymbal",
  "description": "The cymbal of the Roland TR-808, ported from io-808's Web Audio graph (MIT, Copyright (c) 2016 Vincent Riemer): six squares at 263, 400, 421, 474, 587 and 845 Hz, split into three bands that each die away exponentially. The low band, a 5 kHz band-pass and high-pass, rings for Decay, in milliseconds; the middle, at 10 kHz, for 400 ms; the top, a 10 kHz band-pass and an 8 kHz high-pass, for 150 ms. Tone moves the level from the low band to the top one, from 0 to 100 as io-808's knob does, since it sets two levels at once, one rising as the other falls. Level is the gain at the end, and how hard a note is struck scales the whole cymbal. Each note is a hit of its own. An automation is counted in whole milliseconds and io-808 opens its envelopes in a fraction of one, so each opens by a clock drawn finer, from the strike, and falls by an automation.",
  "audioInputs": [],
  "audioOutputs": [
    {
      "id": "out",
      "label": "Out"
    }
  ],
  "midiInputs": [
    {
      "id": "midi",
      "label": "Note"
    }
  ],
  "nodes": [
    {
      "id": "note",
      "kind": "midiInput",
      "options": {
        "midiInput": "midi"
      }
    },
    {
      "id": "one",
      "kind": "constantSource",
      "options": {}
    },
    {
      "id": "bank",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "bankGain",
      "kind": "waveShaper",
      "options": {
        "curve": [
          "-0.7",
          "-0.7"
        ]
      }
    },
    {
      "id": "square263",
      "kind": "oscillator",
      "options": {
        "type": "square"
      }
    },
    {
      "id": "square263Frequency",
      "kind": "waveShaper",
      "options": {
        "curve": [
          -177,
          -177
        ]
      }
    },
    {
      "id": "square400",
      "kind": "oscillator",
      "options": {
        "type": "square"
      }
    },
    {
      "id": "square400Frequency",
      "kind": "waveShaper",
      "options": {
        "curve": [
          -40,
          -40
        ]
      }
    },
    {
      "id": "square421",
      "kind": "oscillator",
      "options": {
        "type": "square"
      }
    },
    {
      "id": "square421Frequency",
      "kind": "waveShaper",
      "options": {
        "curve": [
          -19,
          -19
        ]
      }
    },
    {
      "id": "square474",
      "kind": "oscillator",
      "options": {
        "type": "square"
      }
    },
    {
      "id": "square474Frequency",
      "kind": "waveShaper",
      "options": {
        "curve": [
          34,
          34
        ]
      }
    },
    {
      "id": "square587",
      "kind": "oscillator",
      "options": {
        "type": "square"
      }
    },
    {
      "id": "square587Frequency",
      "kind": "waveShaper",
      "options": {
        "curve": [
          147,
          147
        ]
      }
    },
    {
      "id": "square845",
      "kind": "oscillator",
      "options": {
        "type": "square"
      }
    },
    {
      "id": "square845Frequency",
      "kind": "waveShaper",
      "options": {
        "curve": [
          405,
          405
        ]
      }
    },
    {
      "id": "level",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "out",
      "kind": "moduleOutput",
      "options": {
        "output": "out"
      }
    },
    {
      "id": "unit",
      "kind": "waveShaper",
      "options": {
        "curve": [
          1,
          1
        ]
      }
    },
    {
      "id": "tone",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "toneShare",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "toneShareGain",
      "kind": "waveShaper",
      "options": {
        "curve": [
          "-0.99",
          "-0.99"
        ]
      }
    },
    {
      "id": "clock",
      "kind": "constantSource",
      "options": {}
    },
    {
      "id": "lowOpen",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "opens0_1",
      "kind": "waveShaper",
      "options": {
        "curve": [
          -1,
          "-0.9",
          "-0.8",
          "-0.7",
          "-0.6",
          "-0.5",
          "-0.4",
          "-0.3",
          "-0.2",
          "-0.1",
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0
        ]
      }
    },
    {
      "id": "midOpen",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "lowBand",
      "kind": "biquadFilter",
      "options": {
        "type": "bandpass"
      }
    },
    {
      "id": "lowBandFrequency",
      "kind": "waveShaper",
      "options": {
        "curve": [
          4650,
          4650
        ]
      }
    },
    {
      "id": "low",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "lowShare",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "lowAmount",
      "kind": "waveShaper",
      "options": {
        "curve": [
          "-0.334",
          "-0.334",
          -1
        ]
      }
    },
    {
      "id": "lowHigh",
      "kind": "biquadFilter",
      "options": {
        "type": "highpass"
      }
    },
    {
      "id": "lowHighFrequency",
      "kind": "waveShaper",
      "options": {
        "curve": [
          4650,
          4650
        ]
      }
    },
    {
      "id": "midBand",
      "kind": "biquadFilter",
      "options": {
        "type": "bandpass"
      }
    },
    {
      "id": "midBandFrequency",
      "kind": "waveShaper",
      "options": {
        "curve": [
          9650,
          9650
        ]
      }
    },
    {
      "id": "mid",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "midHigh",
      "kind": "biquadFilter",
      "options": {
        "type": "highpass"
      }
    },
    {
      "id": "midHighFrequency",
      "kind": "waveShaper",
      "options": {
        "curve": [
          9650,
          9650
        ]
      }
    },
    {
      "id": "top",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "topShare",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "topAmount",
      "kind": "waveShaper",
      "options": {
        "curve": [
          -1,
          -1,
          "-0.334"
        ]
      }
    },
    {
      "id": "topHigh",
      "kind": "biquadFilter",
      "options": {
        "type": "highpass"
      }
    },
    {
      "id": "topHighFrequency",
      "kind": "waveShaper",
      "options": {
        "curve": [
          7650,
          7650
        ]
      }
    },
    {
      "id": "hold",
      "kind": "constantSource",
      "options": {}
    }
  ],
  "connections": [
    {
      "from": {
        "node": "one",
        "output": 0
      },
      "to": {
        "node": "bankGain",
        "input": 0
      }
    },
    {
      "from": {
        "node": "bankGain",
        "output": 0
      },
      "to": {
        "node": "bank",
        "param": "gain"
      }
    },
    {
      "from": {
        "node": "one",
        "output": 0
      },
      "to": {
        "node": "square263Frequency",
        "input": 0
      }
    },
    {
      "from": {
        "node": "square263Frequency",
        "output": 0
      },
      "to": {
        "node": "square263",
        "param": "frequency"
      }
    },
    {
      "from": {
        "node": "square263",
        "output": 0
      },
      "to": {
        "node": "bank",
        "input": 0
      }
    },
    {
      "from": {
        "node": "one",
        "output": 0
      },
      "to": {
        "node": "square400Frequency",
        "input": 0
      }
    },
    {
      "from": {
        "node": "square400Frequency",
        "output": 0
      },
      "to": {
        "node": "square400",
        "param": "frequency"
      }
    },
    {
      "from": {
        "node": "square400",
        "output": 0
      },
      "to": {
        "node": "bank",
        "input": 0
      }
    },
    {
      "from": {
        "node": "one",
        "output": 0
      },
      "to": {
        "node": "square421Frequency",
        "input": 0
      }
    },
    {
      "from": {
        "node": "square421Frequency",
        "output": 0
      },
      "to": {
        "node": "square421",
        "param": "frequency"
      }
    },
    {
      "from": {
        "node": "square421",
        "output": 0
      },
      "to": {
        "node": "bank",
        "input": 0
      }
    },
    {
      "from": {
        "node": "one",
        "output": 0
      },
      "to": {
        "node": "square474Frequency",
        "input": 0
      }
    },
    {
      "from": {
        "node": "square474Frequency",
        "output": 0
      },
      "to": {
        "node": "square474",
        "param": "frequency"
      }
    },
    {
      "from": {
        "node": "square474",
        "output": 0
      },
      "to": {
        "node": "bank",
        "input": 0
      }
    },
    {
      "from": {
        "node": "one",
        "output": 0
      },
      "to": {
        "node": "square587Frequency",
        "input": 0
      }
    },
    {
      "from": {
        "node": "square587Frequency",
        "output": 0
      },
      "to": {
        "node": "square587",
        "param": "frequency"
      }
    },
    {
      "from": {
        "node": "square587",
        "output": 0
      },
      "to": {
        "node": "bank",
        "input": 0
      }
    },
    {
      "from": {
        "node": "one",
        "output": 0
      },
      "to": {
        "node": "square845Frequency",
        "input": 0
      }
    },
    {
      "from": {
        "node": "square845Frequency",
        "output": 0
      },
      "to": {
        "node": "square845",
        "param": "frequency"
      }
    },
    {
      "from": {
        "node": "square845",
        "output": 0
      },
      "to": {
        "node": "bank",
        "input": 0
      }
    },
    {
      "from": {
        "node": "level",
        "output": 0
      },
      "to": {
        "node": "out",
        "input": 0
      }
    },
    {
      "from": {
        "node": "one",
        "output": 0
      },
      "to": {
        "node": "unit",
        "input": 0
      }
    },
    {
      "from": {
        "node": "unit",
        "output": 0
      },
      "to": {
        "node": "tone",
        "input": 0
      }
    },
    {
      "from": {
        "node": "one",
        "output": 0
      },
      "to": {
        "node": "toneShareGain",
        "input": 0
      }
    },
    {
      "from": {
        "node": "toneShareGain",
        "output": 0
      },
      "to": {
        "node": "toneShare",
        "param": "gain"
      }
    },
    {
      "from": {
        "node": "tone",
        "output": 0
      },
      "to": {
        "node": "toneShare",
        "input": 0
      }
    },
    {
      "from": {
        "node": "clock",
        "output": 0
      },
      "to": {
        "node": "opens0_1",
        "input": 0
      }
    },
    {
      "from": {
        "node": "opens0_1",
        "output": 0
      },
      "to": {
        "node": "lowOpen",
        "param": "gain"
      }
    },
    {
      "from": {
        "node": "opens0_1",
        "output": 0
      },
      "to": {
        "node": "midOpen",
        "param": "gain"
      }
    },
    {
      "from": {
        "node": "one",
        "output": 0
      },
      "to": {
        "node": "lowBandFrequency",
        "input": 0
      }
    },
    {
      "from": {
        "node": "lowBandFrequency",
        "output": 0
      },
      "to": {
        "node": "lowBand",
        "param": "frequency"
      }
    },
    {
      "from": {
        "node": "toneShare",
        "output": 0
      },
      "to": {
        "node": "lowAmount",
        "input": 0
      }
    },
    {
      "from": {
        "node": "lowAmount",
        "output": 0
      },
      "to": {
        "node": "lowShare",
        "param": "gain"
      }
    },
    {
      "from": {
        "node": "one",
        "output": 0
      },
      "to": {
        "node": "lowHighFrequency",
        "input": 0
      }
    },
    {
      "from": {
        "node": "lowHighFrequency",
        "output": 0
      },
      "to": {
        "node": "lowHigh",
        "param": "frequency"
      }
    },
    {
      "from": {
        "node": "bank",
        "output": 0
      },
      "to": {
        "node": "lowBand",
        "input": 0
      }
    },
    {
      "from": {
        "node": "lowBand",
        "output": 0
      },
      "to": {
        "node": "lowOpen",
        "input": 0
      }
    },
    {
      "from": {
        "node": "lowOpen",
        "output": 0
      },
      "to": {
        "node": "low",
        "input": 0
      }
    },
    {
      "from": {
        "node": "low",
        "output": 0
      },
      "to": {
        "node": "lowShare",
        "input": 0
      }
    },
    {
      "from": {
        "node": "lowShare",
        "output": 0
      },
      "to": {
        "node": "lowHigh",
        "input": 0
      }
    },
    {
      "from": {
        "node": "lowHigh",
        "output": 0
      },
      "to": {
        "node": "level",
        "input": 0
      }
    },
    {
      "from": {
        "node": "one",
        "output": 0
      },
      "to": {
        "node": "midBandFrequency",
        "input": 0
      }
    },
    {
      "from": {
        "node": "midBandFrequency",
        "output": 0
      },
      "to": {
        "node": "midBand",
        "param": "frequency"
      }
    },
    {
      "from": {
        "node": "one",
        "output": 0
      },
      "to": {
        "node": "midHighFrequency",
        "input": 0
      }
    },
    {
      "from": {
        "node": "midHighFrequency",
        "output": 0
      },
      "to": {
        "node": "midHigh",
        "param": "frequency"
      }
    },
    {
      "from": {
        "node": "bank",
        "output": 0
      },
      "to": {
        "node": "midBand",
        "input": 0
      }
    },
    {
      "from": {
        "node": "midBand",
        "output": 0
      },
      "to": {
        "node": "midOpen",
        "input": 0
      }
    },
    {
      "from": {
        "node": "midOpen",
        "output": 0
      },
      "to": {
        "node": "mid",
        "input": 0
      }
    },
    {
      "from": {
        "node": "mid",
        "output": 0
      },
      "to": {
        "node": "midHigh",
        "input": 0
      }
    },
    {
      "from": {
        "node": "midHigh",
        "output": 0
      },
      "to": {
        "node": "level",
        "input": 0
      }
    },
    {
      "from": {
        "node": "toneShare",
        "output": 0
      },
      "to": {
        "node": "topAmount",
        "input": 0
      }
    },
    {
      "from": {
        "node": "topAmount",
        "output": 0
      },
      "to": {
        "node": "topShare",
        "param": "gain"
      }
    },
    {
      "from": {
        "node": "one",
        "output": 0
      },
      "to": {
        "node": "topHighFrequency",
        "input": 0
      }
    },
    {
      "from": {
        "node": "topHighFrequency",
        "output": 0
      },
      "to": {
        "node": "topHigh",
        "param": "frequency"
      }
    },
    {
      "from": {
        "node": "midOpen",
        "output": 0
      },
      "to": {
        "node": "top",
        "input": 0
      }
    },
    {
      "from": {
        "node": "top",
        "output": 0
      },
      "to": {
        "node": "topShare",
        "input": 0
      }
    },
    {
      "from": {
        "node": "topShare",
        "output": 0
      },
      "to": {
        "node": "topHigh",
        "input": 0
      }
    },
    {
      "from": {
        "node": "topHigh",
        "output": 0
      },
      "to": {
        "node": "level",
        "input": 0
      }
    }
  ],
  "automation": [
    {
      "id": "clock",
      "label": "Clock",
      "target": {
        "node": "clock",
        "param": "offset"
      },
      "breakpoints": [
        {
          "time": 0,
          "value": "-1",
          "curve": "step"
        },
        {
          "time": 5,
          "value": "1",
          "curve": "linear"
        }
      ]
    },
    {
      "id": "low",
      "label": "Low band",
      "target": {
        "node": "low",
        "param": "gain"
      },
      "breakpoints": [
        {
          "time": 0,
          "value": "1",
          "curve": "step"
        },
        {
          "time": 1125,
          "value": "0.0003",
          "curve": "exponential"
        }
      ]
    },
    {
      "id": "mid",
      "label": "Middle band",
      "target": {
        "node": "mid",
        "param": "gain"
      },
      "breakpoints": [
        {
          "time": 0,
          "value": "0.333",
          "curve": "step"
        },
        {
          "time": 400,
          "value": "0.0001",
          "curve": "exponential"
        }
      ]
    },
    {
      "id": "top",
      "label": "Top band",
      "target": {
        "node": "top",
        "param": "gain"
      },
      "breakpoints": [
        {
          "time": 0,
          "value": "1",
          "curve": "step"
        },
        {
          "time": 150,
          "value": "0.0003",
          "curve": "exponential"
        }
      ]
    },
    {
      "id": "hold",
      "label": "Hit length",
      "target": {
        "node": "hold",
        "param": "offset"
      },
      "breakpoints": [
        {
          "time": 0,
          "value": "1",
          "curve": "step"
        },
        {
          "time": 0,
          "value": "0",
          "curve": "step"
        },
        {
          "time": 1600,
          "value": "0",
          "curve": "step"
        }
      ],
      "sustainAt": 0
    }
  ],
  "parameters": [
    {
      "id": "level",
      "label": "Level",
      "range": {
        "min": "0",
        "max": "1"
      },
      "default": "0.92",
      "targets": [
        {
          "node": "level",
          "param": "gain"
        }
      ]
    },
    {
      "id": "tone",
      "label": "Tone (0–100)",
      "range": {
        "min": "0",
        "max": "100"
      },
      "default": "50",
      "targets": [
        {
          "node": "tone",
          "param": "gain"
        }
      ]
    },
    {
      "id": "decay",
      "label": "Decay (ms)",
      "range": {
        "min": "700",
        "max": "1550"
      },
      "default": "1125",
      "targets": [
        {
          "automation": "low",
          "breakpoint": 1,
          "field": "duration"
        }
      ]
    }
  ],
  "sampleSlots": [],
  "createdAt": "2026-11-18T00:00:00.000Z"
}