For Programmers: Free Programming Magazines  


Home > Archive > Java Help > November 2005 > Capturing sound over SB (What you hear)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Capturing sound over SB (What you hear)
Pszemus

2005-11-28, 9:58 pm

I need help 'bout the sound capturing through Sound Blaster Live. In
system (Widows) mixer there's a "What you hear" option (as an input). I
found some help how to capture microphone sound using mixer, DataLine,
TargetDataLine (I can paste some source) but there's no info about
changing TargetDataLine to something else than microphone...
Can anyone please tell me how this can be done.
--
Pszemus
-==[ GG: 1620292 ]==-
-==[ www: www.sarm.w.pl ]==-
-==[ e-mail: pszemus@o2.pl ]==-
Knute Johnson

2005-11-28, 9:58 pm

Pszemus wrote:
> I need help 'bout the sound capturing through Sound Blaster Live. In
> system (Widows) mixer there's a "What you hear" option (as an input). I
> found some help how to capture microphone sound using mixer, DataLine,
> TargetDataLine (I can paste some source) but there's no info about
> changing TargetDataLine to something else than microphone...
> Can anyone please tell me how this can be done.


Look at javax.sound.sampled.Port. Sound can only come from two places,
the microphone input or the line input.

--

Knute Johnson
email s/nospam/knute/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com