Get numbox to display flat symbol in MIDI display mode?

thouldcroft's icon

I am working on a basic note naming interactive quiz of sorts for my Fundamentals of Music course so that students can quiz themselves outside of class.

I have a number object displaying MIDI pitch values, and I have a nslider alongside it displaying the pitches on the staff.

Nslider will display a pitch enharmonically by multiplying the pitch by -1, and this works great for testing students for enharmonic equivalence, but if I were to quiz them and ask them to identify the note displayed on the nslider, I would like to be able to have them input the flat value if it is displayed as such in the nslider.

I'm sure I could use Bach to try and develop this, but I don't have the time to dive into Bach, and I feel like employing lcd and attempting to call upon the flat symbol ASCII code in a notational font set would be equally time consuming and messy.

There has to be a way to get the number box to display flats, particularly if the nslider has the functionality, right?

mzed's icon
Max Patch
Copy patch and select New From Clipboard in Max.

There really isn't. I might use coll as a lookup table, like this: