{
  "$type": "at.atmosynth.module",
  "descriptionVersion": 1,
  "moduleId": "808-cowbell",
  "versionKey": "1",
  "name": "808 cowbell",
  "description": "The cowbell of the Roland TR-808, ported from io-808's Web Audio graph (MIT, Copyright (c) 2016 Vincent Riemer): squares at 800 and 540 Hz through two amplifiers, a short one that dies in 15 ms and a long one that swells over 15 ms and dies away over 400, then a band-pass at 2640 Hz. Every key plays the same bell. Level is the gain at the end, and how hard a note is struck scales the whole bell. 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": "high",
      "kind": "oscillator",
      "options": {
        "type": "square"
      }
    },
    {
      "id": "highFrequency",
      "kind": "waveShaper",
      "options": {
        "curve": [
          360,
          360
        ]
      }
    },
    {
      "id": "low",
      "kind": "oscillator",
      "options": {
        "type": "square"
      }
    },
    {
      "id": "lowFrequency",
      "kind": "waveShaper",
      "options": {
        "curve": [
          100,
          100
        ]
      }
    },
    {
      "id": "short",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "long",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "band",
      "kind": "biquadFilter",
      "options": {
        "type": "bandpass"
      }
    },
    {
      "id": "bandFrequency",
      "kind": "waveShaper",
      "options": {
        "curve": [
          2290,
          2290
        ]
      }
    },
    {
      "id": "level",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "out",
      "kind": "moduleOutput",
      "options": {
        "output": "out"
      }
    },
    {
      "id": "clock",
      "kind": "constantSource",
      "options": {}
    },
    {
      "id": "shortOpen",
      "kind": "gain",
      "options": {}
    },
    {
      "id": "opens0_11",
      "kind": "waveShaper",
      "options": {
        "curve": [
          -1,
          "-0.909091",
          "-0.818182",
          "-0.727273",
          "-0.636364",
          "-0.545455",
          "-0.454545",
          "-0.363636",
          "-0.272727",
          "-0.181818",
          "-0.090909",
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          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": "hold",
      "kind": "constantSource",
      "options": {}
    }
  ],
  "connections": [
    {
      "from": {
        "node": "one",
        "output": 0
      },
      "to": {
        "node": "highFrequency",
        "input": 0
      }
    },
    {
      "from": {
        "node": "highFrequency",
        "output": 0
      },
      "to": {
        "node": "high",
        "param": "frequency"
      }
    },
    {
      "from": {
        "node": "one",
        "output": 0
      },
      "to": {
        "node": "lowFrequency",
        "input": 0
      }
    },
    {
      "from": {
        "node": "lowFrequency",
        "output": 0
      },
      "to": {
        "node": "low",
        "param": "frequency"
      }
    },
    {
      "from": {
        "node": "one",
        "output": 0
      },
      "to": {
        "node": "bandFrequency",
        "input": 0
      }
    },
    {
      "from": {
        "node": "bandFrequency",
        "output": 0
      },
      "to": {
        "node": "band",
        "param": "frequency"
      }
    },
    {
      "from": {
        "node": "level",
        "output": 0
      },
      "to": {
        "node": "out",
        "input": 0
      }
    },
    {
      "from": {
        "node": "clock",
        "output": 0
      },
      "to": {
        "node": "opens0_11",
        "input": 0
      }
    },
    {
      "from": {
        "node": "opens0_11",
        "output": 0
      },
      "to": {
        "node": "shortOpen",
        "param": "gain"
      }
    },
    {
      "from": {
        "node": "shortOpen",
        "output": 0
      },
      "to": {
        "node": "short",
        "input": 0
      }
    },
    {
      "from": {
        "node": "high",
        "output": 0
      },
      "to": {
        "node": "shortOpen",
        "input": 0
      }
    },
    {
      "from": {
        "node": "high",
        "output": 0
      },
      "to": {
        "node": "long",
        "input": 0
      }
    },
    {
      "from": {
        "node": "low",
        "output": 0
      },
      "to": {
        "node": "shortOpen",
        "input": 0
      }
    },
    {
      "from": {
        "node": "low",
        "output": 0
      },
      "to": {
        "node": "long",
        "input": 0
      }
    },
    {
      "from": {
        "node": "short",
        "output": 0
      },
      "to": {
        "node": "band",
        "input": 0
      }
    },
    {
      "from": {
        "node": "long",
        "output": 0
      },
      "to": {
        "node": "band",
        "input": 0
      }
    },
    {
      "from": {
        "node": "band",
        "output": 0
      },
      "to": {
        "node": "level",
        "input": 0
      }
    }
  ],
  "automation": [
    {
      "id": "short",
      "label": "Short",
      "target": {
        "node": "short",
        "param": "gain"
      },
      "breakpoints": [
        {
          "time": 0,
          "value": "0.375",
          "curve": "step"
        },
        {
          "time": 15,
          "value": "0",
          "curve": "linear"
        }
      ]
    },
    {
      "id": "long",
      "label": "Long",
      "target": {
        "node": "long",
        "param": "gain"
      },
      "breakpoints": [
        {
          "time": 0,
          "value": "0",
          "curve": "step"
        },
        {
          "time": 15,
          "value": "0.125",
          "curve": "linear"
        },
        {
          "time": 415,
          "value": "0.0001",
          "curve": "exponential"
        }
      ]
    },
    {
      "id": "clock",
      "label": "Clock",
      "target": {
        "node": "clock",
        "param": "offset"
      },
      "breakpoints": [
        {
          "time": 0,
          "value": "-1",
          "curve": "step"
        },
        {
          "time": 5,
          "value": "1",
          "curve": "linear"
        }
      ]
    },
    {
      "id": "hold",
      "label": "Hit length",
      "target": {
        "node": "hold",
        "param": "offset"
      },
      "breakpoints": [
        {
          "time": 0,
          "value": "1",
          "curve": "step"
        },
        {
          "time": 0,
          "value": "0",
          "curve": "step"
        },
        {
          "time": 450,
          "value": "0",
          "curve": "step"
        }
      ],
      "sustainAt": 0
    }
  ],
  "parameters": [
    {
      "id": "level",
      "label": "Level",
      "range": {
        "min": "0",
        "max": "1"
      },
      "default": "0.92",
      "targets": [
        {
          "node": "level",
          "param": "gain"
        }
      ]
    }
  ],
  "sampleSlots": [],
  "createdAt": "2026-11-18T00:00:00.000Z"
}