Clear Across Kansas

Adding a Broadcastify feed to a PiRLP node.

Adding a Broadcastify Feed to a PiRLP Node.

Note: This requires a Raspberry Pi 2 or 3. The earlier models do not have enough processor power.

Before beginning be sure to backup your IRLP installation (or clone the entire SD card) so you can easily restore your node if you screw it up.

Update Raspberry Pi 2 to latest version and install prerequisites:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git cmake build-essential lame
sudo apt-get install libmp3lame-dev libvorbis-dev libshout-dev libtwolame0 libtwolame-dev
sudo apt-get install libjack0
sudo reboot

To get two USB sound devices to fit on a Pi 2, you’ll need to remove the plastic shells from both devices. You should wrap a thin layer of electrical tape around them.

The IRLP software attaches to the first USB sound device that it “sees”. This should always be the upper USB port in the center of the Pi. Install the IRLP USB sound device to the upper center USB jack and install the Broadcastify USB sound device in the lower center USB jack. Connected your desired audio source to the mic jack on the bottom USB device.

Configure the Sound Card:

  • Plug your scanner’s Headphone or Tape Out jack into the mic jack on the USB sound card dongle.
  • Start alsamixer:


    • Press F6, choose the “1  C-Media USB Audio Device” entry (the second entry).
    • Press your tab key to select the “Capture” device volume control,
      use your “up arrow” key to adjust the level to the middle (50).
    • Press escape to exit alsamixer.
    • Run the following command to save the volume settings:

sudo alsactl store

Darkice Installation and Configuration:

  • Download the precompiled version of darkice:


  • Uncompress the files:

tar zxvf darkice_bcfy_v01.tar.gz

  • Move the files to the proper places and make sure they are executable:

sudo mv darkice /usr/bin
sudo mv darkice1 /etc/init.d
sudo mv darkice.cfg /etc/darkice1.cfg

  • Edit the /etc/darkice1.cfg file to match your settings, including the sound card you are using, your feed server, mount, password, and description, then save and exit the file:

sudo nano /etc/darkice1.cfg

  • Edit the startup script to add a delay in case the internet/router is recovering from a power outage:

sudo nano /etc/init.d/darkice1

  • Add a line below: echo “Starting darkice Instance #1”darkice

sleep 120

  • Save the file and exit.
  • Enable the feed to start broadcasting at boot:

sudo update-rc.d darkice1 defaults

  • Start your feed (startup will delay by 120 seconds):

sudo service darkice1 start

Once the feed is up and running fine tune your audio level by carefully adjusting the scanner volume and the alsamixer input for the feed as described above.

Written by Justin Reed, NV8Q

Recent Posts