I recently started playing with Processing. I want to create a simple FFT visualizer that will import music file using Sound library. Here's my code and the console output.
Console Output
import processing.sound.*;
SoundFile file;
void setup()
{
size();
background(51);
file = new SoundFile(this, "song.mp3");
file.play();
}
void draw ()
{
}
Can someone explain why is this happening and how it can be fixed? By the way, sound file (song.mp3) is located in the same folder as the .pde file.