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


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

Re: Reading sound output in Java

From GGolf <invalid@invalid.com>
Newsgroups comp.lang.java.programmer
Subject Re: Reading sound output in Java
Date 2013-10-26 15:40 +0530
Organization Aioe.org NNTP Server
Message-ID <l4g4ev$d0g$1@speranza.aioe.org> (permalink)
References (3 earlier) <26c9e48e-7ab1-45be-8869-56e2f6b9f9ca@googlegroups.com> <d7idwbgh05g5$.1epfhq43iu77s.dlg@40tude.net> <273e95fc-a887-410f-a84e-15be809da895@googlegroups.com> <l4fvi9$23a$1@speranza.aioe.org> <slrnl6n30j.mol.avl@gamma.logic.tuwien.ac.at>

Show all headers | View raw


On 10/26/2013 3:02 PM, Andreas Leitgeb wrote:
> GGolf <invalid@invalid.com> wrote:
>> Let me tell you the use case: I want to
>> (i) capture a VOIP conversation (which could be between multiple
>> participants, or just two participants), and
>> (ii) convert that to text using a speech recognizer (using one of the
>> various implementations of JSAPI), and
>> (iii) display that text on screen.
>
> Is this going to happen real-time? (I have no idea if consumer-grade
> speech-to-text is fast enough for that.)

I've seen a couple of demos where this has been done, though I guess the 
participants have to speak slower than usual for the transcription to 
make some sense.

>
> If so, I'd use a second PC (thus with independent sound system) with
> a microphone & line-in(connected to a "Y"-split of the headphones' cable)
> to capture both outgoing and incoming speech.
> Unless you've got some very special sound hardware on the primary (VoIP
> running) machine, capturing both input and output (where input isn't
> itself mixed into the output) may just not be possible.

Hmm...I think you got a point here. I remember that the Stereo Mix 
option on Windows wouldn't record the input to the microphone unless you 
would /play it back/ to the speakers.

>
> PS: note, that recording of conversations may have legal issues, so make
> sure that at the start of the recording everyone involved knows it and
> agrees to it. (this may not be relevant if the signal is used *only* for
> speech-to-text and displaying of text, and neither text nor signal are
> saved, but I'm not a lawyer.)

Only the text is going to be displayed (the user can save the transcript 
if they want, but it won't go anywhere by itself).

 > If you were from NSA, then you probably
> wouldn't need to ask here in the first place...
>

True :)

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