| I am trying to design an oscillator whose pitch deviates randomly and
smoothly by a small amount and at a random rate. The solution I've come up
with so far looks like this:
instr 1
a3 randh 2, 1, .5
a2 randi 200, abs(a3), 1
a1 oscili 20000, 300+a2, 1
outs a1,a1
endin
The questions I have are these:
1) Is there a better overall approach to this problem?
2) Why is it that increasing the value of the second parameter (cps) in the
a3 line seems to decrease the randomness? Doesn't randh have a uniform
distribution?
Any help will be appreciated. I'm fairly new to Csound.
RH
***********************************
* Ron Herrema *
* http://pilot.msu.edu/user/herremar/ *
* *
***********************************
|