ChucK Stuff
“ChucK, a general-purpose programming language tailored for computer music. The goal is to create a language that is expressive and easy to write and read with respect to time and parallelism, and to provide a platform for precise audio synthesis/analysis and rapid experimentation in computer music.”
ChucK
=>
x=>y chuck x to y depends totally on what x and y are context sensitive
un-chuck x =< y
up-chuck x =^y
chaining operators and parens to set precedence
Impulse : => dac
Controlling Time
infinite while loop to send next sample to dac
SinOsc s => dac;
440 => s.freq; if we start this we won't
1::second +=> now; now is current chuck time
(plus chuck)
Ability to mold time in flexible and deterministic way
e.g. can change freq 10 times per audio sample
dur and time are native
chuck is strongly-timed
Ge Wang for the Stanford University Human-Computer Interaction Seminar