help with my code for connecting 7 neo pixel rings to 7 button inputs

Hi Paul!

Thank you for the reply.
As a part of my interactive project, I have 7 places of interaction in my object, and each piece of the 7 when touched, gives an output of light with that particular part of the object.
I need these seven different inputs and outputs, as a part of the interactive experience with the object and I am simultaneously working with making these buttons work as a MIDI controller. I can now make buttons(inputs)work as a MIDI, I worked on making these 7 inputs connected to the neopixels work in relation to each other when each button is pressed(I am attaching the new code I worked on after this previous code that i had attached.This new code(multipleneopixels1) works, but this code I attached first (buttoncyclermultiples)would be the best case scenario for my project.) So basically , there is a light and music show that occurs when a person interacts with the object.(but combining the music show i.e., MIDI code is for the next part after I solve this, although , I combined the codes, it loads without errors but does not act like a MIDI yet)
now the second part of your comment -
the start show is only starting with button state being LOW or HIGH. or it goes back to the old state -

void loop() {
// Get current button state.
bool newState0 = digitalRead(BUTTON_PIN0);

// Check if state changed from high to low (button press).
if (newState0 == LOW && oldState == HIGH) {
// Short delay to debounce button.
delay(20);
// Check if button is still low after debounce.
newState0 = digitalRead(BUTTON_PIN0);
if (newState0 == LOW) {
showType++;
if (showType > 9)
showType=0;
startShow(showType);

}
}

// Set the last button state to the old state.
oldState = newState0;


Thank you, Looking forward to your response!

multipleneopixles1.ino (16.3 KB)