pchmidi

scorefile command -- convert midi note # to oct.pc

USAGE:
pchmidi will set val in the above example to the octave.pitch-class representation corresponding to the midi note number passed into the function.

See also midipch and cpsmidi.