Results 1 to 6 of 6
  1. #1
    michbudz is offline Member
    Join Date
    Jun 2011
    Posts
    2
    Rep Power
    0

    Default sound API - Record data from speaker

    Hello,

    I would like to record data from speaker (without microphone of course). I mean , read this data which are input to speaker.

    This are my mixers and lines:

    mixer : Podstawowy sterownik dŸwiÍk, version Unknown Version - line : interface SourceDataLine supporting 8 audio formats, and buffers of at least 32 bytes
    mixer : Podstawowy sterownik dŸwiÍk, version Unknown Version - line : interface Clip supporting 8 audio formats, and buffers of at least 32 bytes
    mixer : Realtek HD Audio output, version Unknown Version - line : interface SourceDataLine supporting 8 audio formats, and buffers of at least 32 bytes
    mixer : Realtek HD Audio output, version Unknown Version - line : interface Clip supporting 8 audio formats, and buffers of at least 32 bytes
    mixer : Java Sound Audio Engine, version 1.0 - line : interface SourceDataLine supporting 8 audio formats
    mixer : Java Sound Audio Engine, version 1.0 - line : interface Clip supporting 8 audio formats, and buffers of 0 to 4194304 bytes
    mixer : Port Realtek HD Audio Input, version 5.10 - line : COMPACT_DISC source port
    mixer : Port Realtek HD Audio Input, version 5.10 - line : LINE_IN source port
    mixer : Port Realtek HD Audio Input, version 5.10 - line : MICROPHONE source port
    mixer : Port Realtek HD Audio Input, version 5.10 - line : Miks stereo source port
    mixer : Podstawowy sterownik przechwytywania dŸwiÍk, version Unknown Version - line : interface TargetDataLine supporting 8 audio formats, and buffers of at least 32 bytes
    mixer : Realtek HD Audio Input, version Unknown Version - line : interface TargetDataLine supporting 8 audio formats, and buffers of at least 32 bytes
    mixer : Port Realtek HD Audio output, version 5.10 - line : SPEAKER target port
    mixer : Port Realtek HD Audio Input, version 5.10 - line : Regulacja nagrywania target port


    Is there any chance ?
    Sorry for my English.
    Michal.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,423
    Rep Power
    25

    Default

    I would like to record data from speaker
    What kind of speaker do you have?
    Most that I know of are output only devices.
    Microphones are input devices.

  3. #3
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,526
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by Norm View Post
    What kind of speaker do you have?
    Most that I know of are output only devices.
    Microphones are input devices.
    Well, if you yell into a loadspeaker from close by it does work as if it were a microphone. ;-)

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,423
    Rep Power
    25

    Default

    Learn something new every day. Something about coils and magnets I suspect.

  5. #5
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,526
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by Norm View Post
    Learn something new every day. Something about coils and magnets I suspect.
    Yep, loudspeakers and microphones are similar, just like a dynamo, it can act like a motor.

    kind regards,

    Jos (your free electrician ;-)
    cenosillicaphobia: the fear for an empty beer glass

  6. #6
    michbudz is offline Member
    Join Date
    Jun 2011
    Posts
    2
    Rep Power
    0

    Default

    I scaned my friend's computer ( he has sound Blaster Live , I have embabed sound card) and he has something like that :

    mixer : Port SB Live! Wave Device, version 5.10 - line : What U Hear source port

    I suspect that this is what I'm looking for.
    I will get some external sound card , then try again.

    My speakers are the output type of course :) I wanna catch stream which is directed to speakers :)
    I will share the results soon,
    Last edited by michbudz; 06-30-2011 at 11:05 PM.

Similar Threads

  1. Problems with sound in java and USB sound card
    By marblecatdog in forum New To Java
    Replies: 1
    Last Post: 04-19-2011, 12:02 PM
  2. Display sound data value from ByteArrayOutputStream
    By cielle in forum Advanced Java
    Replies: 2
    Last Post: 12-14-2010, 08:47 AM
  3. Record Button
    By nicezam in forum NetBeans
    Replies: 3
    Last Post: 04-27-2009, 03:53 AM
  4. how to delete record from db using jsp
    By Manas Das in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 01-31-2009, 07:36 PM
  5. Can't record sound
    By bozovilla in forum Java Applets
    Replies: 12
    Last Post: 08-04-2008, 03:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •