Using Websdr with Ubuntu, Jack, PulseAudio and Fldigi to Demodulate Digital Signals

Get Sun Java6 and PulseAudio Playing Together



sudo apt-get install sun-java6-plugin sun-java6-jre sun-java6-bin openjdk-6-jre pavucontrol fldigi libportaudi

2) Copy some libraries from openjdk-6-jre to sun-java-6:

sudo cp /usr/lib/ jvm/java- 6-openjdk/ jre/lib/ i386/libpulse- java.so /usr/lib/ jvm/java- 6-sun-1. 6.0.22/ jre/lib/ i386/



sudo cp /usr/lib/ jvm/java- 6-openjdk/ jre/lib/ ext/pulse- java.jar /usr/lib/ jvm/java- 6-sun-1. 6.0.22/ jre/lib/ ext/

3) Move the libjsoundalsa.so to a backup position:

sudo mv /usr/lib/ jvm/java- 6-sun-1. 6.0.22/ jre/lib/ i386/libjsounda lsa.so /usr/lib/ jvm/java- 6-sun-1. 6.0.22/ jre/lib/ i386/libjsounda lsa.so. bak

4) Edit /etc/java- 6-sun/sound. properties to add the following four lines:

javax.sound. sampled. Clip=org. classpath. icedtea. pulseaudio. PulseAudioMixer Provider



javax.sound. sampled. Port=org. classpath. icedtea. pulseaudio. PulseAudioMixer Provider



javax.sound. sampled. SourceDataLine= org.classpath. icedtea. pulseaudio. PulseAudioMixer Provider



javax.sound. sampled. TargetDataLine= org.classpath. icedtea. pulseaudio. PulseAudioMixer Provider

Using Jack Audio Connection Kit (Optional)

sudo apt-get install jackd2 pulseaudio-module-jack qjackctl

pactl load-module module-jack-sink

pactl load-module module-jack-source

Fldigi (Optional if all you want to do is listen to a Websdr server)

