Processing: v3.4
Sound Library: v2.0.2
I’m trying to use the Sound library but when I instantiate a SoundFile object I receive this error in the console:
ArrayIndexOutOfBoundsException: 16
Oct 24, 2018 8:53:33 PM com.jsyn.devices.javasound.JavaSoundAudioDevice <init>
INFO: JSyn: default output latency set to 80 msec for Windows 7
Oct 24, 2018 8:53:33 PM com.jsyn.engine.SynthesisEngine start
INFO: Pure Java JSyn from www.softsynth.com, rate = 44100, RT, V16.8.0 (build 463, 2017-10-16)
This is the code which results in the error:
import processing.sound.*;
SoundFile file;
void setup()
{
size(800, 600);
file = new SoundFile(this, "song.mp3");
}
void draw()
{
}
Would be able to help me to resolve this issue? Thank you.