PedalKernel Components Reference

This is the complete reference for all component types available in PedalKernel DSL. Use these in your .pedal files to build circuits from real electronic components.

Passives

ComponentSyntaxWhat it does
Resistorresistor(4.7k)Sets impedance, biasing, gain structure
Capacitorcap(220n)Frequency-dependent – shapes the EQ curve
Inductorinductor(100m)Wah-style resonant peaks
Potentiometerpot(500k)Variable resistance, bound to knobs
Zener diodezener(4.7)Voltage clamp at a specific breakdown voltage

Diodes and clipping

ComponentSyntaxWhat it does
Diode pairdiode_pair(silicon|germanium|led)Symmetric clipping – the core of overdrive
Single diodediode(silicon|germanium|led)Asymmetric clipping – fuzz character

Transistors

ComponentSyntaxVariants
NPN BJTnpn(2n3904)2n3904, 2n2222, bc108, bc109, 2n5088, 2n5089
PNP BJTpnp(ac128)2n3906, ac128, oc44, nkt275 (germanium)
N-JFETnjfet(j201)j201, 2n5457, 2n5952, 2sk30a (+ GR/Y/BL grades)
P-JFETpjfet(2n5460)2n5460
N-MOSFETnmos(2n7000)2n7000, irf520
P-MOSFETpmos(bs250)bs250, irf9520
Matched NPNmatched_npn(ssm2210)ssm2210, ca3046, lm394, that340
Matched PNPmatched_pnp(ssm2210)Same as matched NPN

Op-amps

ComponentSyntaxCharacter
Op-ampopamp(tl072)tl072 (clean, fast), jrc4558 (warm, compressed), lm308 (slow slew – the RAT sound), lm741, ne5532 (low noise), rc4558, tl082, op07
OTAopamp(ca3080)CA3080 operational transconductance amplifier

Vacuum tubes

ComponentSyntaxCharacter
Triodetriode(12ax7)12ax7 (high gain), 12at7 (medium), 12au7 (low), 12ay7 (Fender tweed), 12bh7 (high current), 6386 (variable-mu)
Pentodepentode(el34)ef86 (Vox preamp), el84 (Vox output), 6l6gc/5881/kt66 (Fender Twin, Dumble), el34/6ca7/kt77 (Marshall), 6550/kt88/kt90 (Ampeg SVT), 6aq5a, 6973

The pentode Koren models capture the real differences between tube types – 6L6GC’s gradual Fender compression vs EL34’s sharp Marshall breakup vs 6550’s extended clean headroom.

Delay and modulation

ComponentSyntaxWhat it does
BBDbbd(mn3207)Bucket-brigade delay: mn3207 (1024-stage, Boss CE-2 chorus), mn3007 (low-noise, Boss DM-2), mn3005 (4096-stage, Memory Man)
Delay linedelay_line(1ms, 500ms, allpass, tape_oxide)Composable WDF delay with configurable range, interpolation (linear, allpass, cubic), and medium simulation
Taptap(DL1, 0.75)Tap point on a delay line at a fractional position – build multi-tap delays, ping-pong, rhythmic patterns
LFOlfo(sine, 10k, 100n)Modulation from physical RC timing. Waveforms: sine, triangle, square, saw_up, saw_down, sample_and_hold
Envelope followerenvelope_follower(10k, 100n, 100k, 1u, 47k)Dynamics-reactive modulation from RC attack/release networks

The delay line system models physical medium degradation – magnetic tape oxide causes frequency-dependent high-frequency loss (like a real Roland RE-201), BBD charge leakage causes amplitude decay, and digital quantization models PT2399-style bit reduction. Medium presets: re201, echoplex, lo_fi.

Opto and neon

ComponentSyntaxWhat it does
Vactrolphotocoupler(vtl5c3)Optical compression: vtl5c3, vtl5c1, nsl32, t4b (LA-2A)
Neon bulbneon(ne2)Vintage tremolo oscillator: ne2, ne51, ne83

Transformers and switching

ComponentSyntaxWhat it does
Transformertransformer(15:1, 10H, ct_primary)Audio/output transformer with configurable turns ratio, inductance, and winding types (standard, center-tap, push-pull)
Switched capcap_switched([100n, 220n, 470n])Capacitor with switchable values
Switched inductorinductor_switched([100m, 200m])Inductor with switchable values
Switched resistorresistor_switched([1k, 2.2k, 4.7k])Resistor with switchable values
Rotary switchrotary_switch([C_bright, C_normal, C_dark])Controls which switched component value is active
Switchswitch(2)Simple SPST/SPDT mechanical switch

Synth ICs

ComponentSyntaxWhat it does
VCOvco(cem3340)Voltage-controlled oscillator: cem3340, as3340, v3340
VCFvcf(cem3320)Voltage-controlled filter: cem3320, as3320
VCAvca(ssm2164)Voltage-controlled amplifier: ssm2164, v2164
Comparatorcomparator(lm311)lm311, lm393
Analog switchanalog_switch(cd4066)cd4066, dg411
Tempco resistortempco(1k, 3300)Temperature-compensating resistor for exponential converters

Engineering notation

100p = 100 pF, 220n = 220 nF, 2.2u = 2.2 uF, 100m = 100 mH, 4.7k = 4.7 kOhm, 1M = 1 MOhm

Wiring

Signal flow uses ->. Comma-separated pins at a junction are electrically connected:

in -> C1.a              # Signal enters the coupling cap
C1.b -> R1.a, D1.a      # Cap output goes to both the resistor and diode
D1.b -> gnd              # Diode clips to ground

Reserved nodes: in, out, gnd, vcc

Controls

Map physical pot positions to named knobs:

Gain.position -> "Drive" [0.0, 1.0] = 0.5