Control-Surface icon indicating copy to clipboard operation
Control-Surface copied to clipboard

higher resolution pitch bend through oversampling

Open 2018robert opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe Midi control change resolution is only 7 bit and this is too coarse for some applications, resulting in audible changing through steps rather than smooth change. Midi pitch bend is 14 bit. The Arduino ADC is 10 bit. PBPotentiometer gives you the 10 bits, which although it beats 7 bits can still be too coarse.

Describe the solution you'd like Use oversampling to get higher resolution pitch bend. It's documented here:

https://www.best-microcontroller-projects.com/arduino-adc-oversampling.html

According to the doco, 12 bits attained through oversampling lowers the sampling rate to 300Hz which is 3ms. Since people don't notice delays of less than ~10ms, a pitch bend resolution of 12 bits should be achievable with oversampling. You might get away with 13bits (13.3ms) for some applications.

Describe alternatives you've considered Using an external ADC is possible, but scary for a noob like me.

2018robert avatar Nov 08 '24 08:11 2018robert