M
mail.flacco
I'd like to build an oscilloscope in java that monitors the sound
card, so if I'm playing something in winamp or itunes I can look at
the freq domain info.
I've been having a lot of trouble reading from the soundcard though. I
can't get a targetline for a mixer that lets me read off the
soundcard, and likewise I haven't seen any ports that look like they
could be used.
Port.info gives me a microphone, line in and cd player as my audio
input options, and the speakers as an output. I'd like to read what's
being sent out!
I've looked at several example programs:
1) http://www.developer.com/java/other/article.php/1579071#Discussion and Sample Programs
- Records sound from microphone, then plays it back. If I could read
off the sound card, I'd be golden. However, changing the mixer from
"sound capture something or other" gives me audio format errors,
despite the fact that targetlineinfo on the other mixers tells me lots
of formats are supported.
2) http://www.physci.org/sound/audiotrace.html - Doesn't work
unfortunately.
Thanks guys.
card, so if I'm playing something in winamp or itunes I can look at
the freq domain info.
I've been having a lot of trouble reading from the soundcard though. I
can't get a targetline for a mixer that lets me read off the
soundcard, and likewise I haven't seen any ports that look like they
could be used.
Port.info gives me a microphone, line in and cd player as my audio
input options, and the speakers as an output. I'd like to read what's
being sent out!
I've looked at several example programs:
1) http://www.developer.com/java/other/article.php/1579071#Discussion and Sample Programs
- Records sound from microphone, then plays it back. If I could read
off the sound card, I'd be golden. However, changing the mixer from
"sound capture something or other" gives me audio format errors,
despite the fact that targetlineinfo on the other mixers tells me lots
of formats are supported.
2) http://www.physci.org/sound/audiotrace.html - Doesn't work
unfortunately.
Thanks guys.