Return to KLUBNL.PL main page

rsgb_lf_group
[Top] [All Lists]

Re: LF: Re: Demonstrating audibility of weak signals - utilty to play wi

To: [email protected]
Subject: Re: LF: Re: Demonstrating audibility of weak signals - utilty to play with.
From: Andy Talbot <[email protected]>
Date: Sat, 12 May 2012 20:35:00 +0100
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=LQch6o4M7w0ZF1SdtPKOi2RD/x6whMityGlOiKHbztQ=; b=tdBBCTRBgnA9BoicRDx4XZX2p/gSz+Qubcp+JNXmNGBVzFkx2AzOAZ8tHk/ZODNTXo wbD2Fyo0QATXnIOIzng9R+bOzyqAMSDnkqinyCi2g6P7PSG8XXY1dtNI3VextMEFRS3F gyjOd2KyIRg7xIzv0D1csYfxaUrjDqC1ou98VntAMlj8Q/YgwZcX0nPnultURX5etgJH LAidMIipHAdq9NaTq4Xzfm4hKTHDCqkw/6Q4geXPcxJi0xdaP6oh/Hb8QUaG/AlVddJ5 gYOVdfkXQ8or0dv9uPS+tXdyaLASEI6urLlyp4FTOb643VkPaVoUR3c+AWlCrXEpU9fn iaaw==
In-reply-to: <CAA8k23RTFF1D1TDNxKN_pRQPF6vc3PC84HYrW-Q5cCeZfM5U=A@mail.gmail.com>
References: <CAA8k23Tpk=77uv=VqenyRV52LDBMoKKfGrE9k32YA3EQ+A1tnA@mail.gmail.com> <000901cd302c$671ed2e0$1502a8c0@Clemens04> <CAA8k23RTFF1D1TDNxKN_pRQPF6vc3PC84HYrW-Q5cCeZfM5U=A@mail.gmail.com>
Reply-to: [email protected]
Sender: [email protected]
Correction,
The 0dB tone reference has an RMS value of 10000 in the generated .wav
file, not 20000 as stated previously.
The peak is therefore 14142 which gives 7.3dB of headroom for a
resonable amount of added noise before output scaling becomes
necessary

Andy
G4JNT


On 12 May 2012 13:22, Andy Talbot <[email protected]> wrote:
> Clipping is where the generated samples of signal plus noise exceed
> the 16 bit range of the .WAV file.   All values are calculated as
> floating point, scaled to keep close to the maximum.  ie the tone at
> 0dB amplitude has a peak of 28282 (RMS = 20000)
>
> Noise is calculated based on an RMS at 0dB of 20000 in the wav file
> calculated for teh full sampling rate bandwidth, the same as the tone
> 0dB level, in a truely statistical manner.   So you can see that for
> noise levels much above -20dB some spikes will occasionally exceed the
> alllowed maximum.   If noise were 0dB at full bandwidth, and output
> scale factor were also 0dB it would clip something like 63% of the
> time as the RMS is defined as the one-signma probability.  The need to
> adjust noise amplitude for defined signal bandwidth also adds to the
> confusion
>
> Noise is scaled depending on the requested S/N ratio, and the ratio of
> defined signal bandwidth ro sampling rate and added to the tone
> waveform.  The resulting sample generated, are converted to integers
> by multiplying by the scaling factor (0dB = 1)   Any that exceed 32767
> / -32767 are clipped to those values to prevent overflow, and a count
> of the number of occurances made    If just the odd few are present,
> the amount of clipping is shown,, but  if the number of clipped
> samples exceeds 1% of the total for the file, this is labelled
> "Severe"   Users can then adjust the output scaling appropriately
>
> Andy
> www.g4jnt.com
>
>
> On 12 May 2012 11:45, Clemens  Paul <[email protected]> wrote:
>> Hi Andy,
>>
>> thanks for the nice little program.
>> I've been playing a bit with the utility and wonder under which
>> circumstances clipping occurs.
>> See attached screenshot.
>> With the parameters used in this example there is clipping.
>> I guess the level in 1Hz BW, here 33dB is the crucial parameter?
>> Woud you mind to explain what output scaling means?
>>
>> 73
>> Clemens
>> DL4RAJ
>>
>>


<Prev in Thread] Current Thread [Next in Thread>