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 13:22:03 +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; bh=fz6fGjuBS96mAbmd20+9+sanGN7Zq0LLQvb5mX4bsPc=; b=oRy8RiGwLpobBCvUAQuousJLeDtUwuziXKtvo1RLqqkdpNoZnx55XSm0i1SpBTe2Qn ZOaJ99BekyMB1fOvBf8grJGmVJbByFKnbWCtF3+UC5OBWCNYJUndD45yPz3QJZDftRN4 7UqSlocXjaYjMgSDdtM92oTWSJccRUcWPq3/+DxA6QJsmuwsk+8+OyhsKqDcgYTCsIna UhdGJNjeJ1r+FZ3NtMw5ZBfpTe0hrq5mWzLW/E32az0gDWBh+IuDxsDo96yQ96ED83cL AAseJHSpEt1Fo2S6lHoYh162KQAB2vZci2IS79cynniAQAi9KvnzASdNIqU6BbGXeDtO jOyg==
In-reply-to: <000901cd302c$671ed2e0$1502a8c0@Clemens04>
References: <CAA8k23Tpk=77uv=VqenyRV52LDBMoKKfGrE9k32YA3EQ+A1tnA@mail.gmail.com> <000901cd302c$671ed2e0$1502a8c0@Clemens04>
Reply-to: [email protected]
Sender: [email protected]
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>