The module consists of 4 stages with a fixed order:
1.<u>Attenuvert</u> – a signal patched into `IN` can be attenuated or inverterted via the topmost knob.
2.<u>Offset</u> – offset can be added to the attenuated or inverted signal in this second stage. Via the second big knob a fixed DC Offset may be dialed in and/or a external signal may be added (or subtracted) to/from the signal via the `OFF` CV Input.
3.<u>Slew</u> – in this stage the rate of rise and fall of the incoming signal can be limited. On audio this can act like a lowpass filter, and this may be used for things like glide and portamento. The amount of slew can be voltage controlled via the `SLEW` CV input. There is a switch that switches between linear and logarithmic operation (linear is straight edges, while logarithmic is curved). Another switch allows to adress either both edges of the signal, or only rising or falling edges. The resulting signal of stage 3 is to be found on `OFF`.
4.<u>Slope Detector</u> – the final signal from stage 3 is fed into a slope detector which additionally outputs a gate (between 0 and 5 V) every time a rising or falling edge is detected.
## Schematic
This is [the current sim for the signal section](http://falstad.com/circuit/circuitjs.html?cct=$+1+0.000005+75.37042125545614+50+5+43%0Ar+128+128+192+128+0+47000%0Aa+256+176+336+176+0+15+-15+1000000+-0.000020323827144518177+0%0Aa+400+192+480+192+0+15+-15+1000000+0.00002001560889771658+-3.388131789017201e-16%0Ar+400+176+336+176+0+100000%0Ar+256+128+336+128+0+100000%0Aw+336+128+336+176+0%0Aw+256+160+256+128+0%0Ag+256+192+256+208+0%0Ar+400+128+480+128+0+100000%0Aw+480+128+480+192+0%0Aw+400+176+400+128+0%0A174+224+96+192+144+0+100000+0.9851000000000001+Atten%0Aw+256+160+224+160+0%0Aw+224+96+400+96+0%0AO+928+160+960+160+0%0Aw+128+128+96+128+0%0AR+96+128+64+128+0+2+10+1+0+0+0.05%0A174+368+272+432+240+0+100000+0.5+Offset%0Aw+400+240+400+208+0%0AR+480+272+512+272+0+0+40+-12+0+0+0.5%0AR+320+272+288+272+0+0+40+12+0+0+0.5%0Aw+400+128+400+96+0%0Ar+432+272+480+272+0+100000%0Ar+320+272+368+272+0+100000%0Aa+848+160+928+160+0+15+-15+1000000+-2.001540874196642+-2.001560889605384%0Aw+848+144+848+96+0%0Aw+848+96+928+96+0%0Aw+928+160+928+96+0%0Ag+720+240+720+256+0%0Aa+512+176+592+176+0+15+-15+1000000+-2.001540874196642+-2.0015608898055395%0Ac+720+176+720+240+0+0.000001+-2.001560889605384%0Aw+480+192+512+192+0%0AS+512+80+544+80+0+0+false+0+2%0Aw+512+160+512+80+0%0Aw+592+176+592+96+0%0Aw+592+96+544+96+0%0Aw+848+96+848+64+0%0Aw+848+64+544+64+0%0AS+656+96+704+96+0+1+false+0+3%0Aw+656+96+656+176+0%0Ad+704+80+768+80+1+0.805904783%0Ad+768+112+704+112+1+0.805904783%0Aw+768+80+768+112+0%0Aw+768+112+768+176+0%0Aw+720+176+768+176+0%0Aw+768+176+848+176+0%0Ax+337+-60+670+-57+6+24+ATTENUVERT/OFFSET/SLEW%0Ax+511+47+552+50+4+12+Log/Lin%0Ax+653+44+730+47+4+12+Fall/Both/Rise%0A174+656+176+704+144+0+100000+0.005+Slew%0Aw+688+144+720+144+0%0Aw+720+144+720+176+0%0Ar+592+176+656+176+0+10%0Ao+15+64+0+4099+1.25+0.00009765625+0+2+15+3%0Ao+14+64+0+4098+5+0.1+0+1%0A) and this is [the current sim for the CV-Input section](http://falstad.com/circuit/circuitjs.html?cct=$+1+0.000005+23.47059216675035+48+5+50%0Aa+368+592+480+592+0+12+-12+1000000+0.000019235956826126565+0%0Ar+304+576+368+576+0+100000%0Ar+368+480+480+480+0+56000%0Aw+368+576+368+528+0%0Aw+368+624+368+608+0%0Aw+480+592+480+544+0%0Aw+480+528+480+544+0%0Ag+368+624+368+640+0%0Aa+688+608+768+608+1+15+-15+1000000+0.9260211985273124+0.9260304587392977%0Aw+688+624+688+656+0%0Aw+768+656+768+608+0%0Ar+576+592+640+592+0+1000%0Ar+640+592+640+672+0+4700%0Aw+544+592+544+480+0%0Aw+544+480+480+480+0%0Aw+368+528+368+480+0%0Ad+544+592+480+592+1+0.805904783%0Ad+480+528+368+528+1+0.805904783%0Aw+688+656+768+656+0%0A162+896+544+960+544+1+2.1024259+1+0+0+0.02%0Ar+848+608+768+608+0+39%0Ag+960+544+960+576+0%0A172+240+592+160+592+0+6+10+10+-10+0+0.5+CV%0AS+288+576+240+576+0+1+false+0+2%0A370+896+608+896+544+1+0%0Aw+896+608+848+608+0%0Ab+880+512+983+639+0%0Ax+883+502+979+505+4+12+Vactrol%5CsLCR-0202%0Ax+883+662+973+665+4+12+2V%5Cs20mA%5Cs%E2%86%92%5Cs50R%0Ax+882+676+948+679+4+12+0V%5Cs%E2%86%92%5Cs1-10M%0AR+240+560+160+560+0+3+10+5+0+0+0.5%0Aw+288+576+304+576+0%0AR+640+672+592+672+0+0+40+12+0+0+0.5%0Ax+459+384+715+387+6+24+LCR-0202%5CsInput%5CsSection%0Ax+365+447+495+450+4+12+Invert,%5CsScale%5Csand%5CsClamp%0Ax+587+554+642+557+4+12+Offset%5Cs%5Cp2V%0Ax+453+403+733+421+4+12+Inputs%5Csof%5Cs0V%5Csand%5Cslower%5Cswill%5Csresult%5Csin%5Cs10M%5Csresistance%5C%5CnInputs%5Csabove%5Cs0V%5Cswill%5Csdecrease%5Csresistance%5Csup%5Csto%5Cs50R%0Aw+576+592+544+592+0%0Aw+640+592+688+592+0%0Ab+560+560+677+689+0%0Ab+303+455+553+688+0%0Ab+682+688+841+560+0%0Ax+708+554+804+557+4+12+Buffer/Set%5CsCurrent%0Ao+31+32+0+12290+4.999993384582136+0.0001+0+2+31+3%0Ao+19+32+0+12290+1.903228052812372+0.0001+0+1%0A) , maybe also add [this slope detector](http://falstad.com/circuit/circuitjs.html?cct=$+1+0.000005+14.235633750745258+50+5+50%0Aw+464+496+464+416+0%0Ac+384+416+384+464+0+1.0000000000000001e-7+1.7934637176356114%0Ag+384+464+384+480+0%0Aw+464+416+384+416+0%0Ar+384+416+288+416+0+100000%0Ar+288+528+368+528+0+2200%0Ar+368+528+368+608+0+1000000%0Ar+288+384+368+384+0+2200%0Ar+368+384+368+320+0+1000000%0Ag+368+608+368+624+0%0Ag+368+320+368+304+0%0Aw+368+384+464+384+0%0Aw+464+528+368+528+0%0Ar+288+528+288+608+0+100000%0Ag+288+608+288+624+0%0Aw+288+528+288+416+0%0Aw+288+416+288+384+0%0AR+288+528+192+528+0+1+40+5+0+0+0.5%0Ar+576+512+640+512+0+10000%0Ar+576+512+576+576+0+100000%0Ag+576+576+576+592+0%0At+640+512+672+512+0+-1+15.000111852180497+3.000111852410498+100%0AR+672+496+672+464+0+0+40+12+0+0+0.5%0Ag+672+624+672+640+0%0A162+672+576+672+624+1+2.1024259+1+0+0+0.01%0AO+720+384+784+384+0%0Ar+672+528+672+576+0+1000%0Ar+720+528+720+576+0+1000%0Ar+720+576+720+624+0+1000%0Ag+720+624+720+640+0%0Aw+672+528+720+528+0%0AO+720+576+784+576+0%0Aa+464+400+576+400+0+15+-15+1000000+2.9121497226211965+1.7934637176356114%0Aa+464+512+576+512+0+15+-15+1000000+1.7934637176356114+2.9121497226211965%0Ar+576+400+576+464+0+100000%0Ag+576+464+576+480+0%0Ar+576+400+640+400+0+10000%0At+640+320+672+320+0+-1+-0.6184607573510306+-0.6741855174587528+100%0Aw+640+400+640+320+0%0AR+672+304+672+272+0+0+40+12+0+0+0.5%0Ar+672+336+672+384+0+1000%0A162+672+384+672+416+1+2.1024259+1+0+0+0.01%0Ag+672+416+672+432+0%0Ar+720+336+720+384+0+1000%0Ar+720+384+720+432+0+1000%0Ag+720+432+720+448+0%0Aw+672+336+720+336+0%0Ax+451+231+609+234+6+24+Slope%5CsDetector%0Ao+17+32+0+4098+5+0.0001953125+0+2+17+3%0Ao+25+32+0+4098+10+0.1+0+1%0Ao+31+32+0+4098+10+0.1+0+1%0A)?