Csound Csound-dev Csound-tekno Search About

Opcode "grain" in csound 5.07

Date2007-10-23 17:33
FromGiorgio Zucco
SubjectOpcode "grain" in csound 5.07
Hi,i have a problem with grain opcode,older versions no problem but with new
5.07 
i have a sound terrible disorder!grain explodes almost everytime i use it,as
in the following simple example :

 
 

-odac1 -b4096





sr = 44100
kr = 4410
ksmps = 10
nchnls = 2

gitemp	ftgen 1 , 0 ,1024, 10 ,1 ,0, .2 ,.2 ,.03, .12, .22, .11 ,.022, .0101,
.0167
gitemp	ftgen 2 , 0 ,1024 , 8, 0, 512, 1 ,512, 0

instr 1

kgdur  line .4, p3, .1
a1  grain 8000, 440, 10, 8000, 880, kgdur, 1, 2,.5

outs  a1,a1

endin




i1  0  10




I tried changing sample rate,ftgen,amplitude.....some problems,thanks for
help me!

Giorgio Zucco

-- 
View this message in context: http://www.nabble.com/Opcode-%22grain%22-in-csound-5.07-tf4678585.html#a13367855
Sent from the Csound - General mailing list archive at Nabble.com.