I come on this way to ask a question about implementing multiple microphone from a mixer. And i would like to know if is possible.
I buy a soundcard with 8 inputs so in java programming i assume as the soundcard = mixer where this mixer has 8 inputs (Ports) right?
And in the moment that i capture the sound from that mixer i just need to use one TargetDataLine right? Because is only that mixer. So i can implement on the capture method several connections with microphones and capture on the same time via the TargetDataLine?
Or i need to separate the multiple microphones? I
I would like to make on this way because i see is simple and effective than creates a bunch of other methods.
For example i have soundcard with 4 inputs i connect microphones on 4 inputs and than how i associate in java a port to each microphone?
I implemented one microphone on my application but now i have difficulties to implement other microphones in my application, any tip for how to implement multiple microphone and capturing in the same time?
I need to create a TargetDataLine to each microphone or i can use only one TargetDataLine and associate to differents mixers?
I can't answer any of those questions because I don't know how the hardware is showing up in your system...
As I said before, what I would expect is for each of the microphones to be a port going into the port mixer... and then you record from them by turning them on/off using the selection control, as indicated in the article I linked you.
So you record all 4 of them the same way you'd record just one of them... but by first activating them all on the port mixer.