[Csnd] sndinfo opcode
Date | 2012-11-08 21:14 |
From | Luis Antunes Pena |
Subject | [Csnd] sndinfo opcode |
Could someone tell me what is the problem with this opcode (see
below) I've written? I get a ksmps error: INIT ERROR in instr 1: sndinfo: invalid local ksmps value: -2147483648 iflen ifchnls ifsr ifbit sndinfo Sample 0 instr 1: iflen = 0.000 ifchnls = 0.000 ifsr = 0.000 ifbit = 0.000 B 0.000 - note deleted. i1 had 1 init errors Score finished in csoundPerform(). I'm on OSX 10.6 / csound 5.18.03 Thanks for any help. Luís opcode sndinfo, iiiii, S Sample xin ifbit filebit Sample iflen filelen Sample ifchnls filenchnls Sample ifpeak filepeak Sample ifsr filesr Sample xout iflen, ifchnls, ifsr, ifbit endop
ifile = 110 Sample strget ifile iflen, ifchnls, ifsr, ifbit sndinfo Sample print iflen, ifchnls, ifsr, ifbit endin -- -- http://luisantunespena.eu |
Date | 2012-11-08 21:39 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Csnd] sndinfo opcode |
Not anything about which I know, but have you tried input type T rather than S ?? > Could someone tell me what is the problem with > this opcode (see below) I've written? I get a > ksmps error: > > INIT ERROR in instr 1: sndinfo: invalid local > ksmps value: -2147483648 > iflen ifchnls ifsr ifbit sndinfo > Sample 0 > instr 1: iflen = 0.000 ifchnls = 0.000 ifsr = > 0.000 ifbit = 0.000 > B 0.000 - note deleted. i1 had 1 init errors > Score finished in csoundPerform(). > > I'm on OSX 10.6 / csound 5.18.03 > > Thanks for any help. > LuÃs > > > opcode sndinfo, iiiii, S > > Sample xin > > ifbit filebit Sample > iflen filelen Sample > ifchnls filenchnls Sample > ifpeak filepeak Sample > ifsr filesr Sample > > xout iflen, ifchnls, ifsr, ifbit > > endop > > > instr 1 > > ifile = 110 > > Sample strget ifile > > iflen, ifchnls, ifsr, ifbit sndinfo Sample > > print iflen, ifchnls, ifsr, ifbit > > endin > > > > > -- > -- > http://luisantunespena.eu > > > Send bugs reports to the Sourceforge bug tracker > https://sourceforge.net/tracker/?group_id=81968&atid=564599 > Discussions of bugs and features can be posted here > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > csound" > > |
Date | 2012-11-08 21:43 |
From | Victor Lazzarini |
Subject | Re: [Csnd] sndinfo opcode |
you have one output too many in the opcode definition (5 is, 4 used) On 8 Nov 2012, at 21:14, Luis Antunes Pena wrote:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2012-11-08 21:51 |
From | Luis Antunes Pena |
Subject | Re: [Csnd] sndinfo opcode |
Oh! Nothing to do with ksmps....!
Thanks Victor!
Am 08.11.12 22:43, schrieb Victor Lazzarini: you have one output too many in the opcode definition (5 is, 4 used) -- -- http://luisantunespena.eu |