Re: [linux-audio-dev] Re: |||| Gain/Peak indicator

2003-06-28 Thread Steve Harris
On Tue, Jun 24, 2003 at 11:19:52AM -0400, Marc Lavallée wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Le 24 Juin 2003 10:35, Andrew Burgess a écrit :
  Also for sound limiter (compressor) algorithms .
 
  Sox has a compander and there is also a Dyson compressor LADSPA plugin.
 
  http://sox.sourceforge.net/
  http://plugin.org.uk/faq.php
 
 The Dyson compressor is also included in ecasound:
 http://www.wakkanet.fi/~kaiv/ecasound/

Yup the LADSPA code comes form the ecasound version of the origninal
Dyson. I dont recommend if for study though, its unusually cryptic.

There are some native LADSPA compressors (SCn) that are easier to follow.

- Steve 


Re: [linux-audio-dev] Re: |||| Gain/Peak indicator

2003-06-24 Thread Marc Lavallée
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Le 24 Juin 2003 10:35, Andrew Burgess a écrit :
 Also for sound limiter (compressor) algorithms .

 Sox has a compander and there is also a Dyson compressor LADSPA plugin.

 http://sox.sourceforge.net/
 http://plugin.org.uk/faq.php

The Dyson compressor is also included in ecasound:
http://www.wakkanet.fi/~kaiv/ecasound/

Here's how I capture speech with ecasound and the Dyson compressor:
ecasound -f:16,2,44100 -i alsahw,0,0 -eca:0,0,0,0 -o capture.wav

- -- 
Marc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE++GwYQdzoeKQ0PccRAth0AJsHPdap2fBHJgBbferc6WMkyvMWegCeNSZN
WAc7s+Sn/Q8bkytVavsFznE=
=PRkc
-END PGP SIGNATURE-



Re: [linux-audio-dev] Re: |||| Gain/Peak indicator

2003-06-24 Thread Ralfs Kurmis

  http://sox.sourceforge.net/
  http://plugin.org.uk/faq.php


Many Tnx
But for beginning i'm looking also for simple physical formulas  
for gain calculation .

Is it RMS  Gain (%) = sqrt (  sum 1..n ( sample[i]^2 )  )  /  MAX_SINE_RMS
or  Gain (%) =  sum 1..n  abs( sample[i] ) /  MAX_SINE_AREA
or something else 

sorre im newbie in sound/DSP programing

Tnx in advance
Ralfs K



---
This message contains no viruses. 
Guaranteed by Kaspersky Anti-Virus.
www.antivirus.lv