HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

Go Back   HardwareHeaven.com > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > General Discussion


Reply
 
Thread Tools
Old Jun 12, 2008, 02:01 PM   #1
DriverHeaven Junior Member
 
Join Date: Oct 2005
Location: Melbourne, Australia
Posts: 33
Rep Power: 0
phetamine is on a distinguished road

What happens to the 44.1/24 signal of my gt-8 when i connect via spdif?

BOSS GT-8 Guiter Effects Processor :: Specifications

According to the boss website, the gt-8 has 24-bit converters (i'm assuming 24-bit throughout) and a 44.1 kHz sampling rate. The digital output is EIAJ CP1201, S/P DIF.

I'm well aware that a 10kx DSP is locked at 16-bit/48kHz. I can still connect the gt-8 to the audigy drive spdif and it works. And it sounds ok. What i'm wondering is; (excluding direct spdif recording) to what degree is the re-sampled signal suffering from this conversion? Is it significant? I guess it's not really, considering the other tracks in my multitrack setup utilize audigy and live pre's and adc's anyway, so it's not exactly overall very professional.


The main thing i've been wondering, looking at the peak plugin connected to the spdif/src, is this: Should i program the gt-8 to never output any higher than a certain "-xx dB" ?

The reason i ask this is my (probably way off) idea that the bit rate conversion might simply drop the least significant bits. And if i keep the signal quiet, the LSB's are totally insignificant anyway. Is that how it works?
phetamine is offline   Reply With Quote


Old Jun 12, 2008, 11:39 PM   #2
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

Quote:
Originally Posted by phetamine View Post
The main thing i've been wondering, looking at the peak plugin connected to the spdif/src, is this: Should i program the gt-8 to never output any higher than a certain "-xx dB" ?

The reason i ask this is my (probably way off) idea that the bit rate conversion might simply drop the least significant bits. And if i keep the signal quiet, the LSB's are totally insignificant anyway. Is that how it works?
No, the lower the signal level, the more relevant the LSB bits would become.

i.e.
Assuming that the 8 LSB bits are dropped for a 24 bit signal, and your signal level is low enough to only use the lower 16 bits, if the lower 8 bits are dropped, then you have only 8 bits left of the original signal, not much dynamic range, and in order to hear the signal you probably have to add a lot of gain, which not only applifies your signal, but also amplifies any noise that might be present.

What you want is a signal that is as hot as possible (but without overdriving your inputs/clipping, etc), so that you can pack as much useful info as possible into the MSB bits.
Russ is offline   Reply With Quote
Old Jun 13, 2008, 12:05 AM   #3
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 0
Maddogg6 will become famous soon enoughMaddogg6 will become famous soon enough

Quote:
No, the lower the signal level, the more relevant the LSB bits would become.
Yeah, I figure the algo for the SRC is a bit more sophisticated than a simple dropping of any bits. And theres some hint to interpolated SRC in the Driver Compatibility settings, is it the simple interpolation like DANE can use? Perhaps thats only valid in the 44>48 conversion ?? I dunno, but it would be interesting to learn what algo is implemented, and if its software or hardware.
Maddogg6 is offline   Reply With Quote
Old Jun 13, 2008, 12:47 AM   #4
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

Quote:
Originally Posted by Maddogg6 View Post
Yeah, I figure the algo for the SRC is a bit more sophisticated than a simple dropping of any bits.
Maybe, but (when talking about bit depth only) I am not sure how much more it could do, other than maybe dithering.

BTW: I am pretty sure that re-sampling is done by the hardware, and I would imagine that it is a bit more sophisticated than the interp instruction (i.e. (when changing sample rates) probably something like up-sampling by some common multiplier (i.e. zero stuffing), filtering, and decimation, etc).

But of course, all of this is just speculation...

Last edited by Russ; Jun 13, 2008 at 12:58 AM.
Russ is offline   Reply With Quote
Old Jun 13, 2008, 01:29 AM   #5
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 0
Maddogg6 will become famous soon enoughMaddogg6 will become famous soon enough

Quote:
Maybe, but (when talking about bit depth only) I am not sure how much more it could do, other than maybe dithering.
I was thinking re-scaling so not to cause all loss at one end of the head room.

I dunno - just dropping bits just doesnt sound right in my head...(no pun intended) - I was thinking if all lower 8 bits are dropped - low level sounds are grossly distorted, dropping the higher 8 bits would grossly distort the higher level sound - dropping 4 on each end (4 lowest and 4 highest) with a compander (compress input, expand output), I would think, reduce distortions (edit: I mean, spread the loss out evenly)... ?? but you know how little I know about this digital stuff .
Maddogg6 is offline   Reply With Quote
Old Jun 13, 2008, 05:11 AM Threadstarter Thread Starter   #6
DriverHeaven Junior Member
 
Join Date: Oct 2005
Location: Melbourne, Australia
Posts: 33
Rep Power: 0
phetamine is on a distinguished road

Thanks Maddogg6 and Russ for sharing your thoughts. I had a feeling it would be somewhat unknown, the actual methods used to resample (by resample i'm also implying the change in bit depth, assuming it's all part of the same process of starting with one sample rate/bit depth, and finishing with another sample rate/bit depth). I'll try to keep the signal hot so as to retain the highest possible resolution. That makes sense, conversion or no conversion.

I'll tell ya what, all this kx technical stuff has been the ultimate distraction from making music the last few years. It's time to stop worrying about sample conversion, and start making more music. I just can't get over (or accept any alternative to) the kx way of DSP control. More specifically, the KX ProFX way.

If the new support for E-Mu interfaces becomes as feature rich as in 10kx models... maybe a 1616 should be my preference over some firewire interface? I don't know a whole lot about E-Mu's at this stage but it's looking quite promosing. The ADAT could equal 8 high quality pre's of my choice couldn't it? That would be awsome, all routable in a kx dsp window. Is that something to look forward to? (that was way off topic, sorry)
phetamine is offline   Reply With Quote
Old Jun 13, 2008, 05:35 AM   #7
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

Quote:
Originally Posted by Maddogg6 View Post
I was thinking re-scaling so not to cause all loss at one end of the head room.
It is not all at one end, those 8 bits are spread among the full range.

Although the 16 bit range and 24 bit range is different as far as the number of possible values, remember that all the values for both still represent a total signal range of -1..1.

The extra 8 bits adds extra (8 bits = 255) values in between each 16 bit value. These extra values are not representable in 16 bits, so all you can do is round to a nearby 16 bit value. Discarding the 8 LSB bits just has the effect of rounding (Toward Negative Infinity) to the nearest 16 bit value.

i.e.
2 sequential 16 bit values:
[COLOR=Lime]0x1fff[/COLOR] = [COLOR=Lime]0.249969482421875[/COLOR]
[COLOR=Lime]0x2000[/COLOR] = [COLOR=Lime]0.25[/COLOR]


The same 24 bit values (in [COLOR=Lime]green[/COLOR]) (with the 8 LSB bits in [COLOR=DeepSkyBlue]blue[/COLOR]):
[COLOR=Lime]0x1fff[COLOR=DeepSkyBlue]00[/COLOR][/COLOR] = [COLOR=Lime]0.249969482421875[/COLOR]
[COLOR=White]0x1fff[/COLOR][COLOR=DeepSkyBlue]01[/COLOR] = 0.24996960163116455078125
[COLOR=White]0x1fff[/COLOR][COLOR=DeepSkyBlue]02[/COLOR] = 0.2499697208404541015625
...
0x1fff[COLOR=DeepSkyBlue]80[/COLOR] = 0.2499847412109375
...
[COLOR=Lime][COLOR=White]0x1fff[/COLOR][COLOR=DeepSkyBlue]f[/COLOR][/COLOR][COLOR=DeepSkyBlue]e[/COLOR] = 0.2499997615814208984375
[COLOR=White]0x1fff[/COLOR][COLOR=DeepSkyBlue]ff[/COLOR] = 0.24999988079071044921875 [COLOR=Lime]
[COLOR=Lime]0x2000[/COLOR][COLOR=DeepSkyBlue]00[/COLOR] [/COLOR]=
[COLOR=Lime] 0.25

[/COLOR]
(I used hex values above only because it is easier to relate hex values to bits, then it is with decimal integers).

Had the original signal been sampled at both 24 bits and 16 bits to begin with, if you compared the two, you would see similar results you get by just discarding the 8 LSB bits.

Quote:
Originally Posted by phetamine View Post
I'll tell ya what, all this kx technical stuff has been the ultimate distraction from making music the last few years. It's time to stop worrying about sample conversion, and start making more music. I just can't get over (or accept any alternative to) the kx way of DSP control. More specifically, the KX ProFX way.
Sounds good to me . Yes, kX has spoiled us, and I would hate to not have the flexibility that kX gives us.

Last edited by Russ; Jun 15, 2008 at 12:28 PM. Reason: correction
Russ is offline   Reply With Quote
Old Jun 13, 2008, 06:38 AM   #8
Tail Razer
 
Maddogg6's Avatar
 
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 0
Maddogg6 will become famous soon enoughMaddogg6 will become famous soon enough

Quote:
Discarding the 8 LSB bits just has the effect of rounding (toward zero) to the nearest 16 bit value.
Ahhh - ok, that makes sense.
Maddogg6 is offline   Reply With Quote
Old Jun 15, 2008, 03:25 AM Threadstarter Thread Starter   #9
DriverHeaven Junior Member
 
Join Date: Oct 2005
Location: Melbourne, Australia
Posts: 33
Rep Power: 0
phetamine is on a distinguished road

All that binary / hex stuff above made me think a little harder and try to recall the binary stuff that i learned a few years back (which without putting to much use, was somewhat forgotten). Your elaboration there Russ, has put things much more into perspective. I've also had a look into debates regarding general 16-bit vs 24-bit, and techniques like dithering and such.

And so here is MY current perspective. Although there is a huge difference in the number of possible values for a 16-bit sample vs a 24-bit sample (65,536 vs 16,776,960), 16-bit audio isn't bad, and I'm ok with working with it for now. What Russ made me realize with all that binary bullsh is that if my 10kx card were to use a simple bit-chop (truncation) to convert a 24 bit sample to a 16-bit sample, the end result will be pretty close to what it would be if it were sampled at 16 bits in the first place. So thanks Russ for clearing that bit up. The problem with this though, after doing a little research, is that "pretty close to" can be a bad thing when the method for calculating the new sample is a consistant rounding off. If the error (from rounding) is repeating and correlated to the signal, the error that results is repeating and cyclical, and cyclical errors yield undesirable artifacts.

kx cards, being a consumer product (from the yesteryear), could well use some 'crap' method for resampling 24-bit spdif for all i know. At least now though i'm gathering some understanding of how this all works and some of the methods that are out there. If anybody is interested... the wikipedia article on "dither" is quite informative. Dither - Wikipedia, the free encyclopedia

Now it is time to find out what method is used by kx cards. I'm going to start by looking at the spdif standards... maybe dithering (or whatever) is already part of the protocol?
phetamine is offline   Reply With Quote
Old Jun 15, 2008, 06:13 AM Threadstarter Thread Starter   #10
DriverHeaven Junior Member
 
Join Date: Oct 2005
Location: Melbourne, Australia
Posts: 33
Rep Power: 0
phetamine is on a distinguished road

Ok, i found a pdf... (1995) Engineering Guidlines: The EBU/AES Digital Audio Interface
http://www.ebu.ch/CMSimages/en/tec_A...tcm6-11890.pdf

Quote:
4.3.3. Word length and dither
The word length of the audio signals can be useful information for processing equipment. CS Byte 2 (bits 3-5) is used to show the state of the Least Significant Bits of the audio data by indicating the number of bits used in the original coding. Any further LSB are assumed to be unused. Correct "rounding up" and dithering of the LSBs can greatly enhance the apparent audible dynamic range of a PCM signal. Theoretically this can be by up to the equivalent of three extra bits. So if for any reason the audio bit stream has to be truncated, for instance from 20 bits to 16 for recording or before D-A conversion, the LSB of the output 16 bit signal should be re-dithered. The dithering will take into account the 4 LSBs of the 20 bit signal that are to be discarded. In this way the full potential of the 16 bit system will be realised and the minimum of audio quality loss will occur. It is significant that the noise levels given in the "codes of practice" for general audio performance of many organisations, written with analogue practice in mind, can only be met by 16 bit digital coding if intelligent dithering is implemented. Note that extra LSBs may be present on the interface between two items of signal processing equipment. These can be generated as overflow bits in the processing of the earlier stage. In theory this should be signalled in the Channel Status but it is quite possible that Channel status will not be changed. Therefore the maximum word length of the audio samples actually present may be longer than the "encoded sample word" indicated by Byte 2 of channel status. For the sake of the overall signal quality it is important that these extra LSBs are not truncated. As a general rule, it is worth considering CS byte 2 bits 3 to 5 as indicating the inactive audio bits present. Generally the default condition of 20 audio bits per sample will be sufficient for practically all broadcasting purposes. 24 bit distribution will be needed in only a few cases.
"24 bit distribution will be needed in only a few cases" lol, 1995

So... the question is this... Did Creative Labs implement the appropriate subsystem to meet these (clearly well documented) needs? I'm tipping yes... but who knows
phetamine is offline   Reply With Quote
Old Jun 15, 2008, 01:12 PM   #11
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

BTW: Truncating would be rounding towards negative infinity, rather than towards zero [COLOR=Gray](I corrected my previous post to avoid confusion)[/COLOR].

I do not have a 10k2 card to test with, so I can only guess at what the hardware might be doing [COLOR=Gray](10k1 models re-sample everything)[/COLOR].

Last edited by Russ; Jun 15, 2008 at 04:46 PM. Reason: correction
Russ is offline   Reply With Quote
Old Jun 23, 2008, 12:35 AM Threadstarter Thread Starter   #12
DriverHeaven Junior Member
 
Join Date: Oct 2005
Location: Melbourne, Australia
Posts: 33
Rep Power: 0
phetamine is on a distinguished road

thanks for the correction Russ
phetamine is offline   Reply With Quote
Reply

Thread Tools