Hi, I realize this is likely more of a Minim issue than Processing, but hoping I can find someone who has solved a similar problem here.
I’m using minim to take a sound input and apply FFT transformations to a sketch. It works fine on a Debian x86 machine, but when ported over to Raspbian I can’t get minim to play nicely with my audio source.
The following error comes up when trying to run the sketch:
==== JavaSound Minim Error ====
==== Couldn’t open the line: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.
==== JavaSound Minim Error ====
==== Unable to return a SourceDataLine: unsupported format - PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian
Here is the excerpt of code:
in = minim.getLineIn(Minim.STEREO,512);
fft = new FFT(in.bufferSize(), in.sampleRate());
Has anyone else resolved this? Doing some digging online, I’ve found the following resource:
https://forum.processing.org/one/topic/sound-with-minim-no-longer-works.html
Trying to implement the fix from the second link now, will update if successful…
Any assistance would be much appreciated!