Play audacity over network

From www.ReeltoReel.nl Wiki
Jump to navigation Jump to search

How to play Audacity over network using pulseaudio sound server

If you use pulse-audio as sound server, you can use module-native-protocol-tcp to accept tcp connection from your remote machine.

In the following example, I use an ssh tunnel to forward the audio request from remote machine to the local one.

On the local machine, do something like:

$ pactl load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1
$ ssh -XC -R 9999:127.0.0.1:4713 pvdm@192.168.1.1

then on remote machine you can use:

$ paplay -s 127.0.0.1:9999 soundfile.wav
$ padsp -s 127.0.0.1:9999 audacity

ADDED I discovered that auth-ip-acl does not accept localhost as a valid parameter, you have to use 127.0.0.1 (or whatever your machine uses localhost address).