Newsgroups: comp.speech
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!swrinde!ihnp4.ucsd.edu!nmt.edu!cww
From: cww@nmt.edu (Colin Wightman)
Subject: Re: speech recording in SUN
Message-ID: <1995Mar6.164521.6027@nmt.edu>
Sender: news@nmt.edu
Nntp-Posting-Host: kiwi.nmt.edu
Reply-To: cww@kiwi.nmt.edu
Organization: New Mexico Tech EE/Physics Department
References: <3jebvf$rc7@eng_ser1.erg.cuhk.hk>
Date: Mon, 6 Mar 1995 16:45:21 GMT
Lines: 13

On the SPARCstation, getting sound into MATLAB is pretty simple: use
the Audio Tool (You can start it off of the Programs... submenu from
the root menu in OPENWIN (just right-click on the root window). With
the Audio Tool its pretty easy to record from the microphone and save
the recording to a file. This file is generally mu-law encoded and 
given the .au extension.

From Matlab, use signal=AUREAD('filename') to read in the file you 
recorded and convert the mu-law to linear sample in the range +/-1.
Look at the Matlab newsgroup for more details on this.



