Read the following articles, and study the Max examples they contain.
“Randomness”
“Randomness and noise”
“Moving range of random choices”
“A simple probabilistic decision”
“Probability distribution”
Read this chapter from the book Xenakis Matters.
“Realtime Stochastic Decision Making for Music Composition and Improvisation”
The following Max examples will help you use randomness in your own programs.
“Some objects for generating numbers”
“Random note choices”
“Random voicings of a pitch class set”
“Look up chords in an array”
“Sequential or random access of a lookup table”
“Basic linear mapping”
“Controlling the range of a set of numbers”
“Generate random numbers within a specified range”
Write a program that uses randomness—objects such as random, urn, drunk, (bang message to) table, noise~ (possibly with sah~), and rand~—to control the generation of notes or sounds. Rather than simply generating randomly-chosen events, however, constrain the random choices in a useful way to get an intentional musical effect. You might dynamically control the range of random numbers, or weight the random choices such that some events are more likely to occur than others, or make random choices from an established set of non-randomly selected possibilities, or make small random perturbations to an otherwise predictable process. The random numbers might control pitch choices, or loudnesses (velocities) or choices of soundfile cues, or rhythmic timings, or any measurable parameter of a music-making (or sound-making) procedure.
Place your completed program in the EEE DropBox called “Randomness4”.