Audio sample rate and bit depth


Frank O'Donnell K6FOD
 

I may just be menu-blind, but is there somewhere in SDR Console to set the sample rate and bit depth of the audio output? Tried to search help, but striking out.

Thanks,

Frank


Simon Brown
 

No,

It's fixed 48 kHz, bit depth is 16, 24 or 32 depending on the soundcard configuration. Typically, it's 32-bit samples with W10 and W11.

Simon Brown


From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> on behalf of Frank O'Donnell K6FOD via groups.io <gio@...>
Sent: 01 March 2023 01:58
To: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io>
Subject: [SDR-Radio] Audio sample rate and bit depth
 
I may just be menu-blind, but is there somewhere in SDR Console to set the sample rate and bit depth of the audio output? Tried to search help, but striking out.

Thanks,

Frank

--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


Ken Sejkora
 

Thanks for the clarification, Simon.  Quick question, though.  If one has a virtual audio cable application installed, and the sample rate set to 96 ksps for both the input and output of the various virtual devices, and routes the SDR Console audio output to a virtual device configured for 96 ksps sampling, will Console still override the audio to only be 48 ksps?  I would have thought the virtual cable settings would take precedence.

 

Thanks for such a wonderful piece of software.

 

Ken -- WBØOCV

 

From: Simon Brown
Sent: Wednesday, March 1, 2023 01:15 AM
To: main@SDR-Radio.groups.io
Subject: Re: [SDR-Radio] Audio sample rate and bit depth

 

No,

 

It's fixed 48 kHz, bit depth is 16, 24 or 32 depending on the soundcard configuration. Typically, it's 32-bit samples with W10 and W11.

 

Simon Brown

 


Simon Brown
 

The output rate from SDR Console is 48kHz whenever possible. In the unlikely situation where the device can't be opened at 48kHz then the audio will be resampled.


From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> on behalf of Ken Sejkora via groups.io <kjsejkora@...>
Sent: 01 March 2023 11:03
To: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io>
Subject: Re: [SDR-Radio] Audio sample rate and bit depth
 

Thanks for the clarification, Simon.  Quick question, though.  If one has a virtual audio cable application installed, and the sample rate set to 96 ksps for both the input and output of the various virtual devices, and routes the SDR Console audio output to a virtual device configured for 96 ksps sampling, will Console still override the audio to only be 48 ksps?  I would have thought the virtual cable settings would take precedence.

 

Thanks for such a wonderful piece of software.

 

Ken -- WBØOCV

 

From: Simon Brown
Sent: Wednesday, March 1, 2023 01:15 AM
To: main@SDR-Radio.groups.io
Subject: Re: [SDR-Radio] Audio sample rate and bit depth

 

No,

 

It's fixed 48 kHz, bit depth is 16, 24 or 32 depending on the soundcard configuration. Typically, it's 32-bit samples with W10 and W11.

 

Simon Brown

 


--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


Frank O'Donnell K6FOD
 

Thanks, Simon. I'm using VB-Cable virtual audio device software to route the audio to the audio editor app GoldWave. For my purpose it wants to see 16-bit 48 kHz, so that's what I have VB-Cable configured for in Windows sound settings. Sounds like that will work smoothly with SDRC. This is in W10.

Frank


On Tue, Feb 28, 2023 at 10:15 PM, Simon Brown wrote:
It's fixed 48 kHz, bit depth is 16, 24 or 32 depending on the soundcard configuration. Typically, it's 32-bit samples with W10 and W11.


Simon Brown
 

Windows will resample as needed, W10 /W11 is excellent.


From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> on behalf of Frank O'Donnell K6FOD via groups.io <gio@...>
Sent: 01 March 2023 16:23
To: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io>
Subject: Re: [SDR-Radio] Audio sample rate and bit depth
 
Thanks, Simon. I'm using VB-Cable virtual audio device software to route the audio to the audio editor app GoldWave. For my purpose it wants to see 16-bit 48 kHz, so that's what I have VB-Cable configured for in Windows sound settings. Sounds like that will work smoothly with SDRC. This is in W10.

Frank

On Tue, Feb 28, 2023 at 10:15 PM, Simon Brown wrote:
It's fixed 48 kHz, bit depth is 16, 24 or 32 depending on the soundcard configuration. Typically, it's 32-bit samples with W10 and W11.

--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


jdow
 

Show me a human ear that can benefit from even 20 bits/sample. Even 16 bits per sample is likely to be a higher dynamic range than the source material given building HVAC noise (maybe 20 - 40 dB SPL) and the maximum safe level of 80 dB spl.


We just grin when somebody demands 24 bit or 32 bit audio and take their money. It all works. (SoundMan maps to floats inside and works from there, VERY fast, with ASIO audio.) Of all places where 24 bit 192 kHz audio is NOT needed we had a theme park ask for it. "Ok." They overspent on audio cards. But, it's only money.)


{o.o}


On 20230228 22:15:18, Simon Brown wrote:

No,

It's fixed 48 kHz, bit depth is 16, 24 or 32 depending on the soundcard configuration. Typically, it's 32-bit samples with W10 and W11.

Simon Brown

From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> on behalf of Frank O'Donnell K6FOD via groups.io <gio@...>
Sent: 01 March 2023 01:58
To: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io>
Subject: [SDR-Radio] Audio sample rate and bit depth
 
I may just be menu-blind, but is there somewhere in SDR Console to set the sample rate and bit depth of the audio output? Tried to search help, but striking out.

Thanks,

Frank

--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


jdow
 

For awhile, if not currently, the first in line user of the audio port basically set the sample rate. All other connections were (often crudely) resampled to that rate. We learned to open a real 48 kHz in a startup program that simply opened the default audio device at 48 ksps and did nothing with it except hold it. It was a dirty trick; but, it worked.


{^_-}


On 20230301 03:35:07, Simon Brown wrote:

The output rate from SDR Console is 48kHz whenever possible. In the unlikely situation where the device can't be opened at 48kHz then the audio will be resampled.

From: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io> on behalf of Ken Sejkora via groups.io <kjsejkora@...>
Sent: 01 March 2023 11:03
To: main@SDR-Radio.groups.io <main@SDR-Radio.groups.io>
Subject: Re: [SDR-Radio] Audio sample rate and bit depth
 

Thanks for the clarification, Simon.  Quick question, though.  If one has a virtual audio cable application installed, and the sample rate set to 96 ksps for both the input and output of the various virtual devices, and routes the SDR Console audio output to a virtual device configured for 96 ksps sampling, will Console still override the audio to only be 48 ksps?  I would have thought the virtual cable settings would take precedence.

 

Thanks for such a wonderful piece of software.

 

Ken -- WBØOCV

 

From: Simon Brown
Sent: Wednesday, March 1, 2023 01:15 AM
To: main@SDR-Radio.groups.io
Subject: Re: [SDR-Radio] Audio sample rate and bit depth

 

No,

 

It's fixed 48 kHz, bit depth is 16, 24 or 32 depending on the soundcard configuration. Typically, it's 32-bit samples with W10 and W11.

 

Simon Brown

 


--
- + - + -
Please use https://forum.sdr-radio.com:4499/ when posting questions or problems.


Mark Cayton
 

On Fri, Mar 10, 2023 at 03:25 AM, jdow wrote:
Show me a human ear that can benefit from even 20 bits/sample.
From Wikipedia (https://en.wikipedia.org/wiki/Dynamic_range):

1) The dynamic range of human hearing is roughly 140 dB, varying with frequency, from the threshold of hearing (around −9 dB SPL at 3 kHz) to the threshold of pain (from 120–140 dB SPL).

2) Digital audio with undithered 20-bit quantization is theoretically capable of 120 dB dynamic range, while 24-bit digital audio affords 144 dB dynamic range.

Given the above, 20 bit audio is not sufficient to cover the full dynamic range of h
uman hearing.
 

Mark


Willi Westrupp
 

Does that mean if I set up a 16 bit recording with the console that I could understand more with 32 bit? Or is that another construction site?
 
Willi

Mark Cayton <oldjackbob@...> hat am 14.03.2023 16:14 CET geschrieben:
 
 
On Fri, Mar 10, 2023 at 03:25 AM, jdow wrote:
Show me a human ear that can benefit from even 20 bits/sample.
From Wikipedia (https://en.wikipedia.org/wiki/Dynamic_range):

1) The dynamic range of human hearing is roughly 140 dB, varying with frequency, from the threshold of hearing (around −9 dB SPL at 3 kHz) to the threshold of pain (from 120–140 dB SPL).

2) Digital audio with undithered 20-bit quantization is theoretically capable of 120 dB dynamic range, while 24-bit digital audio affords 144 dB dynamic range.

Given the above, 20 bit audio is not sufficient to cover the full dynamic range of human hearing.
 
Mark


Siegfried Jackstien
 

you do not want 120 db not even ask 140 db in your house or near your ear

-10 to 80 maybe 90 ... i think 100 db is enough ... if we have 120 .. thats enough for sure

thats -10 to plus 110 (neighbours close??)

........

dg9bfc sigi

Am 14.03.2023 um 16:14 schrieb Mark Cayton:

On Fri, Mar 10, 2023 at 03:25 AM, jdow wrote:
Show me a human ear that can benefit from even 20 bits/sample.
From Wikipedia (https://en.wikipedia.org/wiki/Dynamic_range):

1) The dynamic range of human hearing is roughly 140 dB, varying with frequency, from the threshold of hearing (around −9 dB SPL at 3 kHz) to the threshold of pain (from 120–140 dB SPL).

2) Digital audio with undithered 20-bit quantization is theoretically capable of 120 dB dynamic range, while 24-bit digital audio affords 144 dB dynamic range.

Given the above, 20 bit audio is not sufficient to cover the full dynamic range of h
uman hearing.
 

Mark


Alan G4ZFQ
 

On 14/03/2023 15:14, Mark Cayton wrote:
Given the above, 20 bit audio is not sufficient to cover the full dynamic range of human hearing.
Mark,

But will the ear hear a fly land at the same time there is a jet taking off outside?
That is dynamic range.

73 Alan G4ZFQ


Mark Cayton
 

Um, no it's not.

Mark


jdow
 

Hm, Mark's message didn't make it to me for some reason,

In response to item 1, the dynamic range of the human ear is much less than 140 dB if you are concerned about deafness or pain. Nominally it can do 0 dB to 80 dB without damage. Short term you can exceed 80 dB. 100 dB is a teenage stupid dare thing, "I can stand it, can you?" Now, your challenge is to find a place with 0 dB noise in your home. 30 dB to 40 dB is a quiet room considering most HVACs.

Even considering you might find a really quiet room at 20 dB, your ear cannot hear more than about a 30 to 40 dB range in SPLs at the same time. That is a feature of how ears work, which it turns out is a nice nerd snipe if you look it up and are fascinated with learning odd things.

Furthermore, that 80 dB dynamic range is less than 16 bit dynamic range.

Item 2 is immaterial when you consider the damage free dynamic range of the ear.

{^_^}   (Joanne gets nerd sniped by the oddest things. Note that at the "0 dB" end of the dynamic range your own blood flow sets your noise floor when you stop breathing. If you doubt me I have a special deal on gold plated wall sockets for your anti-noise gold plated plugs on your hifi system.)

On 20230314 09:15:01, Willi Westrupp wrote:

Does that mean if I set up a 16 bit recording with the console that I could understand more with 32 bit? Or is that another construction site?
 
Willi
Mark Cayton <oldjackbob@...> hat am 14.03.2023 16:14 CET geschrieben:
 
 
On Fri, Mar 10, 2023 at 03:25 AM, jdow wrote:
Show me a human ear that can benefit from even 20 bits/sample.
From Wikipedia (https://en.wikipedia.org/wiki/Dynamic_range):

1) The dynamic range of human hearing is roughly 140 dB, varying with frequency, from the threshold of hearing (around −9 dB SPL at 3 kHz) to the threshold of pain (from 120–140 dB SPL).

2) Digital audio with undithered 20-bit quantization is theoretically capable of 120 dB dynamic range, while 24-bit digital audio affords 144 dB dynamic range.

Given the above, 20 bit audio is not sufficient to cover the full dynamic range of human hearing.
 
Mark


jdow
 

I wonder where he got his 140 dB from. At 145 dB he'd be talking about the noise level the gunner on an Ml 19 Mod  3 firing from an HMMMV. (Er, I got nerd sniped again. https://www.nrc.gov/docs/ML0701/ML070120304.pdf )

{^_^}

On 20230314 10:34:02, Siegfried Jackstien wrote:

you do not want 120 db not even ask 140 db in your house or near your ear

-10 to 80 maybe 90 ... i think 100 db is enough ... if we have 120 .. thats enough for sure

thats -10 to plus 110 (neighbours close??)

........

dg9bfc sigi

Am 14.03.2023 um 16:14 schrieb Mark Cayton:
On Fri, Mar 10, 2023 at 03:25 AM, jdow wrote:
Show me a human ear that can benefit from even 20 bits/sample.
From Wikipedia (https://en.wikipedia.org/wiki/Dynamic_range):

1) The dynamic range of human hearing is roughly 140 dB, varying with frequency, from the threshold of hearing (around −9 dB SPL at 3 kHz) to the threshold of pain (from 120–140 dB SPL).

2) Digital audio with undithered 20-bit quantization is theoretically capable of 120 dB dynamic range, while 24-bit digital audio affords 144 dB dynamic range.

Given the above, 20 bit audio is not sufficient to cover the full dynamic range of h
uman hearing.
 

Mark


jdow
 

You're both correct regarding "dynamic range". There is instantaneous dynamic range, jet take off vs fly, and absolute dynamic range, said fly in a sound deadening chamber vs nearby jet takeoff. For another look at it examine floating point formats. For any given power of 2 exponent value there is a fixed dynamic range of about about 7 digits. But the overall dynamic range is much larger with exponent adjustments.

There is a third dynamic range that is more practical, the dynamic range from quietest perceptible sound up to ear damage levels. If you don't care about your ears and are not presenting in a public venue then you do need to adjust your perspectives. An M3 MAAWS gunner experiences an SPL of 190 dB. I pity your ears. Even with 100 dB of hearing protection he's still experiencing ear damage.

If course, if you are a customer of mine and you want that dynamic range on your sound production I'd have to mention to you that technology does not allow that dynamic range in a sound reproduction system due to practical issues. (NIST might be able to do it at very great expense. I suspect they have not done it.) But if you demand 24 bit DACs and processing that supports it, fine, we have it and will take your money as we snicker about it. We don't even charge more for it. And that theme park is quite pleased with the results, limited to 80 dB SPL due to risks of hearing damage lawsuits and to much higher than 30 dB SPL ambient conditions.

Note that any time Wikipedia is cited as a definitive source a baby kitten or puppy dies.

{^_^}

On 20230314 12:34:43, Mark Cayton wrote:

Um, no it's not.

Mark


Siegfried Jackstien
 

not forget the oxygen free speaker wires

dg9bfc sigi

Am 15.03.2023 um 04:34 schrieb jdow:

Hm, Mark's message didn't make it to me for some reason,

In response to item 1, the dynamic range of the human ear is much less than 140 dB if you are concerned about deafness or pain. Nominally it can do 0 dB to 80 dB without damage. Short term you can exceed 80 dB. 100 dB is a teenage stupid dare thing, "I can stand it, can you?" Now, your challenge is to find a place with 0 dB noise in your home. 30 dB to 40 dB is a quiet room considering most HVACs.

Even considering you might find a really quiet room at 20 dB, your ear cannot hear more than about a 30 to 40 dB range in SPLs at the same time. That is a feature of how ears work, which it turns out is a nice nerd snipe if you look it up and are fascinated with learning odd things.

Furthermore, that 80 dB dynamic range is less than 16 bit dynamic range.

Item 2 is immaterial when you consider the damage free dynamic range of the ear.

{^_^}   (Joanne gets nerd sniped by the oddest things. Note that at the "0 dB" end of the dynamic range your own blood flow sets your noise floor when you stop breathing. If you doubt me I have a special deal on gold plated wall sockets for your anti-noise gold plated plugs on your hifi system.)

On 20230314 09:15:01, Willi Westrupp wrote:
Does that mean if I set up a 16 bit recording with the console that I could understand more with 32 bit? Or is that another construction site?
 
Willi
Mark Cayton <oldjackbob@...> hat am 14.03.2023 16:14 CET geschrieben:
 
 
On Fri, Mar 10, 2023 at 03:25 AM, jdow wrote:
Show me a human ear that can benefit from even 20 bits/sample.
From Wikipedia (https://en.wikipedia.org/wiki/Dynamic_range):

1) The dynamic range of human hearing is roughly 140 dB, varying with frequency, from the threshold of hearing (around −9 dB SPL at 3 kHz) to the threshold of pain (from 120–140 dB SPL).

2) Digital audio with undithered 20-bit quantization is theoretically capable of 120 dB dynamic range, while 24-bit digital audio affords 144 dB dynamic range.

Given the above, 20 bit audio is not sufficient to cover the full dynamic range of human hearing.
 
Mark


Mark Cayton
 

On Wed, Mar 15, 2023 at 07:52 AM, jdow wrote:
Note that any time Wikipedia is cited as a definitive source a baby kitten or puppy dies.
The first sentence alone that I quoted contained cites to no less than 8 professional/technical/academic authoritative sources, I simply removed the cites for brevity in my original post but if you had bothered to actually open the link I provided you'd have seen them for yourself:

"The dynamic range of human hearing is roughly 140 dB,[6][7] varying with frequency,[8] from the threshold of hearing (around −9 dB SPL[8][9][10] at 3 kHz) to the threshold of pain (from 120–140 dB SPL[11][12][13])."

But hey, you go ahead and jump on the "bash Wikipedia and everyone who cites Wikipedia" bandwagon cuz everyone's doing it.

I'm done here.

Mark