{
 "version": 2,
 "name": "Cicada NAND Mk II",
 "board": {
  "rows": 22,
  "cols": 28,
  "kind": "strip"
 },
 "cuts": [
  "0,4",
  "0,9",
  "0,15",
  "0,20",
  "0,24",
  "3,13",
  "4,13",
  "5,2",
  "5,13",
  "6,2",
  "6,13",
  "6,24",
  "7,13",
  "7,24",
  "8,13",
  "9,13",
  "11,13",
  "12,13",
  "13,13",
  "14,13",
  "15,13",
  "16,13",
  "17,13",
  "19,3",
  "19,6",
  "19,20",
  "19,23"
 ],
 "parts": [
  {
   "id": "lk01",
   "kind": "link",
   "ref": "J1",
   "value": "",
   "pins": [
    [
     3,
     19
    ],
    [
     1,
     19
    ]
   ]
  },
  {
   "id": "lk02",
   "kind": "link",
   "ref": "J2",
   "value": "",
   "pins": [
    [
     3,
     20
    ],
    [
     11,
     20
    ]
   ]
  },
  {
   "id": "lk03",
   "kind": "link",
   "ref": "J3",
   "value": "",
   "pins": [
    [
     2,
     10
    ],
    [
     10,
     10
    ]
   ]
  },
  {
   "id": "lk04",
   "kind": "link",
   "ref": "J4",
   "value": "",
   "pins": [
    [
     9,
     6
    ],
    [
     10,
     6
    ]
   ]
  },
  {
   "id": "lk05",
   "kind": "link",
   "ref": "J5",
   "value": "",
   "pins": [
    [
     10,
     7
    ],
    [
     18,
     7
    ]
   ]
  },
  {
   "id": "lk06",
   "kind": "link",
   "ref": "J6",
   "value": "",
   "pins": [
    [
     17,
     8
    ],
    [
     18,
     8
    ]
   ]
  },
  {
   "id": "lk07",
   "kind": "link",
   "ref": "J7",
   "value": "",
   "pins": [
    [
     5,
     9
    ],
    [
     12,
     9
    ]
   ]
  },
  {
   "id": "lk08",
   "kind": "link",
   "ref": "J8",
   "value": "",
   "pins": [
    [
     6,
     11
    ],
    [
     15,
     11
    ]
   ]
  },
  {
   "id": "lk09",
   "kind": "link",
   "ref": "J9",
   "value": "",
   "pins": [
    [
     6,
     16
    ],
    [
     13,
     16
    ]
   ]
  },
  {
   "id": "lk10",
   "kind": "link",
   "ref": "J10",
   "value": "",
   "pins": [
    [
     7,
     18
    ],
    [
     16,
     18
    ]
   ]
  },
  {
   "id": "p01",
   "kind": "diode",
   "ref": "D1",
   "value": "1N5817",
   "pins": [
    [
     0,
     25
    ],
    [
     1,
     25
    ]
   ],
   "polarized": true,
   "device": "Schottky",
   "mount": "vertical"
  },
  {
   "id": "p02",
   "kind": "res",
   "ref": "R13",
   "value": "2.2k",
   "pins": [
    [
     1,
     11
    ],
    [
     0,
     11
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "p03",
   "kind": "cap",
   "ref": "C9",
   "value": "100n",
   "pins": [
    [
     3,
     21
    ],
    [
     2,
     21
    ]
   ]
  },
  {
   "id": "p04",
   "kind": "res",
   "ref": "R9",
   "value": "1M",
   "pins": [
    [
     1,
     1
    ],
    [
     0,
     1
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "p05",
   "kind": "res",
   "ref": "R10",
   "value": "1M",
   "pins": [
    [
     1,
     6
    ],
    [
     0,
     6
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "p06",
   "kind": "res",
   "ref": "R11",
   "value": "1M",
   "pins": [
    [
     1,
     21
    ],
    [
     0,
     21
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "p07",
   "kind": "res",
   "ref": "R12",
   "value": "1M",
   "pins": [
    [
     1,
     18
    ],
    [
     0,
     18
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "p08",
   "kind": "res",
   "ref": "R18",
   "value": "10k",
   "pins": [
    [
     4,
     2
    ],
    [
     0,
     2
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p09",
   "kind": "res",
   "ref": "R19",
   "value": "10k",
   "pins": [
    [
     7,
     7
    ],
    [
     0,
     7
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p10",
   "kind": "res",
   "ref": "R20",
   "value": "10k",
   "pins": [
    [
     8,
     22
    ],
    [
     0,
     22
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p11",
   "kind": "res",
   "ref": "R21",
   "value": "10k",
   "pins": [
    [
     5,
     17
    ],
    [
     0,
     17
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p12",
   "kind": "cap",
   "ref": "C1",
   "value": "10n",
   "pins": [
    [
     3,
     4
    ],
    [
     2,
     4
    ]
   ]
  },
  {
   "id": "p13",
   "kind": "cap",
   "ref": "C2",
   "value": "100n",
   "pins": [
    [
     8,
     4
    ],
    [
     9,
     4
    ]
   ]
  },
  {
   "id": "p14",
   "kind": "cap",
   "ref": "C3",
   "value": "1n",
   "pins": [
    [
     9,
     21
    ],
    [
     10,
     21
    ]
   ]
  },
  {
   "id": "p15",
   "kind": "cap",
   "ref": "C4",
   "value": "1u",
   "pins": [
    [
     4,
     23
    ],
    [
     2,
     23
    ]
   ]
  },
  {
   "id": "p16",
   "kind": "res",
   "ref": "R1",
   "value": "1k",
   "pins": [
    [
     5,
     4
    ],
    [
     5,
     1
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p17",
   "kind": "res",
   "ref": "R2",
   "value": "1k",
   "pins": [
    [
     6,
     4
    ],
    [
     6,
     1
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p18",
   "kind": "res",
   "ref": "R3",
   "value": "1k",
   "pins": [
    [
     7,
     23
    ],
    [
     7,
     26
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p19",
   "kind": "res",
   "ref": "R4",
   "value": "1k",
   "pins": [
    [
     6,
     23
    ],
    [
     6,
     26
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p20",
   "kind": "res",
   "ref": "R14",
   "value": "100k",
   "pins": [
    [
     11,
     3
    ],
    [
     10,
     3
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "p21",
   "kind": "res",
   "ref": "R15",
   "value": "100k",
   "pins": [
    [
     16,
     6
    ],
    [
     17,
     6
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "p22",
   "kind": "res",
   "ref": "R16",
   "value": "100k",
   "pins": [
    [
     17,
     26
    ],
    [
     18,
     26
    ]
   ],
   "device": "fixed",
   "mount": "vertical"
  },
  {
   "id": "p23",
   "kind": "res",
   "ref": "R17",
   "value": "100k",
   "pins": [
    [
     12,
     22
    ],
    [
     10,
     24
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p24",
   "kind": "res",
   "ref": "R5",
   "value": "10k",
   "pins": [
    [
     13,
     2
    ],
    [
     19,
     2
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p25",
   "kind": "res",
   "ref": "R6",
   "value": "10k",
   "pins": [
    [
     14,
     4
    ],
    [
     19,
     4
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p26",
   "kind": "res",
   "ref": "R7",
   "value": "10k",
   "pins": [
    [
     15,
     21
    ],
    [
     19,
     21
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p27",
   "kind": "res",
   "ref": "R8",
   "value": "10k",
   "pins": [
    [
     14,
     24
    ],
    [
     19,
     24
    ]
   ],
   "device": "fixed"
  },
  {
   "id": "p28",
   "kind": "cap",
   "ref": "C5",
   "value": "1u",
   "pins": [
    [
     19,
     1
    ],
    [
     21,
     1
    ]
   ],
   "device": "film"
  },
  {
   "id": "p29",
   "kind": "cap",
   "ref": "C6",
   "value": "1u",
   "pins": [
    [
     19,
     5
    ],
    [
     21,
     5
    ]
   ],
   "device": "film"
  },
  {
   "id": "p30",
   "kind": "cap",
   "ref": "C7",
   "value": "1u",
   "pins": [
    [
     19,
     22
    ],
    [
     21,
     22
    ]
   ],
   "device": "film"
  },
  {
   "id": "p31",
   "kind": "cap",
   "ref": "C8",
   "value": "1u",
   "pins": [
    [
     19,
     25
    ],
    [
     21,
     25
    ]
   ],
   "device": "film"
  },
  {
   "id": "p32",
   "kind": "ecap",
   "ref": "C10",
   "value": "10u",
   "pins": [
    [
     21,
     13
    ],
    [
     20,
     13
    ]
   ],
   "polarized": true
  },
  {
   "id": "p33",
   "kind": "cap",
   "ref": "C11",
   "value": "100n",
   "pins": [
    [
     19,
     9
    ],
    [
     18,
     9
    ]
   ]
  }
 ],
 "ics": [
  {
   "id": "ic1",
   "ref": "IC1",
   "part": "CD4093",
   "pins": 14,
   "pin1": [
    3,
    12
   ],
   "span": 3
  },
  {
   "id": "ic2",
   "ref": "IC2",
   "part": "CD4070",
   "pins": 14,
   "pin1": [
    11,
    12
   ],
   "span": 3
  }
 ],
 "pads": [
  {
   "id": "pd01",
   "label": "+9V",
   "at": [
    0,
    27
   ],
   "to": "DC jack +, through the power switch",
   "parts": [
    {
     "id": "SW9",
     "kind": "toggle",
     "lug": "C",
     "value": "SPST",
     "role": "power"
    }
   ]
  },
  {
   "id": "pd02",
   "label": "VCC",
   "at": [
    1,
    27
   ],
   "to": "test point: the supply after D1, about 8.7V on a 9V supply; nothing is wired here"
  },
  {
   "id": "pd03",
   "label": "GND",
   "at": [
    2,
    27
   ],
   "to": "DC jack - (center pin, 9V center-negative), the power LED's short leg, the four gate jacks' sleeves and the four gate toggles' down lugs",
   "parts": [
    {
     "id": "DC1",
     "kind": "dc",
     "lug": "-",
     "value": "9 V"
    },
    {
     "id": "LED1",
     "kind": "led",
     "lug": "K",
     "value": "power",
     "role": "power"
    },
    {
     "id": "JK1",
     "kind": "jack",
     "lug": "S",
     "value": "1/4 in, switched",
     "role": "gate 1 in"
    },
    {
     "id": "JK2",
     "kind": "jack",
     "lug": "S",
     "value": "1/4 in, switched",
     "role": "gate 2 in"
    },
    {
     "id": "JK3",
     "kind": "jack",
     "lug": "S",
     "value": "1/4 in, switched",
     "role": "gate 3 in"
    },
    {
     "id": "JK4",
     "kind": "jack",
     "lug": "S",
     "value": "1/4 in, switched",
     "role": "gate 4 in"
    },
    {
     "id": "SW1",
     "kind": "toggle",
     "lug": "2",
     "value": "ON-OFF-ON",
     "role": "gate 1: partner, free, off"
    },
    {
     "id": "SW2",
     "kind": "toggle",
     "lug": "2",
     "value": "ON-OFF-ON",
     "role": "gate 2: partner, free, off"
    },
    {
     "id": "SW3",
     "kind": "toggle",
     "lug": "2",
     "value": "ON-OFF-ON",
     "role": "gate 3: partner, free, off"
    },
    {
     "id": "SW4",
     "kind": "toggle",
     "lug": "2",
     "value": "ON-OFF-ON",
     "role": "gate 4: partner, free, off"
    }
   ]
  },
  {
   "id": "pd04",
   "label": "LED",
   "at": [
    0,
    13
   ],
   "to": "power LED long leg (anode)",
   "parts": [
    {
     "id": "LED1",
     "kind": "led",
     "lug": "A",
     "value": "power",
     "role": "power"
    }
   ]
  },
  {
   "id": "pd05",
   "label": "GATE1",
   "at": [
    0,
    0
   ],
   "to": "gate 1 jack tip; the jack's switched lug goes to gate toggle 1's middle lug",
   "parts": [
    {
     "id": "JK1",
     "kind": "jack",
     "lug": "T",
     "value": "1/4 in, switched",
     "role": "gate 1 in"
    }
   ]
  },
  {
   "id": "pd06",
   "label": "GATE2",
   "at": [
    0,
    5
   ],
   "to": "gate 2 jack tip; the jack's switched lug goes to gate toggle 2's middle lug",
   "parts": [
    {
     "id": "JK2",
     "kind": "jack",
     "lug": "T",
     "value": "1/4 in, switched",
     "role": "gate 2 in"
    }
   ]
  },
  {
   "id": "pd07",
   "label": "GATE3",
   "at": [
    0,
    23
   ],
   "to": "gate 3 jack tip; the jack's switched lug goes to gate toggle 3's middle lug",
   "parts": [
    {
     "id": "JK3",
     "kind": "jack",
     "lug": "T",
     "value": "1/4 in, switched",
     "role": "gate 3 in"
    }
   ]
  },
  {
   "id": "pd08",
   "label": "GATE4",
   "at": [
    0,
    16
   ],
   "to": "gate 4 jack tip; the jack's switched lug goes to gate toggle 4's middle lug",
   "parts": [
    {
     "id": "JK4",
     "kind": "jack",
     "lug": "T",
     "value": "1/4 in, switched",
     "role": "gate 4 in"
    }
   ]
  },
  {
   "id": "pd09",
   "label": "V1-L",
   "at": [
    3,
    0
   ],
   "to": "pitch 1 pot lug 1",
   "parts": [
    {
     "id": "POT1",
     "kind": "pot",
     "lug": "1",
     "value": "B1M",
     "role": "pitch 1"
    }
   ]
  },
  {
   "id": "pd10",
   "label": "V1-W",
   "at": [
    5,
    0
   ],
   "to": "pitch 1 pot wiper (lug 3 left empty)",
   "parts": [
    {
     "id": "POT1",
     "kind": "pot",
     "lug": "W",
     "value": "B1M",
     "role": "pitch 1"
    }
   ]
  },
  {
   "id": "pd11",
   "label": "V2-W",
   "at": [
    6,
    0
   ],
   "to": "pitch 2 pot wiper (lug 3 left empty)",
   "parts": [
    {
     "id": "POT2",
     "kind": "pot",
     "lug": "W",
     "value": "B1M",
     "role": "pitch 2"
    }
   ]
  },
  {
   "id": "pd12",
   "label": "V2-L",
   "at": [
    8,
    0
   ],
   "to": "pitch 2 pot lug 1",
   "parts": [
    {
     "id": "POT2",
     "kind": "pot",
     "lug": "1",
     "value": "B1M",
     "role": "pitch 2"
    }
   ]
  },
  {
   "id": "pd13",
   "label": "V4-L",
   "at": [
    4,
    27
   ],
   "to": "pitch 4 pot lug 1",
   "parts": [
    {
     "id": "POT4",
     "kind": "pot",
     "lug": "1",
     "value": "B1M",
     "role": "pitch 4"
    }
   ]
  },
  {
   "id": "pd14",
   "label": "V4-W",
   "at": [
    6,
    27
   ],
   "to": "pitch 4 pot wiper (lug 3 left empty)",
   "parts": [
    {
     "id": "POT4",
     "kind": "pot",
     "lug": "W",
     "value": "B1M",
     "role": "pitch 4"
    }
   ]
  },
  {
   "id": "pd15",
   "label": "V3-W",
   "at": [
    7,
    27
   ],
   "to": "pitch 3 pot wiper (lug 3 left empty)",
   "parts": [
    {
     "id": "POT3",
     "kind": "pot",
     "lug": "W",
     "value": "B1M",
     "role": "pitch 3"
    }
   ]
  },
  {
   "id": "pd16",
   "label": "V3-L",
   "at": [
    9,
    27
   ],
   "to": "pitch 3 pot lug 1",
   "parts": [
    {
     "id": "POT3",
     "kind": "pot",
     "lug": "1",
     "value": "B1M",
     "role": "pitch 3"
    }
   ]
  },
  {
   "id": "pd17",
   "label": "XB1",
   "at": [
    11,
    0
   ],
   "to": "XOR toggle 1, one lug; its other lug goes to O2",
   "parts": [
    {
     "id": "SW5",
     "kind": "toggle",
     "lug": "C",
     "value": "SPST",
     "role": "XOR 1"
    }
   ]
  },
  {
   "id": "pd18",
   "label": "O1",
   "at": [
    12,
    0
   ],
   "to": "voice 1 out, for the toggles that follow it: gate toggle 3's up lug and XOR toggle 3",
   "parts": [
    {
     "id": "SW3",
     "kind": "toggle",
     "lug": "1",
     "value": "ON-OFF-ON",
     "role": "gate 3: partner, free, off"
    },
    {
     "id": "SW7",
     "kind": "toggle",
     "lug": "1",
     "value": "SPST",
     "role": "XOR 3"
    }
   ]
  },
  {
   "id": "pd19",
   "label": "O2",
   "at": [
    15,
    0
   ],
   "to": "voice 2 out, for the toggles that follow it: gate toggle 1's up lug and XOR toggle 1",
   "parts": [
    {
     "id": "SW1",
     "kind": "toggle",
     "lug": "1",
     "value": "ON-OFF-ON",
     "role": "gate 1: partner, free, off"
    },
    {
     "id": "SW5",
     "kind": "toggle",
     "lug": "1",
     "value": "SPST",
     "role": "XOR 1"
    }
   ]
  },
  {
   "id": "pd20",
   "label": "XB2",
   "at": [
    16,
    0
   ],
   "to": "XOR toggle 2, one lug; its other lug goes to O4",
   "parts": [
    {
     "id": "SW6",
     "kind": "toggle",
     "lug": "C",
     "value": "SPST",
     "role": "XOR 2"
    }
   ]
  },
  {
   "id": "pd21",
   "label": "XB4",
   "at": [
    12,
    27
   ],
   "to": "XOR toggle 4, one lug; its other lug goes to O3",
   "parts": [
    {
     "id": "SW8",
     "kind": "toggle",
     "lug": "C",
     "value": "SPST",
     "role": "XOR 4"
    }
   ]
  },
  {
   "id": "pd22",
   "label": "O4",
   "at": [
    13,
    27
   ],
   "to": "voice 4 out, for the toggles that follow it: gate toggle 2's up lug and XOR toggle 2",
   "parts": [
    {
     "id": "SW2",
     "kind": "toggle",
     "lug": "1",
     "value": "ON-OFF-ON",
     "role": "gate 2: partner, free, off"
    },
    {
     "id": "SW6",
     "kind": "toggle",
     "lug": "1",
     "value": "SPST",
     "role": "XOR 2"
    }
   ]
  },
  {
   "id": "pd23",
   "label": "O3",
   "at": [
    16,
    27
   ],
   "to": "voice 3 out, for the toggles that follow it: gate toggle 4's up lug and XOR toggle 4",
   "parts": [
    {
     "id": "SW4",
     "kind": "toggle",
     "lug": "1",
     "value": "ON-OFF-ON",
     "role": "gate 4: partner, free, off"
    },
    {
     "id": "SW8",
     "kind": "toggle",
     "lug": "1",
     "value": "SPST",
     "role": "XOR 4"
    }
   ]
  },
  {
   "id": "pd24",
   "label": "XB3",
   "at": [
    17,
    27
   ],
   "to": "XOR toggle 3, one lug; its other lug goes to O1",
   "parts": [
    {
     "id": "SW7",
     "kind": "toggle",
     "lug": "C",
     "value": "SPST",
     "role": "XOR 3"
    }
   ]
  },
  {
   "id": "pd25",
   "label": "OUT-G",
   "at": [
    18,
    27
   ],
   "to": "volume pot lug 1 and the output jack sleeve",
   "parts": [
    {
     "id": "POT5",
     "kind": "pot",
     "lug": "1",
     "value": "A100K",
     "role": "volume"
    },
    {
     "id": "JK5",
     "kind": "jack",
     "lug": "S",
     "value": "1/4 in",
     "role": "out"
    }
   ]
  },
  {
   "id": "pd26",
   "label": "TONE",
   "at": [
    19,
    11
   ],
   "to": "tone pot wiper (lug 1 left empty)",
   "parts": [
    {
     "id": "POT6",
     "kind": "pot",
     "lug": "W",
     "value": "B100K",
     "role": "tone"
    }
   ]
  },
  {
   "id": "pd27",
   "label": "OUT",
   "at": [
    20,
    27
   ],
   "to": "volume pot lug 3",
   "parts": [
    {
     "id": "POT5",
     "kind": "pot",
     "lug": "3",
     "value": "A100K",
     "role": "volume"
    }
   ]
  },
  {
   "id": "pd28",
   "label": "MIX",
   "at": [
    21,
    27
   ],
   "to": "tone pot lug 3",
   "parts": [
    {
     "id": "POT6",
     "kind": "pot",
     "lug": "3",
     "value": "B100K",
     "role": "tone"
    }
   ]
  }
 ],
 "netlist": "# Cicada NAND Mk II - the intended circuit, written from the design\n# The Cicada NAND voices, an XOR per voice, gate jacks, tone and volume\nVIN:     @+9V D1.A\nVCC:     @VCC D1.B IC1.14 IC2.14 C9.A R9.A R10.A R11.A R12.A R13.A\nLEDA:    R13.B @LED\nGND:     @GND @OUT-G IC1.7 IC2.7 C1.B C2.B C3.B C4.B C9.B C11.B R14.B R15.B R16.B R17.B\nV1_LUG:  @V1-L IC1.1 C1.A\nV1_WIP:  @V1-W R1.B\nV1_OUT:  IC1.3 R1.A IC2.2 @O1\nV1_EN:   IC1.2 R18.A\nGATE1:   @GATE1 R9.B R18.B\nV1_XB:   IC2.1 R14.A @XB1\nV1_X:    IC2.3 R5.A\nV1_M:    R5.B C5.A\nV2_LUG:  @V2-L IC1.6 C2.A\nV2_WIP:  @V2-W R2.B\nV2_OUT:  IC1.4 R2.A IC2.5 @O2\nV2_EN:   IC1.5 R19.A\nGATE2:   @GATE2 R10.B R19.B\nV2_XB:   IC2.6 R15.A @XB2\nV2_X:    IC2.4 R6.A\nV2_M:    R6.B C6.A\nV3_LUG:  @V3-L IC1.8 C3.A\nV3_WIP:  @V3-W R3.B\nV3_OUT:  IC1.10 R3.A IC2.9 @O3\nV3_EN:   IC1.9 R20.A\nGATE3:   @GATE3 R11.B R20.B\nV3_XB:   IC2.8 R16.A @XB3\nV3_X:    IC2.10 R7.A\nV3_M:    R7.B C7.A\nV4_LUG:  @V4-L IC1.13 C4.A\nV4_WIP:  @V4-W R4.B\nV4_OUT:  IC1.11 R4.A IC2.12 @O4\nV4_EN:   IC1.12 R21.A\nGATE4:   @GATE4 R12.B R21.B\nV4_XB:   IC2.13 R17.A @XB4\nV4_X:    IC2.11 R8.A\nV4_M:    R8.B C8.A\nMIX:     C5.B C6.B C7.B C8.B C10.A @MIX\nTONE:    C11.A @TONE\nOUT:     C10.B @OUT\n",
 "offboard": [
  "JK1.N - SW1.C",
  "JK2.N - SW2.C",
  "JK3.N - SW3.C",
  "JK4.N - SW4.C",
  "POT5.W - JK5.T",
  "DC1.+ - SW9.1"
 ]
}
