Sorry my last two posts were not meant for csound-dev forum but for "general"!! peiman On 10/05/07, peiman wrote: > > Hello > > I was just trying to render the csd file bellow to disk but the output file > becomes very distorted halfway through. During a real-time performance > however there is no problem. I have not had this problem with any other csds > is it the syncgrain opcode I am using or am I doing something wrong? > > My platform is mac osx and I am using the latest release of csound5. > > Many thanks in advance > Peiman > +++++++++++++++++++++++++++++++++++++++ > > > > > sr=44100 > ksmps=10 > nchnls=2 > > > > gitenvelop_1 ftgen 0, 0, 16384, -7, 0.0, 126.6804122925, 0.9840425253, > 16172.8662109375, 0.9946808219, 84.453125, 0 > gitfile1_1 ftgen 0, 0, 0, 1, > "/Users/peimankhosravi/cdpr5/_cdp/bell2gliss.aiff", 0, 0, 1 > gitfile2_1 ftgen 0, 0, 0, 1, > "/Users/peimankhosravi/cdpr5/_cdp/bell2gliss.aiff", 0, 0, 2 > > instr 1 ;syncgrain > iolaps = 9 > igrsize = 1.0 > ifreq = iolaps/igrsize > ips = 1/iolaps > kstr = 0.2 /* timescale */ > kpitch = 0.3457737 /* pitchscale */ > a1 syncgrain 16000, ifreq, kpitch, igrsize, ips*kstr, gitfile1_1, > gitenvelop_1, iolaps > a2 syncgrain 16000, ifreq, kpitch, igrsize, ips*kstr, gitfile2_1, > gitenvelop_1, iolaps > > outs a1, a2 > > endin > > > > > > > > > > i1 0.0 50.0999984741 > > e > > > > > > Version: 3 > Render: File > Ask: Yes > Functions: Window > Listing: Window > WindowBounds: 230 44 972 560 > CurrentView: orc > IOViewEdit: Off > Options: -b512 -A -o/Users/peimankhosravi/Desktop/bell2staksycgran.aif -3 > -m167 -R --midi-velocity-amp=4 --midi-key-cps=5 > > > ioView nobackground {65535, 65535, 65535} > > > -- > View this message in context: http://www.nabble.com/distortion-and-syncgrain-tf3720932.html#a10411052 > Sent from the Csound - Dev mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net