[sdiy] 8bits, 10bits or12bits DAC for a midi2cv converter?

Tom Wiltshire tom at electricdruid.net
Fri Oct 19 13:16:02 CEST 2007


On 18 Oct 2007, at 20:30, m.bareille at free.fr wrote:

>
> Exact !
>
> On the other side this quantized effect can be musicaly very  
> interesting...
>
> If the DAC have a  10/12/16 bits resolution and be driven by a  
> classic  7bits CC
> value ( 128steps ) , this suppose the CPU to compute an  
> interpolation to get all
> in between steps values according to the DAC resolution , to avoid  
> the steppy
> effect. No a simple thing to implement, i think , specialy on small  
> PIC chips...

It does make the chip work quite hard, but you can do linear  
interpolation on even a 16F series PIC. My envelope generator  
firmware uses it to fill in between datapoints for the exponential  
envelope curves. It works very well at making the output smooth, even  
with a 10-bit PWM output.

T.






More information about the Synth-diy mailing list