Try: Sfname strget p5 asig1, asig2 diskgrain Sfname, 32000, kfreq, ipitch, igrsize, ips*istr, gitenvelop_ , iolaps+1 Oeyvind 2008/3/13, peiman : > > Hello, > > I am using syncgrain and need to define the soundfile name from the score, > but when writing p5 instead of a filename in the orchestra like this: > > asig1, asig2 diskgrain "Piano_F.aiff", 32000, kfreq, ipitch, igrsize, > ips*istr, gitenvelop_ , iolaps+1 > > INSTEAD I WRITE > > asig1, asig2 diskgrain p5, 32000, kfreq, ipitch, igrsize, ips*istr, > gitenvelop_ , iolaps+1 > > and then giving the file name to p-field five in the score I get this error: > > error: input arg 'p5' of type p not allowed when expecting S > > Is this normal behavior? > > Best > Peiman > -- > View this message in context: http://www.nabble.com/diskgrain---BUG--or-NOT%21-tp16024824p16024824.html > Sent from the Csound - General mailing list archive at Nabble.com. > > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" >