{
 "version": 2,
 "name": "AD/AR Envelope",
 "board": {
  "rows": 12,
  "cols": 19,
  "kind": "strip"
 },
 "cuts": [
  "2,8",
  "3,8",
  "4,8",
  "5,8",
  "0,2",
  "0,16",
  "7,12",
  "7,16",
  "8,11",
  "9,11",
  "10,11"
 ],
 "parts": [
  {
   "id": "eg01adr",
   "kind": "link",
   "ref": "J1",
   "pins": [
    [
     0,
     11
    ],
    [
     2,
     11
    ]
   ]
  },
  {
   "id": "eg02adr",
   "kind": "link",
   "ref": "J2",
   "pins": [
    [
     1,
     4
    ],
    [
     6,
     4
    ]
   ]
  },
  {
   "id": "eg03adr",
   "kind": "link",
   "ref": "J3",
   "pins": [
    [
     5,
     2
    ],
    [
     6,
     2
    ]
   ]
  },
  {
   "id": "eg04adr",
   "kind": "link",
   "ref": "J4",
   "pins": [
    [
     3,
     12
    ],
    [
     4,
     12
    ]
   ]
  },
  {
   "id": "eg05adr",
   "kind": "link",
   "ref": "J5",
   "pins": [
    [
     2,
     0
    ],
    [
     7,
     0
    ]
   ]
  },
  {
   "id": "eg06adr",
   "kind": "res",
   "ref": "R1",
   "value": "10k",
   "pins": [
    [
     8,
     14
    ],
    [
     9,
     14
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "eg07adr",
   "kind": "res",
   "ref": "R2",
   "value": "100k",
   "pins": [
    [
     1,
     6
    ],
    [
     4,
     6
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "eg08adr",
   "kind": "res",
   "ref": "R3",
   "value": "100k",
   "pins": [
    [
     0,
     5
    ],
    [
     3,
     5
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "eg09adr",
   "kind": "res",
   "ref": "R4",
   "value": "15k",
   "pins": [
    [
     3,
     3
    ],
    [
     6,
     3
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "eg10adr",
   "kind": "res",
   "ref": "R5",
   "value": "1M",
   "pins": [
    [
     4,
     1
    ],
    [
     7,
     1
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "eg11adr",
   "kind": "res",
   "ref": "R6",
   "value": "1k",
   "pins": [
    [
     3,
     15
    ],
    [
     7,
     15
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "eg12adr",
   "kind": "res",
   "ref": "R7",
   "value": "10k",
   "pins": [
    [
     0,
     14
    ],
    [
     0,
     17
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "eg13adr",
   "kind": "res",
   "ref": "R8",
   "value": "1k",
   "pins": [
    [
     8,
     6
    ],
    [
     9,
     6
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "eg14adr",
   "kind": "res",
   "ref": "R9",
   "value": "1k",
   "pins": [
    [
     10,
     6
    ],
    [
     11,
     6
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "eg15adr",
   "kind": "res",
   "ref": "R10",
   "value": "2k2",
   "pins": [
    [
     4,
     17
    ],
    [
     7,
     17
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "eg16adr",
   "kind": "cap",
   "ref": "C1",
   "value": "100n",
   "pins": [
    [
     1,
     2
    ],
    [
     3,
     2
    ]
   ],
   "device": "ceramic disc"
  },
  {
   "id": "eg17adr",
   "kind": "ecap",
   "ref": "C2",
   "value": "4u7",
   "pins": [
    [
     5,
     13
    ],
    [
     6,
     13
    ]
   ],
   "polarized": true
  },
  {
   "id": "eg18adr",
   "kind": "cap",
   "ref": "C3",
   "value": "100n",
   "pins": [
    [
     9,
     16
    ],
    [
     10,
     16
    ]
   ],
   "device": "ceramic disc"
  },
  {
   "id": "eg19adr",
   "kind": "ecap",
   "ref": "C4",
   "value": "100u",
   "pins": [
    [
     0,
     9
    ],
    [
     1,
     9
    ]
   ],
   "polarized": true
  },
  {
   "id": "eg20adr",
   "kind": "cap",
   "ref": "C5",
   "value": "100n",
   "pins": [
    [
     0,
     12
    ],
    [
     1,
     12
    ]
   ],
   "device": "ceramic disc"
  },
  {
   "id": "eg21adr",
   "kind": "diode",
   "ref": "D1",
   "value": "1N5817",
   "pins": [
    [
     7,
     4
    ],
    [
     8,
     4
    ]
   ],
   "polarized": true,
   "device": "schottky",
   "mount": "vertical"
  },
  {
   "id": "eg22adr",
   "kind": "diode",
   "ref": "D2",
   "value": "1N5817",
   "pins": [
    [
     10,
     5
    ],
    [
     7,
     5
    ]
   ],
   "polarized": true,
   "device": "schottky"
  },
  {
   "id": "eg23adr",
   "kind": "diode",
   "ref": "D3",
   "value": "1N5817",
   "pins": [
    [
     0,
     1
    ],
    [
     0,
     4
    ]
   ],
   "polarized": true,
   "device": "schottky"
  }
 ],
 "ics": [
  {
   "id": "egic1aa",
   "ref": "IC1",
   "part": "TLC2272",
   "pins": 8,
   "pin1": [
    2,
    7
   ],
   "span": 3,
   "autoCuts": [
    "2,8",
    "3,8",
    "4,8",
    "5,8"
   ]
  }
 ],
 "pads": [
  {
   "id": "egp01zz",
   "label": "9V",
   "at": [
    0,
    0
   ],
   "to": "supply +, 9 to 12 V, through the power toggle. DC jack tip, center negative",
   "parts": [
    {
     "id": "SW2",
     "kind": "toggle",
     "lug": "C",
     "value": "SPST",
     "role": "power"
    }
   ]
  },
  {
   "id": "egp02zz",
   "label": "BTN",
   "at": [
    0,
    18
   ],
   "to": "manual gate button, one lug. The other lug goes to the SW_C pad",
   "parts": [
    {
     "id": "BTN1",
     "kind": "btn",
     "lug": "1",
     "role": "manual gate"
    }
   ]
  },
  {
   "id": "egp03zz",
   "label": "GND",
   "at": [
    1,
    17
   ],
   "to": "ground: DC jack sleeve, battery -, both audio jack sleeves",
   "parts": [
    {
     "id": "DC1",
     "kind": "dc",
     "lug": "-",
     "value": "9-12 V"
    },
    {
     "id": "JK1",
     "kind": "jack",
     "lug": "S",
     "value": "3.5 mm, gate in"
    },
    {
     "id": "JK2",
     "kind": "jack",
     "lug": "S",
     "value": "3.5 mm, env out"
    }
   ]
  },
  {
   "id": "egp04zz",
   "label": "GND_B",
   "at": [
    6,
    16
   ],
   "to": "second ground pad, the same net as GND"
  },
  {
   "id": "egp05zz",
   "label": "SW_C",
   "at": [
    4,
    2
   ],
   "to": "mode toggle, common. The manual button's second lug lands here too",
   "parts": [
    {
     "id": "SW1",
     "kind": "toggle",
     "lug": "C",
     "value": "SPDT",
     "role": "mode"
    },
    {
     "id": "BTN1",
     "kind": "btn",
     "lug": "2",
     "role": "manual gate"
    }
   ]
  },
  {
   "id": "egp06zz",
   "label": "SW_G",
   "at": [
    9,
    18
   ],
   "to": "mode toggle, GATE throw - AR, the envelope holds while the gate is held",
   "parts": [
    {
     "id": "SW1",
     "kind": "toggle",
     "lug": "1",
     "value": "SPDT",
     "role": "mode"
    }
   ]
  },
  {
   "id": "egp07zz",
   "label": "SW_T",
   "at": [
    10,
    18
   ],
   "to": "mode toggle, TRIGGER throw - AD, the edge only",
   "parts": [
    {
     "id": "SW1",
     "kind": "toggle",
     "lug": "2",
     "value": "SPDT",
     "role": "mode"
    }
   ]
  },
  {
   "id": "egp08zz",
   "label": "GATE",
   "at": [
    8,
    18
   ],
   "to": "gate in jack, tip",
   "parts": [
    {
     "id": "JK1",
     "kind": "jack",
     "lug": "T",
     "value": "3.5 mm, gate in"
    }
   ]
  },
  {
   "id": "egp09zz",
   "label": "ATK",
   "at": [
    9,
    0
   ],
   "to": "attack pot, lug 1. Wiper goes to ENV",
   "parts": [
    {
     "id": "POT1",
     "kind": "pot",
     "lug": "1",
     "value": "B1M",
     "role": "attack"
    }
   ]
  },
  {
   "id": "egp10zz",
   "label": "REL",
   "at": [
    11,
    0
   ],
   "to": "release pot, lug 1. Wiper goes to ENV",
   "parts": [
    {
     "id": "POT2",
     "kind": "pot",
     "lug": "1",
     "value": "B1M",
     "role": "release"
    }
   ]
  },
  {
   "id": "egp11zz",
   "label": "ENV",
   "at": [
    5,
    11
   ],
   "to": "both pot wipers land here, on the timing cap",
   "parts": [
    {
     "id": "POT1",
     "kind": "pot",
     "lug": "W",
     "value": "B1M",
     "role": "attack"
    },
    {
     "id": "POT2",
     "kind": "pot",
     "lug": "W",
     "value": "B1M",
     "role": "release"
    }
   ]
  },
  {
   "id": "egp12zz",
   "label": "OUT",
   "at": [
    7,
    13
   ],
   "to": "envelope out jack, tip. 0 to about V+ less a Schottky drop",
   "parts": [
    {
     "id": "JK2",
     "kind": "jack",
     "lug": "T",
     "value": "3.5 mm, env out"
    }
   ]
  },
  {
   "id": "egp13zz",
   "label": "LED_A",
   "at": [
    7,
    18
   ],
   "to": "panel LED, long leg. It follows the envelope",
   "parts": [
    {
     "id": "LED1",
     "kind": "led",
     "lug": "A",
     "value": "panel",
     "role": "envelope"
    }
   ]
  },
  {
   "id": "egp14zz",
   "label": "LED_K",
   "at": [
    6,
    18
   ],
   "to": "panel LED, short leg",
   "parts": [
    {
     "id": "LED1",
     "kind": "led",
     "lug": "K",
     "value": "panel",
     "role": "envelope"
    }
   ]
  }
 ],
 "netlist": "# AD/AR Envelope - written from the board\n# 12 strips of 19 holes, 23 parts, 1 chip, 11 cuts\n#\n# The simple AD/AR by Sam Battle (LMNC), after the Eddy Bergman stripboard,\n# redrawn for a SINGLE supply on a rail-to-rail op-amp. IC1.1 is a comparator\n# against the R3/R4 reference; its output charges C2 through D1 and the attack\n# pot and drains it through the release pot and D2. IC1.7 follows C2 into the\n# out jack. Rail-to-rail is what deletes the output diode of the original.\n#\n# IC1 is a TLC2272 or TLV2372. An LM358 fits but stops short of the top rail.\n\n9V:      @9V D3.A\n+V:      D3.B C4.A C5.A IC1.8 R3.A R7.A\nGND:     @GND @GND_B @LED_K C1.A C2.B C4.B C5.B IC1.4 R2.A R4.B\nBTN:     @BTN R7.B\nREF:     IC1.2 C1.B R3.B R4.A\nGNODE:   @SW_C IC1.3 R2.B R5.A\nCMP:     IC1.1 D1.A D2.B R5.B\nATK:     D1.B R8.A\nATK_W:   @ATK R8.B\nREL:     D2.A R9.A\nREL_W:   @REL R9.B\nENV:     @ENV C2.A IC1.5\nOUT:     IC1.7 IC1.6 R10.A R6.A\nOUT_J:   @OUT R6.B\nLED:     @LED_A R10.B\nGATE:    @GATE R1.A\nGIN:     @SW_G C3.A R1.B\nTRIG:    @SW_T C3.B\n",
 "offboard": [
  "DC1.+ - SW2.1"
 ]
}