| William,
I compiled your ORC & SCO file and met with the same phenomena as you
did. Then I tried the example in the Csound 3.47 manual -- nothing
happened at all. It is listed below:
kv linseg 0, 0.5, 0, 1, 1, p3-0.5, 1
ar wgbow 31129.60, 440, 3.0, 0.127236, 6.12723, kv*0.01, 1
out ar
After doing that, I began to think that it might be another bug. To
find out whether it is or not, I compared your file and the example in
the manual. Then I replaced the costant 31129.60 with iamp. Still,
everything was OK.
The last thing I did was replace 440 with kfreq, Csound hung up!!!
Is there anyone else can explain it?
PS. "i6" in your SCO file should be changed into "i1".
Regards
Qian Chen
---william sack wrote:
>
> Hello all,
> Yes, I\'ve been exploring some of the newer "physical modelling"
> signal generators and I can\'t get wgbow to work with anything
> k-contolling its frequency. Am I doing something wrong here?
> The following orc & sco cause csound to hang as though it\'s
> waiting for more instructions.
>
> ;ORC
> sr=22050
> kr=2205
> ksmps=10
> nchnls=1
> instr 1
> idur = p3
> iamp = p4*32000
> ifreq = p5
>
> kv linseg 0, 0.5, 0, 1, 1, idur-0.5, 1
> kfreq expseg ifreq, idur, ifreq*2 ;env. for gliss.
> ;kamp, kfreq, kpres, krat, kvibf, kvamp, ifn
> a1 wgbow iamp, kfreq, 2, .13, 6.12723, kv*0.005, 1
> out a1
> endin
>
> ;SCO
> f1 0 8192 10 1
> i6 0 1 .5 440
> e
>
>
> Also, while I\'m asking, is there any way to
> comment-out a block of text other than putting a semicolon in
> front of every line? I tried */ and /* and of course it didn\'t
> work.
>
>
-------------------------------------------------------------------------------
> bsack __ __ ____ ___
___ ____
> bsack@primenet.com /__)/__) / / / / /_ /\ /
/_ /
> / / \ / / / / /__ / \/
/___
/-------------------------------------------------------------------------------
>
>
>
==
Qian Chen
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
|