+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Newbie level 3
    Points: 311, Level: 3

    Join Date
    May 2017
    Posts
    4
    Helped
    0 / 0
    Points
    311
    Level
    3

    How to encoding linear signal to logarithmic signal with less bits?

    Hi,

    I am new to encoding signals ... However, I have a problem that I am not sure how to solve:

    - I have a 12-bit linear signal, which I want to encode/compress into the 6-bit logarithmic signal representing 0:-0.5:-31,5 dB from max amplitude. How can I do that?

    - When received, how do I decode/map it back?

    Best regards

    •   AltAdvertisment

        
       

  2. #2
    Super Moderator
    Points: 249,762, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    43,484
    Helped
    13214 / 13214
    Points
    249,762
    Level
    100

    Re: How to encoding linear signal to logarithmic signal with less bits?

    You are asking about AC or DC signal?



    •   AltAdvertisment

        
       

  3. #3
    Super Moderator
    Points: 28,092, Level: 40
    andre_teprom's Avatar
    Join Date
    Nov 2006
    Location
    Brazil
    Posts
    8,391
    Helped
    1058 / 1058
    Points
    28,092
    Level
    40
    Blog Entries
    6

    Re: How to encoding linear signal to logarithmic signal with less bits?

    I have a 12-bit linear signal, which I want to encode/compress
    The nature of a signal tells a lot about the suited technique to encode it. As you are referring to a linear signal, depending on the slope maybe even a compression would be not necessary.

    how do I decode/map it back?
    Honestly, I do not believe that a logarithmic approach could feature the lossless compression.
    --------------------------------------------------------------------------------------------------
    Part of the world that you live in, You are the part that you're giving ( Renaissance )



    •   AltAdvertisment

        
       

  4. #4
    Super Moderator
    Points: 249,762, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    43,484
    Helped
    13214 / 13214
    Points
    249,762
    Level
    100

    Re: How to encoding linear signal to logarithmic signal with less bits?

    I don't hear the OP requiring lossless compression. Logarithmic compression is used for some applications, e.g. good old telecom µ-law. If performed on a digital input signal, it's simple number mapping.



--[[ ]]--