tompak
Newbie level 3

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
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