Csound Csound-dev Csound-tekno Search About

no gliss for wgbow?

Date1998-03-13 22:27
Fromwilliam sack
Subjectno gliss for wgbow?
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                       /__)/__) / / / / /_  /\  / /_    /
                                        /   / \  / / / / /__ /  \/ /___  /-------------------------------------------------------------------------------