• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

JMF / Java Sound and Sound Cards

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
Bring me the box labeled "thinking cap" ... and then read this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic