Super-Simple Music Spectrum Visualizer

Project tutorial by Alex Wulff

  • 7,567 views
  • 3 comments
  • 9 respects

Secret Door Opener

Project tutorial by Alex Wulff

  • 9,750 views
  • 2 comments
  • 36 respects

Never Forget Your Keys: NFC Door Reminder

Project tutorial by Alex Wulff

  • 8,608 views
  • 1 comment
  • 20 respects


Respected projects 3

Arduino Powered Weather Balloon Datalogger

Project tutorial by nmrsthrust

  • 2,050 views
  • 1 comment
  • 6 respects

No Candy For YOU!

Project tutorial by Jonathan Tindal

  • 2,424 views
  • 5 comments
  • 9 respects

Meca-ROV

Project in progress by Hackster Houston

  • 5,231 views
  • 3 comments
  • 20 respects

  • Super-Simple Music Spectrum Visualizer 3 months ago

    One problem with my current code for very low frequencies is that the frequency resolution, or the width of each FFT bin in the frequency domain, is pretty poor. With my current code, we're collecting 64 samples at a sample rate of around 40 kHz. 64 samples in the time domain yields 64 frequency bins after an FFT. With a sample rate of 40 kHz, you can resolve frequencies 20 kHz and below (per the Nyquist sampling theorem). 20,000 Hertz / 64 bins = 312 Hz/bin. This means that all frequencies between 0 and 312 Hz are grouped into one number, all frequencies between 313 and 625 Hz are grouped into one number, etc. You can increase the number of samples, but it will then take longer to collect those samples. Once you find a good tradeoff between sampling time and frequency resolution, you should just be able to look at only the frequency bins below 50 Hz and use the Arduino Map function to control the RGB intensity values like I do in the example code. Let me know if you have any more questions!

  • The Annoy-O-Bug: A Chirping Light-Up Throwie about 3 years ago

    Glad to hear everything went well and it was annoying enough to have someone call maintenance to fix it! Let me know if you decide to do anything else with the Annoy-O-Bug

  • The Annoy-O-Bug: A Chirping Light-Up Throwie about 3 years ago

    Glad to hear you're helping this circuit live up to its annoying potential ;) I didn't think that magnets could affect the piezo speaker; my understanding was that they don't use magnets and instead have a piezoelectric crystal as the actuator. Perhaps you're covering the hole of the buzzer with the magnets? My recommendation would be to hot glue it by where the positive battery terminal is soldered. Anyways, let me know what your co-workers think!

Add projectSign up / Login