Random.cpp

There's a function in C which returns numbers that aren't correlated (at least over any span of time we care about). Calling rand() will produce an integer whose range is from 0 to (2^15)-1 which is approx.. 32,000.

Lab 5 is about using a random sequence to control pitch, time, accent and timbre. Additionally, the radio baton or the lightning should be hooked into your code to take care of switching the algorithm on / off and any other parameters.

For a different flavor, equations that exhibit chaos are easily programmed. The logistic equation is a good starting place to get a feel for the variety of behaviors that can be derived. An example was recently prepared for the 220b computer music class. Check the web site there for more (their lab4) and a tutorial page.

Turn in the work in a new web folder for lab.