File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes JMF / Java Sound and Sound Cards Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JMF / Java Sound and Sound Cards" Watch "JMF / Java Sound and Sound Cards" New topic
Author

JMF / Java Sound and Sound Cards

Dras Trez
Greenhorn

Joined: Nov 18, 2003
Posts: 1
Hi
I'm a engineering university student and am working on a school project.
I'm trying to access my sound card using either JMF or Java Sound.
The sound card I am using is the M Audio USB Quattro Midi Driver. The Quattro has four inputs and I need to be capable of capturing microphone audio from all four inputs. The problem is the Quattro is divided into two mixers, USB Audio Quattro (2) and USB Audio Quattro (3).
USB Audio Quattro (2) corresponds to microphone inputs one and two.
USB Audio Quattro (3) corresponds to microphone inputs three and four.
Using JMF, and the standard code, the CaptureDeviceManager, I can only grab two microphone inputs corresponding to which sound card I select using the control panel. i.e. If I select USB Audio Quattro (2), then I can only grab microphone inputs one and two.
Does anyone know how I could select the other microphone inputs using JMF.
I next tried using Java Sound. Using Java Sound, I can get instances of USB Audio Quattro(2) and USB Audio Quattro (3) as mixers. So, I can actually access both parts of the sound card.
The problem with using Java Sound is that I am unable to access the individual microphones. Therefore, while I can isolate USB Audio Quattro(2) and USB Audio Quattro (3), I can separate the two microphones attached to USB Audio Quattro (2) or (3).
I can only grab one Line from each mixer.
I tried to use Ports to access the microphones, which has supposedly been updated, but to no avail.
I'm at my wits end and any assistance would be greatly appreciated.
Thanks!


Best Regards<p>Dras Trez
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JMF / Java Sound and Sound Cards