| The book is edited by Richard Boulanger and has articles by most
of the csound authors and many of those on this list. It will be from MIT
press with an accompanying CD-ROM. It should be out late next spring or
early summer. It is a comprehensive tutorial on all aspects of csound.
Mike Berry
mikeb@mills.edu
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa06591;
4 Dec 97 2:22 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa27482;
4 Dec 97 2:22 GMT
Received: (qmail 2365 invoked from network); 4 Dec 1997 02:22:34 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 4 Dec 1997 02:22:34 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA15375); Thu, 4 Dec 1997 02:01:36 GMT
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Thu, 4 Dec 97 02:01:21 GMT
Received: from root@big.fishnet.net [205.216.133.3] by hermes via ESMTP (CAA16591); Thu, 4 Dec 1997 02:01:13 GMT
Received: from rcsreg.com (toby@port059.vta.fishnet.net [205.216.133.208]) by big.fishnet.net (8.8.5/8.6.9) with ESMTP id RAA24524; Wed, 3 Dec 1997 17:54:13 -0800
Message-Id: <348610F3.9FF0B020@rcsreg.com>
Date: Wed, 03 Dec 1997 18:09:55 -0800
From: Toby Shepard
X-Mailer: Mozilla 4.03 [en] (X11; I; Linux 2.0.30 i586)
Mime-Version: 1.0
To: visionary@ns.sympatico.ca, Csound Mailing List
Subject: Re: Newbie read FAQ and tutorial, but still needs answers to a few questions..
References: <348582CF.5AA7@ns.sympatico.ca>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
> 2) Why can't I do the "play Test" command? Am I missing a file, or is that
> command only valid on Unix?
That is a confusing part of the manual. What is means is to
do the thing that you need to do in order to get a soundfile to play.
> 4) How do I convert/save my music I generate to a WAV file?
Specify the -W flag on the command line for .wav output, then play the
file.
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa07399;
4 Dec 97 9:17 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa13976;
4 Dec 97 9:17 GMT
Received: (qmail 16731 invoked from network); 4 Dec 1997 09:17:07 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 4 Dec 1997 09:17:07 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (JAA14635); Thu, 4 Dec 1997 09:07:10 GMT
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Thu, 4 Dec 97 09:06:39 GMT
Received: from Infoac.RMI.DE [192.33.254.1] by hermes via ESMTP (JAA14239); Thu, 4 Dec 1997 09:06:27 GMT
Received: from 100gon
by infoac.rmi.de with SMTP (8.8.8/GEN-1.1.5-RMI-971107.01)
via UUNET EUregio POP Aachen for ns.sympatico.ca
id KAA04364; Thu, 4 Dec 1997 10:09:17 +0100 (MET)
Message-Id: <3486744E.4664@infoac.rmi.de>
Date: Thu, 04 Dec 1997 10:13:51 +0100
From: Rolf Keldenich
Reply-To: kelde@infoac.rmi.de
Organization: 100 GON
X-Mailer: Mozilla 3.0Gold (Win95; U)
Mime-Version: 1.0
To: csound@maths.ex.ac.uk
Cc: visionary@ns.sympatico.ca
Subject: Re: Newbie read FAQ and tutorial, but still needs answers to a few questions..
References: <348582CF.5AA7@ns.sympatico.ca>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Mime-Autoconverted: from 8bit to quoted-printable by exeter.ac.uk id JAA14239
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
Graham wrote:
...
> With these files in the same directory as my csound exe's, I do=
a:
>=20
> csound intro.orc intro.sco
>=20
> and for output I get:
>=20
> SFDIR undefined. using current directory
>=20
>...
Hi Graham,
you should type in the name of the audio-file which you want to be
created by csound (expl.: "newsound") between the command "csound" and
the orc/sco:
example: csound -W -o newsound new.orc new.sco
After compiling, you can edit your soundfile by using any sample-editor
(cool edit, soundforge, ...).
The command -o devaudio transmitts the sound directly to the output of
your AWE.
You should try "csounder", which is sort of a graphical user interface
for csound and PC/Win. The command line is created by csounder itself,
you just type in the orc- and the sco-file with your favourite text
editor and click on the compile-"flash"-symbol. After compiling, you can
hear your masterpiece by double clicking on the wav-file, which appears
in a list:=20
http://www.omnids.com/software/index.html
In adition to that, there is a CSound Win95 Realtime MIDI version by
G.Maldonado
http://www.agora.stm.it/G.Maldonado/download.htm
which will interact perfectly with your P200/AWE.
I=B4m making experiments on csound for 3 weeks (also newbie!), and I=B4m
glad to read that other people on this planet have the same difficulties
like me just to get one tiny sound out of csound. So after producing
the weirdest sounds with modular synthesizers for years, I was dancing
in my room when my first "c-sound" came creeping out of the speakers.
I was feeling like Columbus felt when he discovered America, listened
over and over again to this unbelievable phenomenon of a 440hz sinus-
wave.
If you`re interested, we may stay in contact using private mail. (I have
a similar setup and I think there will be lots of little and big
problems to solve...)
Rolf
------------------------------------------------------------------------
------------------------------------------------------------------------
Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa07464;
4 Dec 97 9:50 GMT
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa14833;
4 Dec 97 9:51 GMT
Received: (qmail 20341 invoked from network); 4 Dec 1997 09:50:59 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
by pat.bath.ac.uk with SMTP; 4 Dec 1997 09:50:59 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (JAA16510); Thu, 4 Dec 1997 09:33:55 GMT
Received: from hermes.ex.ac.uk by maths.exeter.ac.uk; Thu, 4 Dec 97 09:33:35 GMT
Received: from messiah.cableinet.net [194.117.157.68] by hermes via SMTP (JAA23066); Thu, 4 Dec 1997 09:33:26 GMT
Received: (qmail 21240 invoked from network); 4 Dec 1997 10:39:02 -0000
Received: from lions.cableinet.net (193.38.113.5)
by messiah with SMTP; 4 Dec 1997 10:39:02 -0000
Received: from igor (usr65-haw.cableinet.co.uk [194.117.146.75]) by lions.cableinet.net (950413.SGI.8.6.12/951211.SGI) via SMTP id XAA26330; Wed, 3 Dec 1997 23:24:03 GMT
Message-Id: <3485E975.5375@cableinet.co.uk>
Date: Wed, 03 Dec 1997 23:21:25 +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: visionary@ns.sympatico.ca
Cc: csound@maths.ex.ac.uk
Subject: Re: Newbie read FAQ and tutorial, but still needs answers to a few questions..
References: <348582CF.5AA7@ns.sympatico.ca>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk
I have posted this reply to the list, because there seem to be gaps in
the Csound FAQ (a little too Unix-biased?).
Graham (Visionary) wrote:
>
> I have a Pentium-200 running windows'95, with a SB Awe64. I downloaded
> the file:
>
> ftp://ftp.maths.bath.ac.uk/pub/dream/platforms/pc/Csound 3.47beta.zip
>
> and read the tutorial. I read the FAQ too. What I read seemed straight
> forward, but it still
> left some unanswered questions. I made the files "intro.orc" and
> "intro.sco". I copied from the
> tutorial, so for "intro.orc" I have:
>
> sr = 20000 ; audio sampling rate is 20 kHz
problem: this sr is incompatible with standard soundcards, and hence
with WAV files:
use one of: 22050, 44100, 48000. some also suppoprt 32000
I am curious: are people still using srates such as 20000?
> kr = 500 ; control rate is 500 Hz
> ksmps = 40 ; number of samples in a control
> period (sr/kr)
hence these also need to be changed:
try: sr = 44100
kr = 1470
ksmps = 30
> With these files in the same directory as my csound exe's, I do a:
>
> csound intro.orc intro.sco
>
> and for output I get:
>
> SFDIR undefined. using current directory
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).
>
> Then it prompts me to view the graph, and then displays that ok. Then
> it says
> something like:
>
> 0 errors in performance
> 49 2048-byte soundblks of shorts written to test.
>
> I check, and there is indeed a new file named "Test", but without an
> extension.
1) 'test' is the default outfile name if you do not supply one.
to set an outfile name, use the -o flag, and write the .wav extension;
csound -o myname.wav intro.orc intro.sco
It is a fair point, that the PC versions should add the correct
extension, depending on the format flag used, in the default case....
2) to make Csound write a file in WAV format, you need to add the -W
flag,
so the whole command becomes
csound -W -o myname.wav intro.orc intro.sco
though if you write to devaudio (given it works...), in fact you then
don't need to use the -W flag.
> The next instructions in the tutorial say to do this to hear the output:
>
> play test
>
> That gives me:
>
> Bad command or file name
>
> To verify, I see there is no "play.exe" or anything of the sort in
> any of my directories.
Yup - there is no 'play' command, as such, in Windows/DOS. You can run a
standard Windows program such as MediaPlayer, Cool, or whatever came
with the AWE32.
If you like the commandline, you can call mediaplayer by using the
command
mplayer /play /close intro.wav
this will automatically play the file, and remove itself afterwards,
unless you click on Pause or Stop.
>
> The command:
>
> csound -o devaudio intro.orc intro.sco
>
> writes it to a file "devaudio" instead of directly to my soundcard. I
> read that
> my Csound module has to include user access to the audio output device.
> Anyone know how
> this works on a PC with a sound card?
'User access' is unix-speak - does not apply, as such, to Win95. You can
set Windows up with password access for different users, though the
security facilities are negligible compared to NT, and since the
soundcard is a system resource, probably you couldn't lock it out anyway
(anyone out there know differently?).
It looks as though your command-line version of csound doesn't have the
rt playback implemented, though there is no technical reason for it not
to. I have it working in my commandline build of 3.45; I will check
with John Fitch about this (needs RTAUDIO etc defining for the
commandline build).
>
> Here are my questions:
>
> 1) Is there an install procedure for the PC, assuming I want to run
> it from the command prompt in my DOS window?
No - not needed. Install programs are only needed for VERY clever
Windows applications that use dlls, write to the registry, change all
your file associations, disable Netscape, and automatically dial up
microsoft.com :-) .
>Do I have to set path, environment variables, etc?
You will need to add the path to csound.exe in the main PATH statement
in
AUTOEXEC.BAT
for example, if you put csound.exe in c:\csound\bin, then the line in
AUTOEXEC.BAT might read
PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS;C:\CSOUND\BIN [etc;etc]
Then, if you create anopther folder c:\csound\sounds
you could add the line
SET SFDIR = C:\CSOUND\SOUNDS
Despite the wonders of Windows, the DOS prompt is still a very good way
of working; any reasonably good book on DOS will tell you how to use it.
>
> 5) Why does running csound.exe at the command prompt make my monitor
> screen go about 50% dimmer until I reboot my machine?
!!!!???? Have you been watering it regularly?
>
> CSound looks really awesome and powerful from what I have read so far.
No arguments there!
> I am willing to go through the effort of learning it, as I'm sure it will be
> worthwhile.
> If anyone can help me by answering some or all of these questions, it
> will be greatly
> appreciated.
>
Done my best,
Richard Dobson
|