Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#10449 - Compressor DSP

Attached to Project: Rockbox
Opened by Jeffrey Goode (Blue_Dude) - Saturday, 18 July 2009, 18:59 GMT+2
Last edited by Jeffrey Goode (Blue_Dude) - Friday, 30 October 2009, 13:58 GMT+2
Task Type Patches
Category Music playback
Status Closed
Assigned To No-one
Player Type SW-codec
Severity Low
Priority Normal
Reported Version Version 3.3
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

This patch is a proof-of-concept attempt at reducing gain of samples on the fly using an tanh algorithm to eliminate clipping. The signal is pre-amplified to bring up low level information and then everything above -6dB is increasingly reduced to bring the signal under the clipping limit. This has the effect of reducing dynamic range. So far, it's not been optimized for speed or anything else; this is just to see if it works.
   compressor.patch (10.1 KiB)
 apps/settings.c         |    1 
 apps/lang/english.lang  |   17 +++++
 apps/settings.h         |    1 
 apps/menus/sound_menu.c |    3 
 apps/fixedpoint.c       |    1 
 apps/dsp.c              |  148 ++++++++++++++++++++++++++++++++++++++++++++++++
 apps/settings_list.c    |    6 +
 apps/dsp.h              |    2 
 8 files changed, 179 insertions(+)

This task depends upon

Closed by  Jeffrey Goode (Blue_Dude)
Friday, 30 October 2009, 13:58 GMT+2
Reason for closing:  Rejected
Additional comments about closing:  A different concept was used for the dynamic range compressor DSP.

Loading...