-
Notifications
You must be signed in to change notification settings - Fork 7
Audio
Aw an Audio input we can use the Mic or the Audio Jack. Both Signals pass trough the "-GAIN" variable Resistor next to the Audio Jack and then to the MSGEQ7 Chip. That gives us 7 Fequency Bins from 16000 HZ to 63 HZ. The Chip Count the number of times it noticed that Frequency. (Datasheet)
(Screenshot from Datasheet)
The MainBoard has 2 jumpers for the Mic. There you can set an Auto Gain + Atack/Release. These Jumpers only affect the Mic and not the Audio Jack.
If you look at the Animation above you can see The Audio Analysis happening. Ideal is you can Leave the "-GAIN" on the minimum so that we are not cutting out frequencys. If the MAX(Red) is Maxing out all the time and you are using the Audio Jack then if possible reduce the Sending Volume, if not then adjust the "-Gain" . If you are using the Mic try to adjust the AutoGain Jumpers first and then failback to the "-GAIN" if its not enugh.
Tells the TPM to send the FFT results to you ever VIZ FPS dont put this up to high since some computers freeze when reciving to much info to fast. Hard coded Max 15 FPS
Request an Info update
Each BIN 0 to 7 has a Value from the MSGEQ7 if the Value is over the Trigger . Calculate Result = (VALUE - Trigger) * (Multiply RGB by)
Then we can move the Result into a Color and FX BINs.
You can let the Trigger be automatically adjusted for a Bin. It will be in the range of AVG to MAX but closer to AVG.
What is the minimum value the Auto FFT whould be moved to. You can use this to filer out noise when nothing is happening.
Whats the Max the Auto FFT should me moved to.
This Multiplies the Result of the RGB Bins by this setting before creating the Color.
Here you can See the Color Result as the LED output. And you can choose to Put the Result of the a Bin into the Color result for the Frame.
Add the FFT bin to the Master Brightness
Add the FFT Bin to the Master FPS
FFT bins can be used as inputs for level or to toggle a RUN effect on. There a 5 Types of Bins. based on how they calculate there results.
Depending on the Bin type it also uses 2 Addidtional Parameters StarVal and Trigger.
Just count all the selected bins together to a SUM.
IF (SUM > TRIGGER) retrun SUM else return 0
IF (SUM > TRIGGER) retrun (255-SUM) else return 255
IF (SUM > TRIGGER) retrun (StarVal + SUM) else return StartVal
IF (SUM > TRIGGER) retrun (StarVal - SUM) else return StartVal