home/ atoms/ strudel-note-pitch

Strudel note values can be MIDI numbers or letter names with octave and accidental notation

In Strudel, the note() function accepts multiple formats for pitch: plain MIDI numbers (with 60 = middle C); note letter names A–G with sharps (#) or flats (b); and octave suffixes 1–8 (c2, e3). Decimal MIDI values (e.g. 55.5) allow microtonal variation. clip(n) multiplies note duration by n. These formats combine with all Strudel pattern operators: fast, slow, iter, off, etc. Understanding this mapping is prerequisite to melodic live-coding in Strudel.

Examples

note(“48 52 55 59”).sound(“piano”) note(“c e g b”).sound(“piano”) note(“c2 e3 g4 b5”).clip(.5).sound(“piano”)

Assessment

Translate the MIDI sequence 60, 64, 67 to letter-name notation with an explicit octave. Then lower all notes by an octave and add a sharp to the middle note.

“There are a few different ways to describe notes in Strudel. One way is to use numbers:”
corpus · music-code-strudel-worksheet-lucy-cheesman-peckham-digital · chunk 4