[Csnd] bug in fout?
Date | 2009-05-04 08:49 |
From | Jan Jacob Hofmann |
Subject | [Csnd] bug in fout? |
Dear list, runnning the "fout"-opcode the same error message keeps showing up in the latest versions of Csound: : new alloc for instr 1: INIT ERROR in instr 1: error opening sound file 'fouttest.aif' fout "fouttest.aif" 4 asig B 0.000 - note deleted. i1 had 1 init errors here is the test-csd I prepared to demonstrate: <CsoundSynthesizer> <CsOptions> -o/Users/janjacobhofmann/Documents/Audiofiles/Csd-Files/fout-test.csd </CsOptions> <CsInstruments> sr = 48000 kr = 4800 ksmps = 10 nchnls = 1 instr 1 asig oscil 32765, 440,1 ; create s sine fout "fouttest.aif", 4,asig ; output of a soundfile with header endin </CsInstruments> <CsScore> f1 0 8192 10 1 i1 0 1 </CsScore> </CsoundSynthesizer> Again, all I can say is that fout worked at least up to Csound 5.06 but does not work anymore. If it is a bug: could this be fixed, please? All the best, Jan Jacob |
Date | 2009-05-04 09:12 |
From | jpff@cs.bath.ac.uk |
Subject | [Csnd] Re: bug in fout? |
fout was change in 5.06 o ue FileOpen2 rather than FileOpen, so what you are suggesting i that there is something wrong in fileopen2. I took a quick look but not sure I understand what it is trying to do. Running under gdb might help. ==John ff > Dear list, > > runnning the "fout"-opcode the same error message keeps showing up in > the latest versions of Csound: > > : > new alloc for instr 1: > INIT ERROR in instr 1: error opening sound file 'fouttest.aif' > fout "fouttest.aif" 4 asig > B 0.000 - note deleted. i1 had 1 init errors > > > here is the test-csd I prepared to demonstrate: > > > |
Date | 2009-05-04 09:41 |
From | victor |
Subject | [Csnd] Re: bug in fout? |
fout works perfectly here on Windows with the
latest CVS.
|
Date | 2009-05-04 15:32 |
From | Anthony Kozar |
Subject | [Csnd] Re: bug in fout? |
Your example works here for me. Are you running this from the commandline or from a frontend? Your orchestra does not specify an output path for the file "fouttest.aif", so opening the file will fail with some frontends that do not set the current directory to something sensible. Also, this option looks suspicious: -o/Users/janjacobhofmann/Documents/Audiofiles/Csd-Files/fout-test.csd Anthony Kozar mailing-lists-1001 AT anthonykozar DOT net http://anthonykozar.net/ Jan Jacob Hofmann wrote on 5/4/09 3:49 AM: > Dear list, > > runnning the "fout"-opcode the same error message keeps showing up in > the latest versions of Csound: > > : > new alloc for instr 1: > INIT ERROR in instr 1: error opening sound file 'fouttest.aif' > fout "fouttest.aif" 4 asig > B 0.000 - note deleted. i1 had 1 init errors > > > here is the test-csd I prepared to demonstrate: > > > |