I am trying out the soundcipher library, Processing 2.0b6, Xubuntu. The tutorial sketches produce sound and graphic, but also produce error messages as below:
javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported
I searched around and it seems to be a problem that sometimes occurs with certain Java versions and Linux, but I found no clear answer. Is there a way to run these sketches in Processing?
Update:
I read the manual and found this:
"Most problems on Linux come from the version of Java that's included in the download being incompatible with the OS. In that case, remove (or rename) the
included ‘java’ folder,and replace it with a usable version of the JDK (not just the JRE!), or symlink it to a full JDK that's installed on your machine. "
I tried linking to other installed java versions, but then I got another error: javax.sound.midi.MidiUnavailableException
But soundcipher works, after I close all other midi programs (like Minecraft). I decided to continue with soundcipher, as it does everything I was looking for. All the red lines that appear in the console maybe cause trouble further along the road, or maybe the problem gets solved in a later version, etc etc
Meanwhile, I hope this helps someone, and if you read this and know more, please share,