[sdiy] Fast envelope follower circuit needed..

cheater cheater cheater00 at gmail.com
Fri Mar 29 10:06:48 CET 2013


Brian & Co.,

On Fri, Mar 29, 2013 at 1:14 AM,  <rsdio at sounds.wa.com> wrote:
> The easiest thing to do with signed data is use abs() to get the absolute
> value. Many 8-bit processors even have a native opcode to compute abs(), but
> they're not merely masking out the sign bit as would be done by and'ing with
> 0x7F.
>
> You are correct that inverting the data below the midpoint will work with
> unsigned data.
>
> You can probably use almost exactly the same code for either signed or
> unsigned.

why bother? The noise floor and inharmonic distortion introduced by
this process, done much more easily in an analog front-end, will be so
severe that the whole device will produce erroneous, un-musical
output.

Cheers,
D.



More information about the Synth-diy mailing list