A step-by-step guide for doing spectrum analyses on Linux
Version 2005-04-22
Kai Lassfolk
Department of Musicology
University of Helsinki
Preface
This is a brief guide for getting started with
the Linux-based spectrum analysis tools
at Music Research Laboratory, University of Helsinki.
It is assumed here that you have
your sound sound material on an audio CD.
- Boot the computer to Linux/Fedora (if needed)
- Log in and start a Terminal application
- Make a directory for your analysis project,
if you haven't done this on a previous session.
E.g.:
mkdir music
- Move your project directory:
cd music
- Insert your audio CD to the computer CD-ROM drive.
- If a CD player application starts up automatically,
stop playback and quit the application.
- Extract a track from the CD
Extract CD tracks to be analysed with sono
as WAV files. E.g.:
cdda2wav -t 5 track5.wav
Extract CD tracks to be analysed with spectutils
as mono raw files. E.g.:
cdda2mono 5 track5-mono.raw
- Start the analysis program
E.g.:
sono
or
octave
- Perform the analysis and print/store the results
- Quit the analysis program
- Remove any unnecessary files created during the analysis process
E.g.:
rm track5.wav track5.inf track5.ps
- Log out and shut down the computer