Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #26427

Re: Reading sound output in Java

Newsgroups comp.lang.java.programmer
Date 2013-10-25 14:56 -0700
References <l44r27$ss6$1@speranza.aioe.org> <8146fa5b-403e-47a3-bc4f-cb76a9a2239d@googlegroups.com> <l4ars3$d7$1@speranza.aioe.org> <26c9e48e-7ab1-45be-8869-56e2f6b9f9ca@googlegroups.com> <d7idwbgh05g5$.1epfhq43iu77s.dlg@40tude.net>
Message-ID <273e95fc-a887-410f-a84e-15be809da895@googlegroups.com> (permalink)
Subject Re: Reading sound output in Java
From Lew <lewbloch@gmail.com>

Show all headers | View raw


Joerg Meier wrote:
> Lew wrote:
>> GGolf wrote:
> >> Lew wrote:
> >>> GGolf wrote:
> >>>> Is there a way to read the output that the speakers produce?
> 
> >>> Are you talking about using a microphone to record the speaker sound,
> >>> and reading that in a program?
> 
> >> Yes, but using software instead of hardware. Basically, the "Stereo Mix" 
> >> option that most systems had built-in years ago.
> 
> > You're contradicting yourself, or else I'm not getting you. You said "Yes" to the 
> > microphone question, but you aren't using hardware. What?
> 
> > I have no notion of what you mean by the "Stereo Mix" option.
> 
> 
> In Windows (and. presumably, other OSs), you can record "What you hear", as
> in, you can record whatever your speakers are playing. This is done on a
> software level, so it works even if you have no speakers or microphones. It
> seems to just intercept and copy the data that gets sent to the speaker
> output. I would guess that's what he want.

Maybe, but what he asked for was "the output that the speakers produce", not the 
signal that is input to the speakers.

If he wants the signal as sent to the speakers, does he want the actual electrical 
signal, decoded and turned into some file format, or does he want a copy of the 
MP3 or WAV or whatever generated that signal, or what?

You can guess all you want, but absent the *OP* answering the question, it is only a guess.

As another responder said, the question is vague, and certainly ambiguous.

So, OP, how about it? Are you going to ask a good question, or give up on getting a 
good answer?

The technique you use will depend on exactly what you want.

-- 
Lew

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Reading sound output in Java GGolf <invalid@invalid.com> - 2013-10-22 08:52 +0530
  Re: Reading sound output in Java Lew <lewbloch@gmail.com> - 2013-10-23 16:00 -0700
    Re: Reading sound output in Java GGolf <invalid@invalid.com> - 2013-10-24 15:43 +0530
      Re: Reading sound output in Java Jeff Higgins <jeff@invalid.invalid> - 2013-10-24 11:47 -0400
      Re: Reading sound output in Java Lew <lewbloch@gmail.com> - 2013-10-24 11:18 -0700
        Re: Reading sound output in Java Jeff Higgins <jeff@invalid.invalid> - 2013-10-24 16:27 -0400
          Re: Reading sound output in Java Jeff Higgins <jeff@invalid.invalid> - 2013-10-24 16:36 -0400
        Re: Reading sound output in Java Joerg Meier <joergmmeier@arcor.de> - 2013-10-25 13:47 +0200
          Re: Reading sound output in Java Lew <lewbloch@gmail.com> - 2013-10-25 14:56 -0700
            Re: Reading sound output in Java GGolf <invalid@invalid.com> - 2013-10-26 14:17 +0530
              Re: Reading sound output in Java Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2013-10-26 09:32 +0000
                Re: Reading sound output in Java GGolf <invalid@invalid.com> - 2013-10-26 15:40 +0530
                Re: Reading sound output in Java Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2013-10-26 11:45 +0000
                Re: Reading sound output in Java Jeff Higgins <jeff@invalid.invalid> - 2013-10-26 11:36 -0400
                Re: Reading sound output in Java Jeff Higgins <jeff@invalid.invalid> - 2013-10-26 11:49 -0400
                Re: Reading sound output in Java Jeff Higgins <jeff@invalid.invalid> - 2013-10-26 13:10 -0400
              Re: Reading sound output in Java Jeff Higgins <jeff@invalid.invalid> - 2013-10-26 12:43 -0400
  Re: Reading sound output in Java Jens - 2013-10-25 08:03 +0200

csiph-web