How to attenuate a digital signal?

Discussion in 'Hi-Fi and General Audio' started by alanbeeb, Dec 21, 2005.

  1. alanbeeb

    alanbeeb Grumpy young fogey

    Joined:
    Mar 5, 2004
    Messages:
    967
    Likes Received:
    1
    Location:
    Edinburgh
    Folks - any advice appreciated.... the problem is when feeding digital signal into my Behringer 2496, I'm getting digital clipping occuring fairly regularly, and can't see a way to lower the digital input sensitivity. I'm using AES/EBU in, coming from a monarchy 48/96 upsampler, so the input signal is at 96Khz.

    Any ideas? thanks
     
    alanbeeb, Dec 21, 2005
    #1
  2. alanbeeb

    Paul Ranson

    Joined:
    Sep 4, 2003
    Messages:
    1,602
    Likes Received:
    0
    Location:
    An octopus's garden.
    Digital clipping can occur when the input to an ADC is too high (or perhaps this is actually analogue clipping...) or when the processing of data overflows numerically.

    You have two devices processing digitally, an 'upsampler' and the Behringer. You need to establish whether the input to the Behringer is clipped or whether the Behringer processing is clipping.

    Paul
     
    Paul Ranson, Dec 21, 2005
    #2
  3. alanbeeb

    Tenson Moderator

    Joined:
    Nov 12, 2003
    Messages:
    5,947
    Likes Received:
    1
    Location:
    Kent, UK
    What music are you listening to? A lot does clip anyway! Classical is unlikely to.

    Put the DEQ in complete bypass mode and see if it still clips. If it does, try adjusting the 'Gain Offset' in the utility menu.
     
    Tenson, Dec 21, 2005
    #3
  4. alanbeeb

    alanbeeb Grumpy young fogey

    Joined:
    Mar 5, 2004
    Messages:
    967
    Likes Received:
    1
    Location:
    Edinburgh
    Tried the gain offset.... the clipping is much worse if I turn it up, but doesn't reduce if I turn it down. Quite possibly the clipping is present on the recordings, but I'm fairly sure I'm getting distortion which isn't happening when playing through the analogue inputs. Most of the rock stuff I've tried seems to be clipping most of the time, as you say classical recordings only doing it at the "really loud bits".

    To match levels with the analogue input I'm having to run the gain offset at -6.0db when using the digital input.
     
    alanbeeb, Dec 21, 2005
    #4
  5. alanbeeb

    Paul Ranson

    Joined:
    Sep 4, 2003
    Messages:
    1,602
    Likes Received:
    0
    Location:
    An octopus's garden.
    Rip a bad track on your PC and examine the wave form to see whether it is clipped in the original.

    Paul
     
    Paul Ranson, Dec 21, 2005
    #5
  6. alanbeeb

    zanash

    Joined:
    Jun 20, 2003
    Messages:
    3,826
    Likes Received:
    2
    Location:
    Notts.
    Or simply add a couple of resistors to the signal say 10k in series and 1k to ground. this should provide a simple solution to see if thats the problem.
     
    zanash, Dec 22, 2005
    #6
  7. alanbeeb

    alanbeeb Grumpy young fogey

    Joined:
    Mar 5, 2004
    Messages:
    967
    Likes Received:
    1
    Location:
    Edinburgh
    I have been in contact with Monarchy's agents and they have offered to send parts and instructions how to fit, their proposed solution sounds like the one you are suggesting. Thanks.

    Now...anyone handy with soldering nearby? :D
     
    alanbeeb, Dec 22, 2005
    #7
  8. alanbeeb

    Tenson Moderator

    Joined:
    Nov 12, 2003
    Messages:
    5,947
    Likes Received:
    1
    Location:
    Kent, UK
    How can a resistor change the level of a digital signal? The level is encoded in to the 16bit word.
     
    Tenson, Dec 22, 2005
    #8
  9. alanbeeb

    I-S Good Evening.... Infidel

    Joined:
    Jun 25, 2003
    Messages:
    4,842
    Likes Received:
    1
    Location:
    In a world of pain
    Does it also occur without the monarchy?

    Attenuating a PCM signal involves loss of resolution.
     
    I-S, Dec 22, 2005
    #9
  10. alanbeeb

    zanash

    Joined:
    Jun 20, 2003
    Messages:
    3,826
    Likes Received:
    2
    Location:
    Notts.
    Your just reducing the volume of the signal not the content ie reducing the voltage the reciever chip sees.
     
    zanash, Dec 23, 2005
    #10
  11. alanbeeb

    Tenson Moderator

    Joined:
    Nov 12, 2003
    Messages:
    5,947
    Likes Received:
    1
    Location:
    Kent, UK
    So the level the digital signal is sent at can cause clipping? Even though it has nothing to do with the music? o_O I would have thought as long as the level is not so high it can't decode the data, it will be either on or off, and you will have the data just the same.

    Please explain?
     
    Tenson, Dec 23, 2005
    #11
  12. alanbeeb

    zanash

    Joined:
    Jun 20, 2003
    Messages:
    3,826
    Likes Received:
    2
    Location:
    Notts.
    they way I see it ...which could be too simplistic is that the signal overwhelms the reciever chip...
     
    zanash, Dec 24, 2005
    #12
  13. alanbeeb

    Tenson Moderator

    Joined:
    Nov 12, 2003
    Messages:
    5,947
    Likes Received:
    1
    Location:
    Kent, UK
    Well I guess we will find out :)

    I can see that it might cause some sort of distortion but not sure about what type or if you would get any sound at all. Might be either too high or alright or too low. Thorsten would know surely! Where are ya mister?!
     
    Tenson, Dec 24, 2005
    #13
  14. alanbeeb

    dunkyboy

    Joined:
    Oct 1, 2003
    Messages:
    769
    Likes Received:
    0
    Location:
    Edinburgh
    The signal level won't affect digital clipping - this only happens when the 16-bit word (or whatever word size is used) reaches its maximum possible value (i.e. 1111111111111111 in simplest possible terms - it's most likely more complicated than that, and I don't know enough about PCM to be sure). As Paul says, it sounds like there's an ADC in the chain somewhere that's receiving too high an input...

    Alan, what's the compete equipment chain you're using?

    Dunc
     
    dunkyboy, Dec 24, 2005
    #14
  15. alanbeeb

    zanash

    Joined:
    Jun 20, 2003
    Messages:
    3,826
    Likes Received:
    2
    Location:
    Notts.
    Yes your right...... I'd have thought any audible clipping must be produced outside the decoding. Its possible that the dac output is to high for the following analouge stages ? cure would still be the same but different possitioning of the attenuation components. It's still worth trying to alter the input signal level to see if that cures the problem.
     
    zanash, Dec 25, 2005
    #15
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.