Yes, I have something very similar I will dig up and send to you this evening.
Its basically the 128 midi notes stored in progmem as the phase increment required to play the pitch on an Auduino or similar interrupt driven synth.
In addition I have another progmem map which holds the valid notes from given scales - at the moment I only have the pentatonic scale, but the code works very well so I do not see any problems with you adding more scales.
PM Me if I forget to send it to you
Here are some Auduinos for you to enjoy -
Here my code in action in the second video (which sounds like an auduino but is using my modular synth code) -
Duane B