home/ atoms/ sc-pbind-chords

Chords in a Pbind are written as nested lists inside the pitch key

To play a chord in a Pbind, put a list of pitches inside the pitch stream, e.g. \note, Pseq([[0,3,7],[2,5,8]],3) plays two triads. Each inner list is sounded simultaneously as one event. The \strum key adds a small time offset between the chord notes to arpeggiate them (\strum, 0.1). This nested-list convention works for \degree, \note, \midinote, and \freq alike. Related event keys extend the same Pbind: \scale (with \degree only) selects a named Scale, fractional degrees/notes give microtones, and passing a TempoClock to .play sets tempo (default 60 BPM).

Examples

Pbind(\note, Pseq([[0,3,7],[2,5,8],[3,7,10]],3), \dur,0.5).play; // triads Pbind(\note, Pseq([[-7,3,7,10]],2), \strum,0.1, \dur,1).play; // arpeggiated

Assessment

Write a Pbind that plays three different four-note chords in sequence, each lasting one beat, with the notes strummed 0.1s apart.

“Want to write chords insidePbinds? Write them as lists (comma-separated values enclosed in square brackets):”
corpus · a-gentle-introduction-to-supercollider-ruviaro-archive-org-c · chunk 5