| hi -
i think transegr is broken. the manual example just gives a short
terrible blast (do NOT listen!!!). the same with the example below.
the manual page should be corrected in
ares transegr ia, idur, itype, ib [, idur2] [, itype] [, ic] ... idurz,
itypez, iz
kres transegr ia, idur, itype, ib [, idur2] [, itype] [, ic] ... idurz,
itypez, iz
or something like this (where idurz / itypez / iz are release duration,
release type and final value).
(ubuntu 11.04, csound 5.16.1 doubles, both old and new parser tested.)
thanks -
joachim
sr = 44100
ksmps = 32
nchnls = 1
0dbfs = 1
instr 2 ;DO NOT LISTEN!!!
iLastDur = 1
iLastType = -6
iLastVal = 0
kenv transegr 0, 1, 6, .1, p3, 0, .1, iLastDur, iLastType, iLastVal
anoise rand kenv
out anoise
endin
i 2 0 100
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |