[sdiy] Attenuation in Digi-land

Matthew Smith matt at smiffytech.com
Thu Sep 8 00:00:55 CEST 2011


Hi Folks

Trying to figure the easiest, cheapest (in resources) way of mixing a 
group of signals in the digital domain (programmable logic, in this case.)

The actual mixing is simple enough - add and bit-shift. However, I want 
to adjust (attenuate) the input levels prior to mixing.

Whilst I could use multiplication, this sounds like rather profligate 
use of hardware multipliers - especially as I'm ony working against 
what's effectively a constant, rather than a changing value.

Given a 12-bit value, would it be adequate to provide attenuation with a 
simple bit-shift to knock off however many LSBs?

Cheers

M

-- 
Matthew Smith

Business: http://www.smiffytech.com
Blog:     http://www.smiffysplace.com
Linkedin: http://www.linkedin.com/in/smiffy
Flickr:   http://www.flickr.com/photos/msmiffy
Twitter:  http://twitter.com/smiffy



More information about the Synth-diy mailing list