Hey hey,
just before the year is out, here are two opcodes to quantise both MIDI notes and pitches in Hz (cps) to a given scale:
http://juliencoder.de/sound/scale_quantiser-1.0.zip
Includes a set of scales, ready to include into the orchestra and a demo showing both opcodes.
If you have other useful western scale suggestions or any feedback, feel free!
Best wishes for 2022,
Jeanette