Announcement

Collapse
No announcement yet.

[linux] How To: Pipe audio from an input to an output, even across sound cards

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [linux] How To: Pipe audio from an input to an output, even across sound cards

    Since I'm going all-linux for this build, I needed to figure out how to mix in the audio from the line in with the computer's audio so that I could have my radar detector play through the car speakers with its volume controlled by the computer's master volume.

    Solution is in this article I found: http://s8dragon.wordpress.com/2010/1...ng-pulseaudio/

    In case it ever goes down,

    To enable it, you run this command:
    Code:
    pactl load-module module-loopback latency_msec=1
    To disable it, you first run this:
    Code:
    pactl unload-module 27
    Find the index number for the module ex:
    Code:
        index: 22
    	name: <module-cli-protocol-unix>
    	argument: <>
    	used: -1
    	load once: no
    	properties:
    		module.author = "Lennart Poettering"
    		module.description = "Command line interface protocol (UNIX sockets)"
    		module.version = "0.9.21-63-gd3efa-dirty"
    22 would be the index.

    Now run:
    Code:
    pactl unload-module 22
    Where 22 is your index.


    To enable this permanently, add this line to the end of the file: /etc/pulse/default.pa
    Code:
    load-module module-loopback
    My Nearly Complete Car:
    http://www.mp3car.com/vbulletin/show...ed-car-pc.html

    Micro Control Center... Control Your Car Across the Internet
    http://www.mp3car.com/fusion-brain/1...-internet.html

    Website: (It's a work in progress, really. All my projects have taken me from ever really developing it.)
    http://paulfurtado.com/
Working...
X