NAME
SYNOPSIS
DESCRIPTION
OPTIONS
BUGS
TODO
COPYRIGHT
AUTHOR

NAME

xspectrum - displays the power spectrum of a signal as a function of time

SYNOPSIS

xspectrum [OPTION] ...

DESCRIPTION

Xspectrum is a program that displays the power spectrum of a signal as a function of time in a format known as a waterfall display. The horizontal axis represents time. The time scale depends on the sample rate and the number of points per FFT. The vertical axis represents frequency, from DC to the Nyquist frequency (half the sample rate). The power of the signal is indicated by the color.

The window is resizable. Resizing in the horizontal direction just changes the length of the time scale. Resizing in the vertical direction stretches the frequency scale, which is useful if you don't want to stare at a tiny window when a short fft has been selected. Furthermore, clicking somewhere with the left mouse button prints the fre- quency to stdout.

Please note that you may have to use a separate mixer program to adjust the input volume and to enable the desired input.

OPTIONS

-d file use file as audio device (default: /dev/dsp)

-n N number of points per FFT (preferably a power of 2) (default: 512)

-s sample_rate use sample_rate as sample rate in Hz (default: 8000)

BUGS

I don't like the name. Any suggestions?

TODO

Clear the picture a few lines ahead (or scroll the picture after the end has been reached?).

Make the colors customizable.

COPYRIGHT

Copyright © 2000 Vincent Arkesteijn <vincent@arkesteijn.net>

This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

AUTHOR

xspectrum was written by Vincent Arkesteijn
Send comments to <vincent@arkesteijn.net>.


go home
© 2000, Vincent Arkesteijn.