Hi,

I have been trying to run Steven Cook's VCS3 emulation found here:

http://www.csounds.com/cook/csound/VCS3.orc
http://www.csounds.com/cook/csound/VCS3.sco

I am using Csound 5 on linux. When I run the code I get the error
message listed below. The offending line which occurs twice is:

   kfreq    = ifreq + afmod + 68.50634

This code is from 2001. What has changed since then to make
this illegal?

What might be a suitable workaround to allow this code to run on
csound 5?

Thanks
- schwaahed






Error:

orch compiler:
303 lines read
        instr   1
        instr   2
error:  input arg 'ifreq+afmod+68.50634' of type a not allowed when expecting k, line 61:
kfreq    = ifreq + afmod + 68.50634
        instr   3
error:  input arg 'ifreq+afmod+68.50634' of type a not allowed when expecting k, line 87:
kfreq    = ifreq + afmod + 68.50634
        instr   4
        instr   5
        instr   6
        instr   7
        instr   8
        instr   9
        instr   10
        instr   98
        instr   99
2 syntax errors in orchestra.  compilation invalid