SCTweets are complete SuperCollider pieces in 140 characters that exploit syntax shortcuts for extreme concision
An SCTweet is a complete SuperCollider audio piece fitting in 140 characters (tweet-length). The form exploits: alias method names (r{} for Routine{}, play{} as prefix), left-to-right message precedence, partial application (Mix(SinOsc.ar(_)!100)), in-expression variable assignment, and chained method calls. The constraint forces deep knowledge of SC syntax shortcuts. Chapter 27 presents annotated SCTweets alongside the equivalent readable code, teaching which abbreviations are available. The form has pedagogical value: each tweet is a complete musical idea that fits on one screen.
Examples
play{Mix(SinOsc.ar((0..100)))} // Partial Application shortcut // equivalent: play{Mix(SinOsc.ar(_)!100)} // recursive tweet: play{f={|o,i|if(i>0,{SinOsc.ar([i,i+1e-4]**2*f.(o,i-1),f.(o,i-1)*1e-4,f.(o,i-1))},o)};f.(60,6)/60}
Assessment
Take an existing 50-line SC patch and reduce it to under 140 characters using syntax shortcuts without changing the sound. Annotate each shortcut used and verify the result runs correctly.