Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

higher resolution pitch bend through oversampling #1092

Open
2018robert opened this issue Nov 8, 2024 · 0 comments
Open

higher resolution pitch bend through oversampling #1092

2018robert opened this issue Nov 8, 2024 · 0 comments

Comments

@2018robert
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant