We are about to switch to a new forum software. Until then we have removed the registration on this forum.
terminate called after throwing an instance of 'std::runtime_error' what(): RtApiAlsa::probeDeviceOpen: pcm device (hw:0,3) won't open for input. Could not run the sketch (Target VM failed to initialize).
Removing this function allows the code to run.
music = new SoundFile(this,"herbert.wav");
I believe this is a compatibility issue with Linux. I'm using Processing 3.2.1, the latest sound library, and Ubuntu 16.04.
I hope someone knows hows to solve this.
Thank you.