processing problem

Moderator: flatmax

Post Reply
stebod
Posts: 11
Joined: Sat Jul 22, 2017 5:31 am

processing problem

Post by stebod » Thu Jul 27, 2017 6:20 am

I had everything working fine and then today when i run my sketch i get
==== JavaSound Minim Error ====
==== Couldn't open the line: line with format PCM_SIGNED 200000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian not supported.
any ideas ?

flatmax
Posts: 609
Joined: Sat Jul 23, 2016 11:39 pm

Re: processing problem

Post by flatmax » Thu Jul 27, 2017 12:02 pm

IS that 200 kHz sample rate ?
The upper sample rate is 96 kHz.
Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector

stebod
Posts: 11
Joined: Sat Jul 22, 2017 5:31 am

Re: processing problem

Post by stebod » Thu Jul 27, 2017 11:58 pm

hI Matt, in the sketch code its is
int buffer_size = 4096;
float sample_rate = 200000;

As i said this did work just fine until yesterday and now i just get

==== JavaSound Minim Error ====
==== Couldn't open the line: line with format PCM_SIGNED 200000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian not supported.

Whatever i change the sample rate too i just get the same error, its an FFT sketch for a spectrum analyzer. I did have it running on the pi and audioinjector as seen here

https://www.youtube.com/watch?v=gOw-OvK8a64

stebod
Posts: 11
Joined: Sat Jul 22, 2017 5:31 am

Re: processing problem

Post by stebod » Sun Jul 30, 2017 1:40 am

I seem to have sorted this problem by installing pulseaudio, no idea how or why but the processing sketch works now

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests