ohmtech-rdi / eurorack-blocks

Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust
Other
293 stars 19 forks source link

Add sampling time and oversampling options to adc #679

Closed ohmtech-rdi closed 1 month ago

ohmtech-rdi commented 1 month ago

This PR adds sampling time (times to charge the capacitor for the sample & hold part of the ADC — depends on input impedance on the ADC pin) and oversampling options.

The default values are made for callback rates of 1ms.