Sonic Pi idiomatically uses symbols not strings for samples and notes — play :e3 or play 52 work but play "e3" does not
Sonic Pi’s idiomatic way to name samples, synths, and notes is the Ruby symbol (a leading colon), not a string. sample :bd_haus is idiomatic; a fuzzy string "bd_haus" also works for samples. For pitches, play :e3 (note symbol) and play 52 (MIDI integer) are both valid, but play "e3" is not — a plain string note name is not accepted. Reaching for string literals out of habit from other languages is a common early error that fails silently or errors depending on the call.
Examples
sample :bd_haus — idiomatic. play :e3 — note symbol, works. play 52 — MIDI, works. play "e3" — not valid.
Assessment
State which of play :e3, play 52, and play "e3" are valid Sonic Pi pitch calls, and explain the idiomatic way to name a sample.