[LAD] need help with Java audio problem

Dave Phillips dlphillips at woh.rr.com
Sun Aug 17 20:06:01 UTC 2008


Brad Garton wrote:
> This doesn't necessarily help with your problems, 
Hi Brad,

Just for the record, the problem is solved. It was/is a system 
configuration problem, and I'm still not sure what's happening. If Java 
uses the default OSS device (/dev/dsp) there are no probelsm as long as 
the device isn't in use by another app. If Java uses the ALSA device, 
for some reason it opens pcmC0D0p, then switches to pcmC1D0p. This 
happens in both HighC and jein, they showed the same behavior. My 
"problem" was that I didn't have any speakers connected to card1 
(because I use it only for its MIDI ports; card0 is a Delta 66), and as 
soon as I connected some speakers I could hear the sound. Doh...

But why is Java switching devices ? Where does it get the message that 
it should do so ?

> but I've found
> JSyn to be a terrific way to develop java audio apps:
>
> 	http://www.softsynth.com/jsyn/
>
> (f you are looking at alternatives...)
Thanks, it's already on the list. I'll try to get to it tomorrow. :)

Best,

dp




More information about the Linux-audio-dev mailing list