Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2007

Tip: Looking for answers? Try searching our database.

Capturing playing audio

Thread view: 
mick.heywood@gmail.com - 26 Feb 2007 12:04 GMT
Hi there,

Does anyone know how you can capture the currently playing audio using
Java Sound?  For instance, if I'm playing something with WinAmp, I'd
like to capture that, for recording to file or compress-and-broadcast
purposes.  I can capture from the microphone no problems, but I
effectively want access to the sound that is being sent to the
speakers.

Any help much appreciated,

Mick
Andrew Thompson - 26 Feb 2007 13:01 GMT
On Feb 26, 11:04 pm, mick.heyw...@gmail.com wrote:
...
> Does anyone know how you can capture the currently playing audio using
> Java Sound?  

Capture, yes.  I did not attempt to do anything
more than plot it, though.

The (1st message of the) thread.
<http://groups.google.com/groups?
selm=1149650350.245160.11750@y43g2000cwc.googlegroups.com>

The (recentish) code
<http://www.physci.org/test/oscilloscope/>

The application.
<http://www.physci.org/sound/audiotrace.html>

HTH

Andrew T.
mick.heywood@gmail.com - 16 Mar 2007 04:44 GMT
> On Feb 26, 11:04 pm, mick.heyw...@gmail.com wrote:
> ...
[quoted text clipped - 18 lines]
>
> Andrew T.

Thanks Andrew.  Turns out I was on the right track, but did not have
audio loopback enabled so was getting no signal.  Once that was
enabled it was all good!

Thanks again,

Mick
Andrew Thompson - 16 Mar 2007 05:28 GMT
On Mar 16, 2:44 pm, mick.heyw...@gmail.com wrote:
> > On Feb 26, 11:04 pm, mick.heyw...@gmail.com wrote:
> > ...
>
> > > Does anyone know how you can capture the currently playing audio using
> > > Java Sound?
..
> > <http://groups.google.com/groups?
> > selm=1149650350.245160.11...@y43g2000cwc.googlegroups.com>
...
> Thanks Andrew.  

Your future lack of 'full quoting' will be
thanks enough!

>..Turns out I was on the right track, but did not have
> audio loopback enabled so was getting no signal.  

Aha!  Those damn audio loopbacks are a huge
hurdle for deploying Java sound apps.
Could you give us some more details of the
OS and hardware?

>..Once that was enabled it was all good!

Excellent.  Glad you sorted it.

Andrew T.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.