Arduino Music Visualizer FFT

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
danBuonocore
 
Posts: 10
Joined: Fri Jun 13, 2014 2:59 pm

Arduino Music Visualizer FFT

Post by danBuonocore »

I'm following this tutorial to create a music visualizer. I adapted the Arduino code to run with the Adafruit 32x16 LED matrix, which seems to work. But I'm getting errors with the FFT itself. The code I am using can be found here:
http://www.instructables.com/files/orig ... ZNVB9C.pde

I am getting this error:

Code: Select all

==== JavaSound Minim Error ====
==== Unable to return a TargetDataLine: unsupported format - PCM_SIGNED 44100.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian

=== Minim Error ===
=== Minim.getLineIn: attempt failed, could not secure an AudioInput.
I've looked around for a while and cannot seem to figure it out. I believe it is a setting I have on my computer that is preventing Processing to access the audio, but I really don't know.

User avatar
pburgess
 
Posts: 4161
Joined: Sun Oct 26, 2008 2:29 am

Re: Arduino Music Visualizer FFT

Post by pburgess »

Not familiar with that error, but yeah, it's something on the Processing side, not Arduino. The Processing forum might be a good place to search or ask around:

http://forum.processing.org/two/

wis2018
 
Posts: 1
Joined: Tue Nov 07, 2017 5:39 pm

Re: Arduino Music Visualizer FFT

Post by wis2018 »

Hi my friend I need code display FFT for Arduino (Library FFT Arduino) AnalogRead(A0) ADC and display spectrum Frequency by processing? help me please

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”