home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!ieunet!swift.cs.tcd.ie!omahony
- From: omahony@swift.cs.tcd.ie
- Newsgroups: comp.compression
- Subject: Re: U-Law Encoding....HELP!!!!
- Message-ID: <1992Nov11.173900.8528@swift.cs.tcd.ie>
- Date: 11 Nov 92 17:39:00 GMT
- References: <1992Nov10.163040.27563@rmece49.upr.clu.edu>
- Organization: Computer Science Department, Trinity College Dublin
- Lines: 42
-
- In article <1992Nov10.163040.27563@rmece49.upr.clu.edu>, julior@rmece02.upr.clu.edu (Julio A. Rodriguez) writes:
- >
- > I've been working with the program PLAY and RECORD. RECORD produces a
- > file with a .au extension and is supposse to use the U-LAW encoding method.
- > I need to decode this data to be able to process this information usign FFT.
- > If you got any ideas on how to do so please send me your ideas. Thanks.
- >
-
- Mu-Law encoding involves passing the analogue signal through a compressor
- that conforms to the Mu-Law before quantizing it. I expect what you
- need to do is to "expand" the digital values by performing the reverse
- transformation on the digital values held in the file.
-
- According to "Principles of Communication Systems", Taub & Schilling,
- McGraw Hill, 1986 pg 245
-
- A Mu law compressor relates input to output by the relation
-
-
- y = + log(1+mu/x)
- - ______________
- log(1+mu)
-
- the plus sign applies when x is positive, and the minus sign is used when
- x is negative
-
- where x = Input Voltage/ V and
- y = Output Voltage/ V
- range of allowable voltages is -V..+V
-
-
- The parameter mu determines the degree of compression, and a common value is
- 255
-
- __________________________________________________________________________
- Hope this helps!
-
- Donal O'Mahony, omahony@cs.tcd.ie
- Computer Science Dept
- Trinity College
- Dublin 2
- Ireland
-