Hey guys, I am new to this forum and love it so far. I am attempting to write a program where the user inserts 2 midi notes between 21 and 108 and calculate the note on a keyboard i.e. C4, D5, E6 etc. and the frequency.
I am having trouble with how to set up the case statement to print out the note and the pitch class. Could someone help me organize this?
My approach would be to store the midi notes, keyboard notes, and frequencies in arrays. Then, I would search the arrays using the given midi notes and use the arrays as a lookup table.