Csound Csound-dev Csound-tekno Search About

Re: Problems with Soundin + Gen01

Date1997-03-25 11:14
Fromrasmus ekman
SubjectRe: Problems with Soundin + Gen01
Jonathon Stevens wrote:
> 
> Csound says it can't find SSDIR or SFDIR. I've made these directories
> and put the sound file in them but Csound still can't find them. 

Jon,

These are not directories that you should create, but environment
variables. They store the search paths for sound files etc, so that
Csound can find them. Add lines like the following to AUTOEXEC.BAT
(or to a batch file that you run just before every Csound session):

   set SSDIR=D:\Sndfiles
   set SFDIR=D:\Testsnd
   set SADIR=C:\Csound\Anals

...or whatever directory names you fancy (can be long names under Win95).
The first is for input sounds to Csound, the second states whereto
Csound should write the output soundfile (may of course be the same
as SFDIR, but don't mess up with something like "set SFDIR=SSDIR").
The third is for in/output of analysis data files (which tend to be
even larger than the analysed sound file).

If you run out of environment space (which defaults to 256 bytes under
Win/DOS), add the following line to your CONFIG.SYS file:

   shell=C:\COMMAND.COM /e:1024 /p

...assuming you have a standard setup with command.com in your C:\
root directory. 1024 bytes should be enough, but can be increased
to 16384 or something, in 16-byte steps.


Good luck, and don't hesitate to ask again when you run into your 
next problem. But don't skid from reading the manual and the readme 
files either...

cheers,
	re