Csound Csound-dev Csound-tekno Search About

RE: Newbie read FAQ and tutorial, but still needs answers to a few questions..

Date1997-12-05 15:23
FromReid Sweatman
SubjectRE: Newbie read FAQ and tutorial, but still needs answers to a few questions..
On Wednesday, December 03, 1997 4:21 PM, Richard Dobson 
[SMTP:RWD@cableinet.co.uk] wrote:

> you don't especially need to worry about this - I don't use SFDIR
> myself.
> This is an optional environment variable (set in AUTOEXEC.BAT) in which
> Csound will look for input files (for soundin).

It's easier, and works just as well, to run CSound from a batch file that 
sets up the environment variables and path first, then restores the old 
ones on exit.  That way the impact on your system is absolutely minimal.

Reid Sweatman
Programmer/Audio Engineer
Reid.Sweatman@m.cc.utah.edu




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa05565;
          5 Dec 97 18:22 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa11897;
          5 Dec 97 18:22 GMT
Received: (qmail 18030 invoked from network); 5 Dec 1997 18:22:54 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 5 Dec 1997 18:22:54 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA01272); Fri, 5 Dec 1997 18:09:12 GMT
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Fri, 5 Dec 97 18:08:49 GMT
Received: from messiah.cableinet.net [194.117.157.68] by hermes via SMTP (SAA21032); Fri, 5 Dec 1997 18:08:35 GMT
Received: (qmail 10493 invoked from network); 5 Dec 1997 19:14:05 -0000
Received: from lions.cableinet.net (193.38.113.5)
  by messiah with SMTP; 5 Dec 1997 19:14:05 -0000
Received: from igor (usr83-haw.cableinet.co.uk [194.117.146.93]) by lions.cableinet.net (950413.SGI.8.6.12/951211.SGI) via SMTP id SAA20931; Fri, 5 Dec 1997 18:09:59 GMT
Message-Id: <348842AA.611D@cableinet.co.uk>
Date: Fri, 05 Dec 1997 18:06:34 +0000
From: Richard Dobson 
Reply-To: RWD@cableinet.co.uk
Organization: Composers Desktop Project
X-Mailer: Mozilla 3.0 (Win95; I)
Mime-Version: 1.0
To: Reid Sweatman 
Cc: csound@maths.ex.ac.uk
Subject: Re: Newbie read FAQ and tutorial, but still needs answers to a few questions..
References: <01BD0157.2271AE60.Reid.Sweatman@m.cc.utah.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Reid Sweatman wrote:
> 
> On Wednesday, December 03, 1997 4:21 PM, Richard Dobson
> [SMTP:RWD@cableinet.co.uk] wrote:
> 
> > you don't especially need to worry about this - I don't use SFDIR
> > myself.
> > This is an optional environment variable (set in AUTOEXEC.BAT) in which
> > Csound will look for input files (for soundin).
> 
> It's easier, and works just as well, to run CSound from a batch file that
> sets up the environment variables and path first, then restores the old
> ones on exit.  That way the impact on your system is absolutely minimal.
> 
> Reid Sweatman
> Programmer/Audio Engineer
> Reid.Sweatman@m.cc.utah.edu

Yes, I almost mentioned batch files in my reply - but there is a danger
of what should be a Csound FAQ turning into a DOS/Windows FAQ.

In fact, if you run a session batch file setting environment variables,
the changes don't end up in AUTOEXEC.BAT itself, so there is no
particular need to restore anything - especially if you use the syntax
	path=%PATH%;c:\csound
etc.

The only possible caveat is to ensure you have enough environment space
to start with - now that really IS a DOS FAQ!


Richard Dobson



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa05745;
          5 Dec 97 19:42 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa17033;
          5 Dec 97 19:42 GMT
Received: (qmail 24370 invoked from network); 5 Dec 1997 19:42:06 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 5 Dec 1997 19:42:06 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (TAA10313); Fri, 5 Dec 1997 19:27:39 GMT
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Fri, 5 Dec 97 19:27:20 GMT
Received: from root@yoop.oz.cc.utah.edu [155.99.2.5] by hermes via ESMTP (TAA14100); Fri, 5 Dec 1997 19:27:12 GMT
Received: from Stranger.utah.edu (ctsasync43.cc.utah.edu [155.99.156.43])
	by yoop.oz.cc.utah.edu (8.8.7/8.8.7) with SMTP id MAA11497
	for ; Fri, 5 Dec 1997 12:30:01 -0700 (MST)
Received: by localhost with Microsoft MAPI; Fri, 5 Dec 1997 11:25:42 -0700
Message-Id: <01BD0170.858CBD00.Reid.Sweatman@m.cc.utah.edu>
From: Reid Sweatman 
To: "'csound@noether.ex.ac.uk'" 
Subject: RE: Newbie read FAQ and tutorial, but still needs answers to a few questions..
Date: Fri, 5 Dec 1997 11:25:41 -0700
Organization: Avatar
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

On Friday, December 05, 1997 11:07 AM, Richard Dobson 
[SMTP:RWD@cableinet.co.uk] wrote:

> Yes, I almost mentioned batch files in my reply - but there is a danger
> of what should be a Csound FAQ turning into a DOS/Windows FAQ.

Granted, but all his questions were specifically concerned with making 
CSound work under DOS.  Given that the bulk of the traffic on the list 
seems to be messages detailing how to make it work under IRIX, I don't have 
much of a problem with that .

Reid Sweatman
Programmer/Audio Engineer
Reid.Sweatman@m.cc.utah.edu