[Csnd] CSD error/bug with stutter instrument on windows?
Date | 2009-10-24 19:44 |
From | Jacob Joaquin |
Subject | [Csnd] CSD error/bug with stutter instrument on windows? |
Someone just reported a error that crops up when the try to run the splice & stutter instrument I posted yesterday. The file runs on OS X without any problems. Downloaded the file from the net, rendered it with both floats and doubles without any problems. The file is here: http://www.thumbuki.com/TheCsoundBlog/splice_and_stutter.csd It uses a sample from this BT sample pack. Download that here (13.2 MB): http://www.archive.org/download/BT/BT44.zip Our conversation is here: http://csound.noisepages.com/2009/10/splice-and-stutter/#comments Based on the paths in his output message, I believe he is using windows. Can anyone on windows verify that it works or doesn't work on their windows system? Does anyone have a clue why this wouldn't work on windows? Could it be a path problem? Or the fact that there are spaces in the filename? Here's the output from his render attempt: PortMIDI real time MIDI plugin for Csound PortAudio real-time audio module for Csound virtual_keyboard real time MIDI plugin for Csound 0dBFS level = 32768.0 Csound version 5.11 (double samples) Oct 1 2009 libsndfile-1.0.20 Reading options from $CSOUNDRC: C:\Csound\.csoundrc UnifiedCSD: splice_and_stutter.csd STARTING FILE Creating orchestra Creating score orchname: C:\Users\Anthony\AppData\Local\Temp\cs3.orc scorename: C:\Users\Anthony\AppData\Local\Temp\cs4.sco RAWWAVE_PATH: C:\Csound\samples/ rtaudio: PortAudio module enabled … using callback interface rtmidi: PortMIDI module enabled orch compiler: Macro definition for LoadSample Macro definition for Basic Macro definition for Stutter Macro definition for Random Macro definition for SampleEngine 208 lines read opcode objcreate_k 0 SS opcode objcreate_a 0 SS opcode objcreate_S 0 SS opcode objset_i 0 iSS opcode objset_k 0 kSS opcode objset_a 0 aSS opcode objset_S 0 SSS opcode objget_i i SS opcode objget_k k SS opcode objget_a a SS opcode objget_S S SS error: input arg ‘Sout’ of type string not allowed when expecting w, line 113: xout Sout instr 1 instr 2 instr 3 instr 4 instr 5 1 syntax errors in orchestra. compilation invalid Thanks, Jake -- The Csound Blog - http://csound.noisepages.com/ Send bugs reports to this list. To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2009-10-24 21:15 |
From | Jacob Joaquin |
Subject | [Csnd] Re: CSD error/bug with stutter instrument on windows? |
Ruled out a few things. The person who reported the problem tried removing the spaces from the file. He also placed the file in the same folder of the csd, and in C:\Csound\samples, which was reported in his output. Could the Windows version of Csound be broken? Has anyone else successfully rendered this file regardless of their platform? Best, Jake -- The Csound Blog - http://csound.noisepages.com/ On Sat, Oct 24, 2009 at 11:44 AM, Jacob Joaquin |
Date | 2009-10-24 21:51 |
From | francibal |
Subject | [Csnd] Re: CSD error/bug with stutter instrument on windows? |
i am on windows and i had same problem reported before: error: input arg 'Sout' of type string not allowed when expecting w, line 101: xout Sout ciao, fran. Jacob Joaquin wrote: > > Ruled out a few things. The person who reported the problem tried > removing the spaces from the file. He also placed the file in the same > folder of the csd, and in C:\Csound\samples, which was reported in his > output. > > Could the Windows version of Csound be broken? Has anyone else > successfully rendered this file regardless of their platform? > > Best, > Jake > -- > The Csound Blog - http://csound.noisepages.com/ > > > > On Sat, Oct 24, 2009 at 11:44 AM, Jacob Joaquin |
Date | 2009-10-24 21:55 |
From | edexter5 |
Subject | [Csnd] Re: CSD error/bug with stutter instrument on windows? |
I am getting the same thing except on line 88. I have the beta that was on csounds.com I didn't find any file about a lama, I used 100 massive heart and took out the spaces. francibal wrote: > > i am on windows and i had same problem reported before: > > error: input arg 'Sout' of type string not allowed when expecting w, line > 101: > xout Sout > > ciao, > fran. > > > Jacob Joaquin wrote: >> >> Ruled out a few things. The person who reported the problem tried >> removing the spaces from the file. He also placed the file in the same >> folder of the csd, and in C:\Csound\samples, which was reported in his >> output. >> >> Could the Windows version of Csound be broken? Has anyone else >> successfully rendered this file regardless of their platform? >> >> Best, >> Jake >> -- >> The Csound Blog - http://csound.noisepages.com/ >> >> >> >> On Sat, Oct 24, 2009 at 11:44 AM, Jacob Joaquin |
Date | 2009-10-24 22:09 |
From | francibal |
Subject | [Csnd] Re: CSD error/bug with stutter instrument on windows? |
Mr. Edexter, audio file is into a zip folder a part (You can see on blog). Mr. Jacob, i've see in manual at opcode page and k type is not allow for outtypes. I don't know if this is now implemented in last version. ciao, fran. edexter5 wrote: > > I am getting the same thing except on line 88. I have the beta that was > on csounds.com > I didn't find any file about a lama, I used 100 massive heart and took out > the spaces. > > > francibal wrote: >> >> i am on windows and i had same problem reported before: >> >> error: input arg 'Sout' of type string not allowed when expecting w, >> line 101: >> xout Sout >> >> ciao, >> fran. >> >> >> Jacob Joaquin wrote: >>> >>> Ruled out a few things. The person who reported the problem tried >>> removing the spaces from the file. He also placed the file in the same >>> folder of the csd, and in C:\Csound\samples, which was reported in his >>> output. >>> >>> Could the Windows version of Csound be broken? Has anyone else >>> successfully rendered this file regardless of their platform? >>> >>> Best, >>> Jake >>> -- >>> The Csound Blog - http://csound.noisepages.com/ >>> >>> >>> >>> On Sat, Oct 24, 2009 at 11:44 AM, Jacob Joaquin |
Date | 2009-10-24 22:12 |
From | Jacob Joaquin |
Subject | [Csnd] Re: Re: CSD error/bug with stutter instrument on windows? |
Thanks to both of you for checking this out. edexter5, are you also on windows? Best, Jake On Sat, Oct 24, 2009 at 1:55 PM, edexter5 |
Date | 2009-10-24 22:13 |
From | Jacob Joaquin |
Subject | [Csnd] Re: Re: CSD error/bug with stutter instrument on windows? |
I'm using the latest version. And this particular code has been working for me for years. Odd. On Sat, Oct 24, 2009 at 2:09 PM, francibal |
Date | 2009-10-24 22:40 |
From | Steven Yi |
Subject | [Csnd] Re: Re: Re: CSD error/bug with stutter instrument on windows? |
I'm using Windows XP and am getting the same problem. Well, it says: error: input arg 'Sout' of type string not allowed when expecting , line 113: xout Sout However, the bug seems a bit tricky. It stopped happening after a few times but then would get hung while trying to play. I haven't compiled csound in a couple weeks but am about to. I imagine though that this looks like a weird memory issue to me if it's happening sometimes and then not. If so, that could mean it might be tricky to track down. steven On Sat, Oct 24, 2009 at 5:13 PM, Jacob Joaquin |
Date | 2009-10-25 00:17 |
From | Jacob Joaquin |
Subject | [Csnd] Re: Re: CSD error/bug with stutter instrument on windows? |
Based on your observation, I commented out the opcode that was causing the problem, as it wasn't needed anyways. Would you mind trying again? http://www.thumbuki.com/TheCsoundBlog/splice_and_stutter.csd Thanks, Jake On Sat, Oct 24, 2009 at 2:09 PM, francibal |
Date | 2009-10-25 08:35 |
From | edexter5 |
Subject | [Csnd] Re: Re: CSD error/bug with stutter instrument on windows? |
I tested this using vista (I also have linux through vmware) Jacob Joaquin wrote: > > Thanks to both of you for checking this out. edexter5, are you also on > windows? > > Best, > Jake > > > > On Sat, Oct 24, 2009 at 1:55 PM, edexter5 |
Date | 2009-10-25 09:12 |
From | francibal |
Subject | [Csnd] Re: Re: CSD error/bug with stutter instrument on windows? |
Hi, sorry but i was sleeping. I've tried this last (with commented out part) but don't work. It begin to compile but then remain there, like if it would blocked. I will try again, after a cup of coffe, but im not so expert. Anyway, i've listen audio file, and is great! Thanks again, Mr Jacob, ciao, fran. Jacob Joaquin wrote: > > Based on your observation, I commented out the opcode that was causing > the problem, as it wasn't needed anyways. Would you mind trying > again? > > http://www.thumbuki.com/TheCsoundBlog/splice_and_stutter.csd > > Thanks, > Jake > > > On Sat, Oct 24, 2009 at 2:09 PM, francibal |
Date | 2009-10-25 09:47 |
From | francibal |
Subject | [Csnd] Re: Re: CSD error/bug with stutter instrument on windows? |
Ok, i've try to comment out other two lines and now csd works. I don't know why, but seems there are some problems with strings. Also important i've changed filename from 105Blank... in Blak... deleting initial numbers and white spaces. This too, i don't know why but filename beginning with number are not recognized, or something similar. Here is "new windows vista with csound 5.11.1 working file", claps, claps: http://www.nabble.com/file/p26046413/splice_and_stutter_2.csd splice_and_stutter_2.csd PS. now Mr. Jacob, it's 'Your work' to understand somethings. I'm not able to. Have a nice day, ciao, fran. |
Date | 2009-10-25 09:56 |
From | edexter5 |
Subject | [Csnd] Re: Re: CSD error/bug with stutter instrument on windows? |
last one worked with a 827kb wav csound 5.11 on windows vista.. I used heart as my example anyway since it was just a compile test. francibal wrote: > > Ok, > i've try to comment out other two lines and now csd works. > I don't know why, but seems there are some problems with strings. Also > important i've changed filename from 105Blank... in Blak... deleting > initial numbers and white spaces. This too, i don't know why but filename > beginning with number are not recognized, or something similar. > > Here is "new windows vista with csound 5.11.1 working file", claps, claps: > > http://www.nabble.com/file/p26046413/splice_and_stutter_2.csd > splice_and_stutter_2.csd > > PS. now Mr. Jacob, it's 'Your work' to understand somethings. I'm not able > to. > > Have a nice day, > > ciao, > fran. > > > |
Date | 2009-10-25 14:15 |
From | Jacob Joaquin |
Subject | [Csnd] Re: Re: Re: CSD error/bug with stutter instrument on windows? |
Thanks a million. I went ahead and implemented these changes. I wasn't aware of some of the inconsistencies between platforms. I'll be more careful in the future. Best, Jake On Sun, Oct 25, 2009 at 2:47 AM, francibal |
Date | 2009-10-25 14:19 |
From | Victor Lazzarini |
Subject | [Csnd] Re: Re: Re: Re: CSD error/bug with stutter instrument on windows? |
But is this a bug in Windows? On 25 Oct 2009, at 14:15, Jacob Joaquin wrote: > Thanks a million. I went ahead and implemented these changes. I wasn't > aware of some of the inconsistencies between platforms. I'll be more > careful in the future. > > Best, > Jake > > > On Sun, Oct 25, 2009 at 2:47 AM, francibal > |
Date | 2009-10-25 14:24 |
From | Jacob Joaquin |
Subject | [Csnd] Re: Re: Re: Re: Re: CSD error/bug with stutter instrument on windows? |
Perhaps. Works fine on OS X. Haven't heard back from any linux users. I was planning on preparing a report to send to the dev list today. Not much I can test, though, since I don't have a windows box readily available. Best, Jake -- The Csound Blog - http://csound.noisepages.com/ On Sun, Oct 25, 2009 at 7:19 AM, Victor Lazzarini |
Date | 2009-10-25 18:48 |
From | francibal |
Subject | [Csnd] Re: Re: Re: Re: Re: CSD error/bug with stutter instrument on windows? |
Dear Mr Jacob, apologies but i had wrong: sound file name it was a my problems, after a better look the original filename (with beginning numbers and also with spaces) work perfectly! Also this line is ok : objcreate_S Sobject, "filename" instead this not : objset_S Sfile, Sobject, "filename" It remains the problem with udo. Again sorry, ciao, fran. Jacob Joaquin wrote: > > Perhaps. Works fine on OS X. Haven't heard back from any linux users. > I was planning on preparing a report to send to the dev list today. > Not much I can test, though, since I don't have a windows box readily > available. > > Best, > Jake > -- > The Csound Blog - http://csound.noisepages.com/ > > > On Sun, Oct 25, 2009 at 7:19 AM, Victor Lazzarini > |
Date | 2009-10-25 18:57 |
From | Jacob Joaquin |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: CSD error/bug with stutter instrument on windows? |
That's a relief! My plan is to use many OLPC samples for my examples. I thought I was going to have to rethink that strategy, since the file names were in doubt. I can deal with the UDO problem(s) just fine. Best, Jake -- The Csound Blog - http://csound.noisepages.com/ On Sun, Oct 25, 2009 at 11:48 AM, francibal |
Date | 2009-10-25 19:07 |
From | francibal |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: CSD error/bug with stutter instrument on windows? |
yes, for You (again sorry). About me, i feel really stupid, but only sometimes, not always! ciao, fran. Jacob Joaquin wrote: > > That's a relief! My plan is to use many OLPC samples for my examples. > I thought I was going to have to rethink that strategy, since the file > names were in doubt. I can deal with the UDO problem(s) just fine. > > Best, > Jake > -- > The Csound Blog - http://csound.noisepages.com/ > > > On Sun, Oct 25, 2009 at 11:48 AM, francibal |
Date | 2009-10-25 19:11 |
From | Jacob Joaquin |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Re: CSD error/bug with stutter instrument on windows? |
If it wasn't for you, it wouldn't be working right now. So thank you. Best, Jake |