FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > DSP

DSP comp.dsp newsgroup, mailing list

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-14-2005, 06:19 AM
Pat Farrell
Guest
 
Posts: n/a
Default Standard audio compression (LA-2A, not MP3) algorithm

This may be a FAQ, but I don't see one, and you guys seem pretty smart.

Is there a standard algorithm for doing audio compression in a DSP context?
I mean the type of compression that recording studios and radio stations
used to use a Universal LA2A or Universal Audio 1176LN. While these
are typically thought of as compression (making the loud ampliture software)
they usually work by making the loud sounds software, and then using
make-up gain to restore the overall level. This means they really
make soft sounds louder and loud sounds stay the same.

Perferably simple and in the time domain. Seems like a natural for
a look ahead algorithm.

It also seems that the naive algorithm, roughtly:
look at the signal over some small look ahead window, if the absolute
value of the signal exceeds some threshold, multiply all values from the
current zero crossing to the max by .9 (or 0.8 or whatever).
would do bad things to signals other than the one you are trying to
compress (say a soft higher frequency signal over a loud low Hz signal)

Thanks
--
Pat


Reply With Quote
  #2 (permalink)  
Old 10-15-2005, 05:01 AM
Mark
Guest
 
Posts: n/a
Default Re: Standard audio compression (LA-2A, not MP3) algorithm

all single band compressors apply the same gain change to all signal
frequencies...

so called multi-band compressors can apply individual gain changes to
individual frequency bands.. i.e. there may be one compressor for the
bass, one for the mid and one for the treble and they work together...

the classic LA2A is a single band compressor

The art in the design of a compressor involves the tuning of the time
constants for the speed of the gain reduction and the speed of the gain
increases.... and the transfer function of the gain changes vs input
level..

Mark

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Contract - port audio compression to TI DSP Ian DSP 0 11-26-2004 02:27 AM
Low complexity compression algorithm I. R. Khan DSP 1 01-27-2004 03:40 AM
New Digital Audio Standard? Randy Yates DSP 134 01-26-2004 01:25 AM
My own digital audio standard Dr. O DSP 2 12-25-2003 06:14 PM
DSP algorithm for Image compression SHIBASIS DSP 1 07-24-2003 10:20 AM


All times are GMT +1. The time now is 04:07 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved