Download/installation notes for the Matlab STSA toolbox: 1. Download the tarred, gzipped installation file, STSA-Toolbox-X-XX.tar.gz, where X-XX is the version number. 2. In your base matlab work directory, untar/zip the file: > tar -xzf STSA-Toolbox-X-XX.tar.gz 3. When unzipped, the installation file will create its own subdirectories (if they do not exist already), which you will need to add to your matlab path (e.g., copy the following and paste it into your startup.m file): addpath( ... [root filesep 'stsa'], ... [root filesep 'stsa' filesep 'demos'], ... [root filesep 'stsa' filesep 'display'], ... [root filesep 'stsa' filesep 'eval'], ... [root filesep 'stsa' filesep 'fileio'], ... [root filesep 'stsa' filesep 'gaintabs'], ... [root filesep 'stsa' filesep 'noise'], ... [root filesep 'stsa' filesep 'pcptmdls'], ... [root filesep 'stsa' filesep 'postproc'], ... [root filesep 'stsa' filesep 'preproc'], ... [root filesep 'stsa' filesep 'specmod'], ... [root filesep 'stsa' filesep 'stft'], ... [root filesep 'stsa' filesep 'suprules'], ... [root filesep 'stsa' filesep 'suprules' filesep 'base']); where 'root' is (a string variable holding) your base matlab work directory. 4. Start Matlab, or simply re-read the startup file if within Matlab, and try running the included demo, /stsa/demos/stsatest.m, as test = stsatest('myfile.wav'); where myfile.wav is the full path and filename of a (short) .wav file of your choice. In addition to printing some performance statistics, stsatest.m will return the structure 'test' containing data, results, and parameters. Many unneeded parameters are set initially in stsatest.m so that you may easily experiment with the included noise reduction algorithms by modifying it. 5. Troubleshooting: the most common problem is due to a .mat-file version incompatibility; if stsatest.m fails due to this error, try downloading these winzipped versions of the .mat-file gain tables: http://www.eecs.harvard.edu/~patrick/research/stsa_toolbox/tabs1.zip http://www.eecs.harvard.edu/~patrick/research/stsa_toolbox/tabs2.zip and overwriting the existing files in the /gaintabs directory with them. ********* Tested using Matlab 5.3. Note that additional documentation will be forthcoming but is not included in pre-release versions; basic explanations are included in stsa/demos/stsatest.m and the individual function files. Please send comments/suggestions/bug reports to the author: Patrick J. Wolfe Division of Engineering and Applied Sciences Harvard University 33 Oxford St., Rm. MD-129 Cambridge, MA 02138-2901 USA p.wolfe@ieee.org ********* Matlab STSA Toolbox for Audio Signal Noise Reduction Copyright (C) 2001-2004 Patrick J. Wolfe This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 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 (gpl.txt in this directory, or see http://www.gnu.org/copyleft/gpl.html) 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.