Csound Csound-dev Csound-tekno Search About

Re: VCO Opcode

Date1999-08-29 21:26
FromHans Mikelson
SubjectRe: VCO Opcode
Hi,

Anders wrote:

>Why do I have to set KR=SR when using it?
>
>It seems that there is a bug somewhere that will make the opcode act very
>strange when using lower KR like 4-500Hz.


I did not intend this.  If you send the offending orc/sco I will look at it
and see if I can tell what is happening.  I was not able to create a problem
at kr=441 with a simple example.

Bye,
Hans Mikelson

; ORC
sr=44100
kr=441
ksmps=100
nchnls=2

      instr 1

iamp  =     p4
ifqc  =     cpspch(p5)

a1    vco   iamp, ifqc, 2, .5, 1, 2/ifqc
      outs  a1, a1

      endin

; SCO
f1 0 65536 10 1

i1 0 1 20000  6.00