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

Thread: Audio Line In with FFT

  1. #1

    Audio Line In with FFT

    If using the audio line in, can you still use the FFT1024 function to process the frequency data the same as the SD input over I2S? If so, what commands would you use to switch between inputs? I also presume that you could pass the line in to line out while processing the audio with the Audio Adapter board. Any code examples available other than the PassThroughStereo sketch?

  2. #2
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    6,920
    The FFT and most other audio objects are independent of the input. So, yes it works.
    There is no command to switch inputs, but you an use a "mixer". Isn't there a FFT example ?

    Did you ever try the Audio GUI-Tool ? It's great.

  3. #3

    Audio Line In with FFT

    Quote Originally Posted by Frank B View Post
    The FFT and most other audio objects are independent of the input. So, yes it works.
    There is no command to switch inputs, but you an use a "mixer". Isn't there a FFT example ?

    Did you ever try the Audio GUI-Tool ? It's great.
    Frank,

    Thanks much. Yes I have used the Audio GUI-Tool and it is great! I am going to soon try the MP3 player code you developed for the SD card and presume that will work also with the FFT function. I just need to know how to auto-play through a list of audio files continuously or repeat a particular song selection. Any ideas?

    Jerry

  4. #4
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    6,920
    As the mp3 lib is just a audio-lib object - yes, of course fft will work.
    Maybe take a look at the Example sketch by Dnstje.nl (included in the codecs-lib) for a player.

Posting Permissions

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