Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: FFT with Teensy 3.2 but no Audio Board

  1. #1

    FFT with Teensy 3.2 but no Audio Board

    I'm working on a wearable project that will have a mic and a bunch of LED strips that will respond to music.

    I want to use FFT to analyze the incoming music - do I need to have the Audio Board to do this, or can I use AudioAnalyzeFFT256 without it? Would I still use the Audio System Design Tool ( to achieve this, even without the Audio board? I'm hoping I can use that function since I'll have other processing happening at the same time as the FFT, and it seems like AudioAnalyzeFFT256 operates almost like a background thread.

    I'm looking at a pretty basic setup. Here's the export from the Audio System Design Tool (its really just ADC to FFT256).

    #include <Audio.h>
    #include <Wire.h>
    #include <SPI.h>
    #include <SD.h>
    #include <SerialFlash.h>
    // GUItool: begin automatically generated code
    AudioInputAnalog         adc1;           //xy=252,176
    AudioAnalyzeFFT256       fft256_1;       //xy=470,201
    AudioConnection          patchCord1(adc1, fft256_1);
    // GUItool: end automatically generated code

  2. #2
    Senior Member
    Join Date
    Jun 2013
    Torrance CA
    Yes you can do this, you just need a microphone or line in circuit to an analog pin. The audio library has a reference circuit to convert an input signal to the 0 - 1.2V needed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts