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

2003-06-28 Thread Steve Harris
Peak amplitude is just that - the largest abs sample value since you last read it. RMS is calculated by summing sqaured samples over some period of time then taking the sqrt of the mean. Limiters and compressors are much trickier. On Mon, Jun 23, 2003 at 05:50:08 +0300, Ralfs Kurmis wrote: > Hi

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

2003-06-24 Thread Joern Nettingsmeier
Ralfs Kurmis wrote: Hi to developers just as an aside from the list admin, i might have to filter for funky chars in the subjects if spam gets worse. so although it looks kewl with all those pipes, it might get eaten in the future... best, jörn -- All Members shall refrain in their internat

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

2003-06-23 Thread Ralfs Kurmis
Hi to developers I'm search for realtime sound and peak gain indicator (db) algorithms and formulas. My first idea is all 16 bit absolute sound_sample_values in time interval t1...t2 compare with ethalon sine wave ( where ethalon sine wave amplitude is 32000 and lenght/2 is t2-t1 ) Also f