Audio - Gerfunky/TinyPixelMapper GitHub Wiki
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.
Auto-Viz
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
Pull FFT Stats
Request an Info update
How It works, The Trigger effect
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.
Auto Trigger
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.
Auto FFT MIN
What is the minimum value the Auto FFT whould be moved to. You can use this to filer out noise when nothing is happening.
Auto FFT Max
Whats the Max the Auto FFT should me moved to.
Multyply RGB by
This Multiplies the Result of the RGB Bins by this setting before creating the Color.
Color Result
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.
FFT-Bri
Add the FFT bin to the Master Brightness
FFT-FPS
Add the FFT Bin to the Master FPS
FFT Bins
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.
Sum Bin
Just count all the selected bins together to a SUM.
Trigger up Bin
IF (SUM > TRIGGER) retrun SUM else return 0
Trigger Down Bin
IF (SUM > TRIGGER) retrun (255-SUM) else return 255
StartVal Up Bin
IF (SUM > TRIGGER) retrun (StarVal + SUM) else return StartVal
StartVal Down Bin
IF (SUM > TRIGGER) retrun (StarVal - SUM) else return StartVal