Results 1 to 9 of 9

Thread: Listen to USB Turntable - how to reroute input to output

  1. #1
    Join Date
    Dec 2007
    Beans
    118
    Distro
    Kubuntu 9.10 Karmic Koala

    Listen to USB Turntable - how to reroute input to output

    hello everybody,

    i spent several hours last night on being able to listen to the music that my usb turntable plays. it is properly recognized by the system and i can set the recording volume with the gnome volume mixer. moreover i have been able to record the input via audacity, but thats noch what i wanted.

    all i need is a small tool that is able to direct my input directly to the speakers. something like a monitoring option. but i don't want to install pulseaudio since i am running on crunchbanglinux which is a derivative of ubuntu, but which wants to stay as slim as possible. moreover pulseaudio would mess up my skype and mumble configuration.

    so i need a programm that does not depend on pulse and that is able to direct the input from usb to my speakers/headphones. it could also be a little script or some commandline-app. i would not care. i just want to get my turntable working =)

    thanks in advance!

    labello
    "To you I'm an atheist; to God, I'm the Loyal Opposition." Woody Allen
    Stressing The Gimp - High Quality Tutorials For The Gimp

  2. #2
    Join Date
    Apr 2007
    Location
    Cape Town (SA)
    Beans
    Hidden!

    Re: Listen to USB Turntable - how to reroute input to output

    Not sure if it will work, but maybe try jack.

  3. #3
    Join Date
    Dec 2007
    Beans
    118
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Listen to USB Turntable - how to reroute input to output

    Quote Originally Posted by aquavitae View Post
    Not sure if it will work, but maybe try jack.
    Thanks for the advice but I already tried this. But maybe I did something wrong. To be honest I was already expecting "Jack" to be the first answer. Moreover I could not find any helping documentation concerning Jack's setup =(.

    I mean it can't be that hard that I have got to use Jack for this simple task. But I would be glad if it worked anyhow -.-
    "To you I'm an atheist; to God, I'm the Loyal Opposition." Woody Allen
    Stressing The Gimp - High Quality Tutorials For The Gimp

  4. #4
    Join Date
    Dec 2007
    Beans
    118
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Listen to USB Turntable - how to reroute input to output

    Well I finally found a solution! And to be honest: I LOVE LINUX!

    Solution one is rather simple:

    Code:
    sudo cat /dev/dsp1 > /dev/dsp
    Solution two is to install the programm "ecamegapedal". start it, select input and output and hit play. and voila you will be hearing your input. you can even apply some filters.

    so maybe this thread is some of a helpfor some others!
    "To you I'm an atheist; to God, I'm the Loyal Opposition." Woody Allen
    Stressing The Gimp - High Quality Tutorials For The Gimp

  5. #5
    Join Date
    Apr 2007
    Location
    Cape Town (SA)
    Beans
    Hidden!

    Re: Listen to USB Turntable - how to reroute input to output

    I found that the qt frontend for jack (qjackctl I think) made the setup quite easy, but the one line command is certainly a much simpler solution! I think I'm using windows too much since it even occur to me to look for something like that!

  6. #6
    Join Date
    Dec 2007
    Beans
    118
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Listen to USB Turntable - how to reroute input to output

    Could you please preovide your setup within jack? i would also like to try this one! thanks in advance
    "To you I'm an atheist; to God, I'm the Loyal Opposition." Woody Allen
    Stressing The Gimp - High Quality Tutorials For The Gimp

  7. #7
    Join Date
    Apr 2007
    Location
    Cape Town (SA)
    Beans
    Hidden!

    Re: Listen to USB Turntable - how to reroute input to output

    Sorry about the late reply - been away.

    I don't actually have jack set up at the moment, but I used it a couple of months ago to route a digital piano through the computer. I was experimenting with fluidsynth and rosegarden, so most of the time my set up was quite complicated, but at one stage I had the piano just playing directly out of the computer speakers (but through midi). IIRC, there is a dialog in qjack which allows various connections to be made between inputs and outputs, both midi and raw audio. So in your situation you should be able to connect the turntable input to alsa output.

  8. #8
    Join Date
    Jul 2007
    Location
    seattle WA
    Beans
    11
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Listen to USB Turntable - how to reroute input to output

    This solution had helped me out a while back, but now with 10.10 it no longer works.

    Here's how I got it back.

    First install paman (pulse audio manager)

    Code:
    sudo apt-get -y install paman
    open it up (just type paman in terminal if it's not in your menu)

    Click on the Devices tab and look for the Sinks area, this is your output, then in the Sources area find your device.

    Visual Aid

    Then use pacat to connect the two. Mine looked like this.

    Code:
    pacat -r -d alsa_input.usb-AKM_AK5371-00-default.analog-stereo | pacat -p -d alsa_output.pci-0000_00_10.1.analog-stereo
    To make a launcher that either launches or disables the pacat command copy this into a file

    Code:
    #!/bin/bash
    
    SERVICE='pacat'
     
    if ps ax | grep -v grep | grep $SERVICE > /dev/null
    then
        killall pacat
    else
        pacat -r -d alsa_input.usb-AKM_AK5371-00-default.analog-stereo | pacat -p -d alsa_output.pci-0000_00_10.1.analog-stereo
    fi
    save it somewhere (i saved mine as vinyl.sh), cd to the folder where the script is and make it executable.

    Code:
    cd ~/Scripts
    chmod 0777 vinyl.sh
    and add the script in the Command field of the Launcher Properties box.
    Last edited by russellnation; November 13th, 2010 at 09:56 PM. Reason: added shell script

  9. #9
    Join Date
    Feb 2008
    Location
    Boston, MA
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Listen to USB Turntable - how to reroute input to output

    Reddit love, rock on my man. Thanks for updating this

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
  •