P2AMP - Wav Player with FFT Spectrum analyzer
Dear All,
I would like to share with you a small project I worked on during Xmas holidays.
It's a simple wav player (Winamp Style) running on the P2 Thing + LCD 4.3" (480x272) display with a nice FFT real-time spectrum analyzer.
It includes:
- Paletted display driver to save hub memory (130 KB vs 390 KB with 256 colors 8 bit palette)
- Different Fonts directly loaded from simple bitmap images
- Wav player based on @Rayman code with some additions (like interactive volume control etc ..)
- FFT for spectrum analyzer including windowing (hanning, hammin, flat-top, rectangular etc ..) and all related calculations for graphical representation of the spectrum.
I implemented my own FFT working on 16 bit signed samples (to save some memory) on a 4096 samples window updated every 1024 samples (audio @ 44.1 kHz 16 bit stereo).
4096 samples window at 44.1 kHz allows a good resolution at lower frequencies (approx 11 Hz).
This works on 4 cogs: main program, FFT, wav player and LCD.
Credits @Rayman for the player and LCD driver.
I can share details if interested.


Comments
"interested"
are you kidding? that's brilliant.
Looking forward to seeing the code.
Dave
Nice!
Nice one!
(Also I think I forgot to thank you for the cookies - came on time this year)