Ambient ceiling lighting project for Dolby 5.1 sound for PC

Gotcha...

I have the variables set from the 6 msdeq7 chips and want to apply the output values to code. Ridht now I'm trying to figure out how to use variables to strove all the leds using "channelSub". Which will have to be devoted by 4 for a 0 to 255 output. Or devided by 10.24 so I get values of 0 to 100. Then I want to transition from purple at 0 to 33, blue from 34 to 66 and red from 67 to 100. I'm also using the code below to pull out only bass.

if (channelSub) {
uint8_t val = MSGEQ7.get(MSGEQ7_BASS);	// Used to remove unwanted frequency's and only use Bass
channelSub[SpectrumBand] = analogRead(5);

So I want to be able to say something like

If ChannelSub = 0 < 33, SubChannelColor (255,0,255) // for purple 
If ChannelSub = 34 < 66, SubChannelColor (0,0,255) // for blue 
If ChannelSub = 67 < 100, SubChannelColor (255,0,0) // for red

And loop that with a delay of 500ms and fade in to each color with a 250ms delay.

I know my explanation is not actual code but it's the best way of explaining what I need. Then I'll start working on the more complex things like the 9 stationary leds which will move around depending on level of the values of the other speakers.

In addition to this I was wondering if it's possible to overlay the other leds on top so no matter where the 9 leds move on the strip.. The rest if the strip will change color according to this code.