Snd &
(load "unBird.scm")
(go)
I specified my frequency to sweep from 3700 to 700, like
(bird beg .03 3700 700 .05 descending main-amp)
and it does not go as low as 700 Hz. Why?
(bird beg .03 700 3000 .05 descending main-amp)
The nested parentheses are too messy.
emacs yourfile.scm &
on the terminal. Go to "options" in the pull-down
menu, and check the boxes "syntax highlighting" and "paren match highlighting."
You'll see the scheme statements colored, and if you set the cursor at
open or close parentheses, you'll see the matching parenthesis highlighted with
nice green color. Click "save options" in the "options" pull-down menu, so that
you don't have to repeat the customization.Please try these two commands in the terminal:
sndinfo gives the essential information about a sound file, e.g. sampling rate, format,
and length. sndplay plays a sound file from commandline, without opening another
application window.
sndinfo your_soundfile
sndplay your_soundfile
Snd offers an option to tell the frequency and the amplitude of a spectram.
Go to the top pull-down menu, choose options -> transform options.
Click on "peaks" in the right colomn.
You first have to test the page with a browser. If it complains that file is not found, follow the instruction below.
chmod 744 /usr/ccrma/snd/220a-2004/your_login/your_soundfile.wav
ln -s /usr/ccrma/snd/220a-2004/your_login/your_soundfile.wav ~/Library/Web/220a/
your_soundfile
(Filename only, without path) http://ccrma-www.stanford.edu/~your_login/220a/your_soundfile
(formal internet
notation)Possibly your soundfile is in a different format than .wav (microsoft wave file) format,
which is the de facto standard for many computers.
Open the soundfile with Snd, and Edit ->
Edit Header, and choose header - wave. Then Save.