Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: how do I listen to audio input through the speakers

  1. #1
    Join Date
    Jan 2009
    Beans
    8

    how do I listen to audio input through the speakers

    Okay guys, im someone who has dabbled in linux for a while but just recently finally decided to make the permanent change. one of the main functions i use my computer for is watching TV through a video capture card (dazzle dvc100). the video component works great using TVtime but i am having mega problems getting the audio working right. I remember when i tried 9.04 it was EASY to enable an audio input to play through the speakers (the normal way I have done it on windows). however, the sound controls are way different in 9.10 and i'm unable to figure it out. ive been searching around for hours and ive found a couple of options, mainly a terminal command to enable a input-output module. it does work, but the audio has major lag! too much to be useful. there was no lag when i did this in 9.04, and there is no lag when i do it in windows 7. i believe the difference is that 9.10 uses pulseaudio while 9.04 used alsa. i might be wrong (am I??).

    so here is my question: how can i enable an audio input to play through the speakers without lag? i know it is possible since i've done it before in multiple situations (windows and earlier distros). do i need to get rid of pulseaudio? if so, how do I do that? what would I install instead? is there an easier way?

    thanks to anyone who replies!!

  2. #2
    Join Date
    Apr 2008
    Beans
    4,377
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: how do I listen to audio input through the speakers

    PMs will be ignored.

  3. #3
    Join Date
    Jan 2009
    Beans
    8

    Re: how do I listen to audio input through the speakers

    "To add the loopback module to the running instance of Pulse Audio I used the command:
    $ pactl load-module module-loopback

    To make the module automatically load in the future, I used the command:
    $ sudo sh -c ' echo "load-module module-loopback" >> /etc/pulse/default.pa '"

    thanks for the reply. yes, that is what I was referring to in my post. it does work but like I said, the audio is badly delayed. it seems to be more than a full second late. any other ideas?

  4. #4
    Join Date
    Apr 2007
    Beans
    8

    Re: how do I listen to audio input through the speakers

    I am also experiencing ~1 second delay after performing the above loopback commands.

    Am using an ALC1200 Realtek onboard chip, with a guitar pedal board via Line-In.

    Any help would be greatly appreciated, thanks

  5. #5
    Join Date
    Apr 2007
    Beans
    8

    Re: how do I listen to audio input through the speakers

    Bump.

    Its just getting rid of the 1-2 second delay from the pulseaudio loopback, if anyone knows how to Thanks.

  6. #6
    Join Date
    Apr 2008
    Beans
    4,377
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: how do I listen to audio input through the speakers

    I have been thinking about this for a while now and I think one of you should file a bug report at launchpad to get someones attention. It looks like a basic problem with how pulseaudio implements its buffering algorithm and the real time components (rtkit).

    You could also try bringing it up at the pulseaudio mailing list or on the IRC channel.

    This may already be fixed in recent versions so IRC may be the fastest way to find out.
    If you do find out anything, please let us know.
    PMs will be ignored.

  7. #7
    Join Date
    Apr 2007
    Beans
    8

    Re: how do I listen to audio input through the speakers

    This may be related, of sorts? Just a function to be able to reduce latency or similar might help our cause?

    MailArchive Discussion

    Funnily enough changing doing the following;

    cg@elmo:~$ pactl load-module module-loopback latency_msec=1

    does reduce the latency a lot, but i still have enough latency to annoy me when playing guitar via line-in. It'd be nice to have it virtually zero.
    Last edited by cg`; January 19th, 2010 at 07:33 AM.

  8. #8
    Join Date
    Apr 2007
    Beans
    8

    Re: how do I listen to audio input through the speakers

    Bumping - has anyone had any further luck with this?
    I've been trying all sorts, but still can't get line in -> digi out loopback working without a delay

  9. #9
    Join Date
    May 2006
    Beans
    Hidden!

    Re: how do I listen to audio input through the speakers

    Bump. Any news on this one? I'm the same situation. Trying to listen to myself playing harmonica over headphones and I'm getting some delay even with latency_msec=1.

    LE: Seems there's a bug open for it but no solution so far.
    Last edited by wirespot; June 30th, 2010 at 09:27 PM.

  10. #10
    Join Date
    Sep 2010
    Beans
    5

    Re: how do I listen to audio input through the speakers

    An easy alternative to pulseaudio is to enable it through alsa:
    * go the terminal
    * Type "alsamixer" and hit enter
    * go right a bunch till you find the input you are looking for ( you may have to go past the end of the screen)
    * make sure you turn the volume up and press m to unmute (if necessary)
    * you should hear your guitar / tv / game console etc (with no lag)

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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