Hi, I have created a small spectrum analyser with the audio board and FastLED3.1 on Teensy 3.1. When I have the following audio initializations the code works fine (with a few glitches on startup):
// GUItool: begin automatically generated code
AudioInputI2S i2s1; //xy=271.20001220703125,212.1999969482422
AudioAnalyzeFFT1024 myFFT; //xy=504.20001220703125,206.1999969482422
AudioConnection patchCord2(i2s1, 0, myFFT, 0);
AudioControlSGTL5000 audioShield;
But when I add another FFT to the right channel:
// GUItool: begin automatically generated code
AudioInputI2S i2s1; //xy=418.20001220703125,441
AudioAnalyzeFFT1024 LeftChannelFFT; //xy=651.2000122070312,414
AudioAnalyzeFFT1024 RightChannelFFT; //xy=655.1999969482422,454.1999969482422
AudioConnection patchCord1(i2s1, 0, LeftChannelFFT, 0);
AudioConnection patchCord2(i2s1, 1, RightChannelFFT, 0);
AudioControlSGTL5000 audioShield; //xy=375.20001220703125,276.00001525878906
The previous code does not work (ie leftChannel stops working). The same LED glitches to start with and then nothing seems to happen. Is there a memory size issue here or lack of processing available on The Audio board?
It should be noted that I am having some power issues (power supply does not like to power my 176leds for some reason ). Please say if power issue will cause the above on the Audio Board. I have turned the brightness down to 50 from 200 and still the above issue is seen. (I know I can run the whole strip on brightness 50 with the Example code cylon, fire2012 etc).
some input would be appreciated!!!
Kind Regards,
Arjun
P.s Can provide rest of code if necessary
// GUItool: begin automatically generated code
AudioInputI2S i2s1; //xy=271.20001220703125,212.1999969482422
AudioAnalyzeFFT1024 myFFT; //xy=504.20001220703125,206.1999969482422
AudioConnection patchCord2(i2s1, 0, myFFT, 0);
AudioControlSGTL5000 audioShield;
But when I add another FFT to the right channel:
// GUItool: begin automatically generated code
AudioInputI2S i2s1; //xy=418.20001220703125,441
AudioAnalyzeFFT1024 LeftChannelFFT; //xy=651.2000122070312,414
AudioAnalyzeFFT1024 RightChannelFFT; //xy=655.1999969482422,454.1999969482422
AudioConnection patchCord1(i2s1, 0, LeftChannelFFT, 0);
AudioConnection patchCord2(i2s1, 1, RightChannelFFT, 0);
AudioControlSGTL5000 audioShield; //xy=375.20001220703125,276.00001525878906
The previous code does not work (ie leftChannel stops working). The same LED glitches to start with and then nothing seems to happen. Is there a memory size issue here or lack of processing available on The Audio board?
It should be noted that I am having some power issues (power supply does not like to power my 176leds for some reason ). Please say if power issue will cause the above on the Audio Board. I have turned the brightness down to 50 from 200 and still the above issue is seen. (I know I can run the whole strip on brightness 50 with the Example code cylon, fire2012 etc).
some input would be appreciated!!!
Kind Regards,
Arjun
P.s Can provide rest of code if necessary