| Start with removing the space after = in your set command, i.e. :
set SFDIR=C:\Csound\Waves
set SSDIR=C:\Csound\Samples
set SADIR=C:\Csound\Analyses
This issue has surfaced before, it must be documented incorrectly
somewhere. I had the same problem initially. Where did you find the
information?
Job van Zuijlen
Blake Markle wrote:
>
> Dear Sirs/Madams,
>
> We're new in the neighbourhood and are doing hetro-adsyn applications to
> analyze musical instrument tones. We are trying to install Csound on
> our home PC (Windows 98). We have a batch file defining the Sound file
> type and output directory, as well as the
> other stuff listed below:
>
> set PATH=%PATH%;C:\Csound\Bin
> set SFDIR= C:\Csound\Waves
> set SSDIR= C:\Csound\Samples
> set SADIR= C:\Csound\Analyses
> set SFOUTYP=WAV
>
> The orch and score files compile but somehow the software can't work
> with the sound files.
>
> Here is the log file output upon running csound:
> (with a command like: csound95 -W -otest.wav -g -H -m3 %NAME%.orc
> %NAME%.sco)
>
> orchname: C:\CSound\Projects\adsyn.orc
> scorename: C:\CSound\Projects\adsyn.sco
> sorting score ...
> ... done
> orch compiler:
> 17 lines read
> instr 1
> MIT Csound: 3.43 (Oct 21 1996)
> orch now loaded
> audio buffered in 1024 sample-frame blocks
> sfinit: cannot open C:\Csound\Waves/foo.wav
>
> Or, if the output file is given as ../foo.wav, the logfile reads:
>
> orchname: C:\CSound\Projects\adsyn.orc
> scorename: C:\CSound\Projects\adsyn.sco
> sorting score ...
> ... done
> orch compiler:
> 17 lines read
> instr 1
> MIT Csound: 3.43 (Oct 21 1996)
> orch now loaded
> audio buffered in 1024 sample-frame blocks
> writing 2048-byte blks of shorts to ../foo.wav (WAV)
> SECTION 1:
> new alloc for instr 1:
> INIT ERROR in instr 1: cannot load C:\Csound\Analyses/test.ads
> a1 adsyn 1 1 1 "test.ads"
> INIT ERROR in instr 1: ADSYN cannot load test.ads
> a1 adsyn 1 1 1 "test.ads"
> B 0.000 - note deleted. i1 had 2 init errors
> B 0.000 .. 0.250 T 0.250 TT 0.250 M: 0.0B 0.250 .. 0.500 T
> 0.500 TT 0.500 M: 0.0B 0.500 .. 0.750 T 0.750 TT 0.750 M:
> 0.0B 0.750 .. 1.000 T 1.000 TT 1.000 M: 0.0end of score.
> overall amps: 0.0
> overall samples out of range: 0
> 1 errors in performance
> 11 2048-byte soundblks of shorts written to ../foo.wav (WAV)
>
> Any ideas about how to get past this roadblock?
>
> Also, if anyone has used hetro-adsyn in combination extensively we would
> welcome any wisdom on the matter.
>
> Thanks,
>
> Blake Markle
> Greg Judelman
>
> Department of Physics
> McGill University |