home/ atoms/ chuck-ugen-names-exact

ChucK UGen class names are CamelCase-exact and must be verified against `names/ugens.txt`

ChucK’s virtual machine requires exact class names including capitalisation: SinOsc not sinosc, JCRev not jcrev, SqrOsc not SquareOsc. Getting the case wrong is an ‘undefined type’ error, not a silent one. The 115 built-in UGen classes (including STK models) are listed in names/ugens.txt; many STK instruments have terse or unexpected spellings such as FrencHrn, HevyMetl, KrstlChr, StifKarp. External chugin plugins are not present in a bare (non-WebChucK) build, so a name from a tutorial may simply not exist in the running VM.

Examples

SinOsc s => dac; // correct sinosc s => dac; // error: undefined type JCRev j => dac; // correct STK reverb jcrev j => dac; // error

Assessment

A student writes jcrev j; sinosc s => j => dac;. Identify both naming errors, write the corrected code, and say where to find the authoritative list of valid UGen names.

“UGen names are CamelCase and exact** (`SinOsc`, not `sinosc`; `JCRev`, not `jcrev`; `SqrOsc`, not `SquareOsc`). Check `names/ugens.txt` — 115 classes, many STK models with terse spellings”
context/ · L1-instruments/chuck/gotchas.md · chunk 1