Hello
I am learning Csound using the beginner’s guide by Christopher Watts. I am at the first couple of exercises and I have a p6 parameter which should change the function table in the score and as such play a different soundwave. However, I end up with 4 sinewaves instead of hearing distinct waves /square, sawtooth). Can anyone tell me what I did wrong please?
sr = 44100
kr = 4410
ksmps = 10
nchnls = 1
instr 1
asig oscil p4, p5, p6
out asig
endin
i1 0 5 10000 440 1
i1 6 3 20000 200 2
i1 10 2 10000 300 3
i1 12 3 20000 400 4