home/ atoms/ sc-degree-needs-scale

A SuperCollider pattern's degree defaults to C major unless a scale, root, and octave are given

In an SC pattern Event, the \degree key is mapped to pitch through the Event’s \scale (plus \root and \octave). If you supply \degree but no \scale, the Event uses its default — C major — so degrees you meant as minor or another mode come out in C major without any error. To bypass scale mapping entirely, use \note, \midinote, or \freq directly. A separate trap: an array-valued pitch key produces a chord (simultaneous notes), not a sequence.

Examples

Pbind(\degree, Pseq([0,2,4],inf)).play; // defaults to C major Pbind(\degree, Pseq([0,2,4],inf), \scale, Scale.minor).play; // now minor

Assessment

You write a Pbind over \degree expecting a minor melody but hear C major. Which Event key is missing, and how could you bypass scale mapping entirely?

“`\degree` needs a `\scale` (and ` oot`/`\octave`) in the Event** or it uses the default (C major). Use ` ote`/`\midinote`/` req` to bypass scale mapping.”
context/ · L1-instruments/supercollider/gotchas.md · chunk 1