2021-12-23 (Th) EWC_Panel Tidying up the drum machine

The General MIDI instrument list showed nothing below 0x1B, "High Q," but I changed my program to test, and I confirmed there was nothing there, so I didn't check over the prescribed limit.

My function for refreshing the OLED screen required an instrument name, but I wanted to update when I changed anything. Instead of showing the instrument name, I added velocity, melody, and track to the screen. I put "Track X" in the upper-left corner, the other two went next to the small instrument names, but they just hovered there. I changed the upper-right corner to say "Melody Y," but I left space to increase the storable melodies. I cut the velocity because it's easy to see that by glancing at the slider, although, by that logic, I suppose I don't need to show the track's number since it's on the LED panels.

I made a second list of instrument names, but this one had additional and sometimes missing spaces to accommodate the OLED formatting. The text won't break words when I print it large. The smaller versions never ran over the edge, so they still pull from the old array. While working on instruments, I cued them all up and listed seven that I didn't want to hear when making prandom arrangements. I put them on a list, but I was too tired to make it recursive so the code couldn't generate a second unwanted instrument. I skipped out and added four, the smallest number that would never result in an unwanted number. I should have made a "safe list" with all the choices I liked.
Latest, but blurry, screenshot

The rest of the posts for this project have been arranged by date.
First time here?

Completed projects from year 1
Completed projects from year 2
Completed projects from year 3
Completed projects from year 4
Completed projects from year 5
Completed projects from year 6
Completed projects from year 7
Completed projects from year 8

Disclaimer for http://24hourengineer.blogspot.com and 24HourEngineer.com

This disclaimer must be intact and whole. This disclaimer must be included if a project is distributed.

All information on this blog, or linked by this blog, is not to be taken as advice or solicitation. Anyone attempting to replicate, in whole or in part, is responsible for the outcome and procedure. Any loss of functionality, money, property, or similar, is the responsibility of those involved in the replication.

All digital communication regarding the email address 24hourengineer@gmail.com becomes the intellectual property of Brian McEvoy. Any information contained within these messages may be distributed or retained at the discretion of Brian McEvoy. Any email sent to this address, or any email account owned by  Brian McEvoy, cannot be used to claim property or assets.

Comments to the blog may be utilized or erased at the discretion of the owner. No one posting may claim property or assets based on their post.

This blog, including pictures and text, is copyright to Brian McEvoy.