The simplest code that plays a sound is: sound(sine(count))
sine(count) is a simple oscillator, which is a different number between -1 and 1 every time you look at it.
sound(x) plays x as a sound. It looks at x 22050 times per second (22 khz audio).
x can be a complex equation, like sine(*( /#div(*#c(count 2) 44100) +(div 135 *(6 sine(c))) ))
but it works the same way. *(...) contains 2 things: /#div and +. Each time you look at *, it looks at / and +.
sound(sine(*( /#div(*#c(count 2) 44100) +(div 135 *(6 sine(c))) ))) plays that complex equation on the speakers.
CodeSimian currently does not have the ability to record audio.
These audio recordings were recorded by other software while CodeSimian played audio on the speakers.
Sounds you can play in this webpage, download and listen to,
or copy/paste into CodeSimian (download) to generate, and modify after you generate (its simple and fun, try it!):