[LAD] Quantise MIDI note/frequency to musical scale: algorithm?

Jeanette C. julien at mail.upb.de
Thu Dec 30 23:13:31 CET 2021

Hey hey,
I'm currently working on something and need note/pitch quantisation to 
predefined musical scales. Some research has almost entirely yielded such 
features in DAWs and hardware modules that can do it.

Is there a type of algorithm typical method to achieve that in realtime? I'm 
not averse to using lookup tables over the full MIDI range or possibly an 
expected pitch range.

Any help or pointers are welcome.

Many thanks and best wishes,


  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c

I believe
We all have one true love
Somewhere in this world <3
(Britney Spears)

More information about the Linux-audio-dev mailing list