Languages Features Creators CSV Resources Challenges Add Language
GitHub icon

Ch

Ch - Programming language

< >

Ch is a programming language created in 2003 by Ge Wang.

#757on PLDB 20Years Old 536Users
0Books 0Papers 571Repos

ChucK is a concurrent, strongly timed audio programming language for real-time synthesis, composition, and performance, which runs on Linux, Mac OS X, Microsoft Windows, and iOS. It is designed to favor readability and flexibility for the programmer over other considerations such as raw performance. It natively supports deterministic concurrency and multiple, simultaneous, dynamic control rates. Read more on Wikipedia...


Example from Wikipedia:
// our signal graph (patch) SinOsc f => dac; // set gain .3 => f.gain; // an array of pitch classes (in half steps) [ 0, 2, 4, 6, 9, 10 ] @=> int hi[]; // infinite loop while( true ) { // choose a note, shift registers, convert to frequency Std.mtof( 65 + Std.rand2(0,1) * 43 + hi[Std.rand2(0,hi.cap()-1)] ) => f.freq; // advance time by 120 ms 120::ms => now; }

Language features

Feature Supported Token Example
Line Comments //
// A comment
Comments
Semantic Indentation X
verona.html · chuck.html · jasmin.html

View source

- Build the next great programming language · Search · Day 209 · About · Blog · Acknowledgements · Traffic · Traffic Today · GitHub · feedback@pldb.com