usage

The line at the top is compiled as actionscript 3

The code you enter is evaluated to produce each sample, the time variable t is an integer representing the current sample number. The sound generated is played at 8khz, and values are expected to be integers from between 0 and 255.

The following shortcut functions are provided :
sin(radians)
- Sin of the angle example
cos(radians)
- Cosine of the angle example
tan(radians)
- Tangient of the angle example
log(e)
- Logarithmic function example
random(from,to)
- Random Number between from and to example
more info
Inspired by the work of @viznut. For great examples watch these vids

by @paul_hayes