• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • 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!
 
This tiny ad is wafer thin:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic