First post, long time Pd user. Using Max for some teaching. I created an abstraction based on the [pitch] object available in Pd by Olaf Matthes, which organises incoming MIDI note numbers into pitch-class, pitch-class distance and register. So, I thought I'd share:
Rather than using the two [if] statements, I would like to know how to program this function in one [expr]-based statement.