Recently I learned that jackd (jack2) uses 32 bit floating point for audio process (that's the standard on music production world).
I suppose that is possible change that option, but for a good documentation for my learning I want to know How to see my actual parameters of jack (in terminal of course), specially the bit depth option.
Hint: In source code exists the next line: JACK_DEFAULT_AUDIO_TYPE
How to see what bit depth audio jack uses?
Moderators: MattKingUSA, khz
- Linuxmusician01
- Established Member
- Posts: 1542
- Joined: Mon Feb 23, 2015 2:38 pm
- Location: Holland
- Has thanked: 773 times
- Been thanked: 142 times
Re: How to see what bit depth audio jack uses?
Start Jack from the command line! Example:
Output:
If you examine this cryptic output closely you'll see the following: sample format for capture: 16bit.
P.S. You can send a command (i.e. Jackaudio) to the background so you can close the terminal window and still have Jack running with the ampersand (&):
Code: Select all
jackd -d alsa --device hw:0
Code: Select all
jackdmp 1.9.12
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2017 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
no message buffer overruns
no message buffer overruns
no message buffer overruns
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio0
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 16bit little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 2 periods for playback
P.S. You can send a command (i.e. Jackaudio) to the background so you can close the terminal window and still have Jack running with the ampersand (&):
Code: Select all
jackd -d alsa --device hw:0 &
- digitsun
- Established Member
- Posts: 91
- Joined: Thu Mar 04, 2021 1:50 am
- Has thanked: 13 times
- Been thanked: 14 times
Re: How to see what bit depth audio jack uses?
Thanks @Linuxmusician01 Useful tip!
And... How do you modify that option? I'm looking in and the only parameter maybe be possible is -b:
Is possible to change the option to 24bits?
And... How do you modify that option? I'm looking in
Code: Select all
man jackd
Code: Select all
-b, --bit-depth int
- Linuxmusician01
- Established Member
- Posts: 1542
- Joined: Mon Feb 23, 2015 2:38 pm
- Location: Holland
- Has thanked: 773 times
- Been thanked: 142 times
Re: How to see what bit depth audio jack uses?
That's an option for the Netone (no idea what that is actually) backend, we use Alsa.digitsun wrote: ↑Sun Nov 28, 2021 3:09 am Thanks @Linuxmusician01 Useful tip!
And... How do you modify that option? I'm looking inand the only parameter maybe be possible is -b:Code: Select all
man jackd
Is possible to change the option to 24bits?Code: Select all
-b, --bit-depth int
You could try:
Code: Select all
-S, --shorts
Try to configure card for 16-bit samples first, only trying 32-bits if unsuccessful. Default is to prefer 32-bit samples.
-
- Established Member
- Posts: 1392
- Joined: Thu Oct 11, 2018 4:13 pm
- Has thanked: 168 times
- Been thanked: 247 times
Re: How to see what bit depth audio jack uses?
That's right. What then does the question "How to see what bit depth audio jack uses?" mean?
Clue : Is JACK a piece of hardware?