32bit output into 24bit capable soundcard. How bitdepth is converted i |
32bit output into 24bit capable soundcard. How bitdepth is converted i |
Feb 6 2013, 18:10
Post
#1
|
|
|
Group: Members Posts: 145 Joined: 1-January 05 Member No.: 18746 |
When streaming an audio data of 32bit to a 24bit capable soundcard via ASIO, how does the hardware/drivers handle it? Are the excess bits truncated or dithered?
(I use ESI Juli@ souncard) |
|
|
|
![]() |
Feb 7 2013, 13:25
Post
#2
|
|
![]() Group: Developer Posts: 295 Joined: 22-November 10 From: Japan Member No.: 85902 |
Simple right shift results in tiny negative DC offset, but this can be easily killed by the following (this is equivalent to adding 0.5 on float->int rounding):
CODE (sample + 128) >> 8 However, as a result of addition, the resulting value can exceed maximum value in the target bits. Therefore, some kind of saturated arithmetic (clipping) is required. |
|
|
|
amiti 32bit output into 24bit capable soundcard. How bitdepth is converted i Feb 6 2013, 18:10
IgorC http://en.wikipedia.org/wiki/Digital-to-analog_con... Feb 6 2013, 19:03
db1989 QUOTE (IgorC @ Feb 6 2013, 18:03) http://... Feb 6 2013, 19:07
pdq QUOTE (db1989 @ Feb 6 2013, 13:07) QUOTE ... Feb 6 2013, 19:57
pdq Do you know if the 32 bit data is integer or float... Feb 6 2013, 19:03
benski >> 8 Feb 6 2013, 19:29
db1989 QUOTE (pdq @ Feb 6 2013, 18:57) I think t... Feb 6 2013, 20:22
DVDdoug I suppose the details are up to the programmer, bu... Feb 6 2013, 21:02
pdq QUOTE (DVDdoug @ Feb 6 2013, 15:02) With ... Feb 6 2013, 21:43
DVDdoug QUOTE (pdq @ Feb 6 2013, 12:43) QUOTE (DV... Feb 6 2013, 23:53
phofman QUOTE (amiti @ Feb 6 2013, 19:10) When st... Feb 6 2013, 23:16
Arnold B. Krueger QUOTE (amiti @ Feb 6 2013, 12:10) When st... Feb 7 2013, 12:18
2Bdecided See related thread...
http://www.hydrogenaudio.org... Feb 7 2013, 13:00
amiti Thanks for all the help and information.
QUOTE (I... Feb 12 2013, 02:57
saratoga QUOTE (amiti @ Feb 11 2013, 20:57) Thanks... Feb 12 2013, 04:57
phofman I guess that is why dither is recommended for deci... Feb 12 2013, 10:16
amiti QUOTE (saratoga @ Feb 12 2013, 05:57) QUO... Feb 12 2013, 14:28
Arnold B. Krueger QUOTE (amiti @ Feb 12 2013, 08:28) QUOTE ... Feb 12 2013, 15:41
pdq I'm afraid that you are completely missing the... Feb 12 2013, 15:34![]() ![]() |
|
Lo-Fi Version | Time is now: 26th May 2013 - 04:30 |