update how many midi notes there are and their range