                 if (shown[i] > 0) shown[i] = shown[i] - 1;
                 val = shown[i];
             }
-
-            //Serial.print(shown[i]);
-            //Serial.print(" ");
-
-            // color based on level
-            // rgb24 color = CRGB(CHSV(val * 8, 255, 255));
 
             // color based on band
             rgb24 color = CRGB(CHSV(i * 15, 255, 255));


    // Audio requires memory to work.
    AudioMemory(12);

    //Serial.println(F("Started"));
}

void loop()

/*
 * Based on SpectrumAnalyzerBasic by Paul Stoffregen included in the Teensy Audio Library
 * Modified by Jason Coon for the SmartMatrix Library
 * Requires Teensyduino 1.20 and the Teensy Audio Library
 * Also requires FastLED 2.1
 * If you are having trouble compiling, see
 * the troubleshooting instructions here:
 * http://docs.pixelmatix.com/SmartMatrix/#external-libraries
 */

// all these libraries are required for the Teensy Audio Library
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
