Broadcastify Raspberry Pi Feed Appliance Image v1.0 (BETA)

adsbgreenock

Member
Joined
Sep 11, 2021
Messages
118
Location
Scotland UK
Hi there guys,
i have a small issue that something got corrupted in darkice.cfg or darkice.1.service on systemd.
When i run bcfy shell and try to "enable feed now"
i get this error and no audio :

Which darkice instance do you want to configure?
============================================================
Instance Description
============================================================
[1] Darkice Instance #1
[2] Darkice Instance #2
[3] Darkice Instance #3
[4] Darkice Instance #4
============================================================

Enter Instance ID # to configure [1] or [q]uit: 1
>>>>>> Configuring Instance #1

Sources Available:
============================================================
Card ID Card Description
============================================================
[1] PulseAudio Loopback 1
[2] PulseAudio Loopback 2
[3] Device [USB Audio Device]
============================================================

Enter Soundcard Card ID to use for this broadcast: [3] or [q]uit: 3
>>>>>>>> Configuring Card ID 3
Enter Broadcastify Username: adsbgreenock
Enter Broadcastify Password:
Retrieving Feeds for adsbgreenock...done.

Your Broadcastify Audio Feeds:
============================================================
Feed ID Feed Description
============================================================
[36339] Clyde Estuary Radio
[36537] Firth of Clyde Marine (Lower Area Antenna 2)
============================================================

Enter feed ID to Configure for Darkice [36339] or [q]uit: 36537

>>>>>>>> Configuring: Firth of Clyde Marine (Lower Area Antenna 2)
Configuration Written.
Do you want to connfigure this darkice instance to start on boot? [Y/n]: y


>>> Enabling darkice_1 to start on boot
Done. Press [Enter] to continue...
Configuration Finished!
Do you want to start this darkice broadcast now? [N/y]: y
Starting darkice_1...
● darkice_1.service - Darkice Instance 1 Service
Loaded: loaded (/etc/systemd/system/darkice_1.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2021-12-05 00:49:59 GMT; 12h ago
Main PID: 1144 (sh)
Tasks: 3 (limit: 2059)
CGroup: /system.slice/darkice_1.service
├─1144 /usr/bin/sh -c /usr/local/bin/darkice -v5 -c /home/pi/bcfy/configs/darkice/darkice_1.cfg > /home/pi/bcfy/logs/darkice_1.log 2>&1
└─1147 /usr/local/bin/darkice -v5 -c /home/pi/bcfy/configs/darkice/darkice_1.cfg

Dec 05 00:49:49 bcfy-7a4e0cec systemd[1]: Starting Darkice Instance 1 Service...
Dec 05 00:49:59 bcfy-7a4e0cec systemd[1]: Started Darkice Instance 1 Service.
Dec 05 00:51:19 bcfy-7a4e0cec systemd[1]: darkice_1.service: Current command vanished from the unit file, execution of the command list won't be resumed.
Press [Enter] to return to the main menu...

This of course leads to the feed not starting there and then, however on boot it starts and im puzzled.
I may need to replace darkice.1.service file or darkice.cfg to start again if anyone could post the contents of the files.

Any help greatly appreciated.

Many thanks

Regards
 

doctorwizz

Member
Feed Provider
Joined
Jul 24, 2011
Messages
42
Location
MD
Anyone know the login and pw on the for bcfypi1? That was the old image for the pi 2b. I have it running my feed. It's working fine. I just forgot what it was. It was in the instructions posted here on RR. If you could post the original image too that would be great. I have backups of my current pi system. Thank
 

bamx2

Member
Joined
Oct 24, 2006
Messages
350
Location
Indiana
This is all foreign to me, I am trying to learn through the videos and all.

If I have one rasberry pi, with two SDRs and two Soundcards would I be able to feed two systems into the Calls platform? Or would I need a 2nd pi?
 

K2DSI

Newbie
Feed Provider
Joined
Nov 12, 2014
Messages
4
Hi. I installed Java and also NoiseGator (noise gate java program) software on the image. I use the alsamixer to control my audio levels. I run sudo modprobe snd_aloop to loop back the audio. NoiseGator runs fine but I can't find my usb soundcard dongle in the input dropdown or the loopback in the output drop down. I'd like to pipe the audio from NoiseGator to Darkice. Any suggestions. I know NoiseGator works on Raspbian with the Java software I'm using. Thanks in advance.
 

K2DSI

Newbie
Feed Provider
Joined
Nov 12, 2014
Messages
4
Hi, I'd like to setup my raspberry pi feed appliance to use one USB soundcard dongle for two feeds. I am currently using two soundcard dongles. I'm guessing I have to make changes to darkice_1.cfg and darkice_2.cfg and of course use the left channel for one feed and the right channel for the other. Thanks in advance, Vendel/K2DSI.
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,545
Location
Massachusetts
Your post implies two separate feeds rather than a single stereo feed. Left and right only applies to a stereo feed. Which are you proposing? Two separate feeds or a stereo feed?
 

K2DSI

Newbie
Feed Provider
Joined
Nov 12, 2014
Messages
4
I've read that you can use each of the two channels of a stereo feed as it's own feed thus allowing you to use one sound card dongle. Right now I use two sound card dongles, one for each feed. I've also read that the bitsPerSample = has to be changed to 32 from 16. The darkice_1.cfg and darkice_2.cfg also have channel settings. In a nutshell, how do I configure the Raspberry Pi Appliance image to use one soundcard dongle for two feeds?
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,545
Location
Massachusetts
It sounds like you have found the info that you need. Three lines in your configuration file need to be changes; channels, bitsperSample, and bitrate.

you will need the proper Y-cable to combine the two mono audio cables (one from each radio) into stereo before it plugs into the input jack of your sound card

 
Last edited:

xicarusx

Member
Feed Provider
Joined
Oct 2, 2008
Messages
104
Location
Sayre, PA
Is there a consise shopping list I would need to start a feed of an airband frequency?

Sure, let me ask you a few questions.

How do you want to feed the audio in? Sound Card from Scanner/Reciever or using RTL-SDR Dongle?

If you answered sound card one for each feed you want, you may also want an USB extension cable.

If you answer RTL-SDR


As far as the Raspberry Pi
Pick either 4 or 8 GB kit from the link below.
 

xicarusx

Member
Feed Provider
Joined
Oct 2, 2008
Messages
104
Location
Sayre, PA
So I have the pi, and sdr dongle, and USB sound card. What audio cables do I need?

You will not need any physical cables since the audio will be coming directly from the SDR Dongle.


I will make a short guide for you. You can follow step by step and have a stream at the finish, if you let me know the specific frequencies you are interested in and their labels. :)
 

N4VKF

Member
Premium Subscriber
Joined
Jul 11, 2002
Messages
995
Location
SPOTSYLVANIA,VA
You will not need any physical cables since the audio will be coming directly from the SDR Dongle.


I will make a short guide for you. You can follow step by step and have a stream at the finish, if you let me know the specific frequencies you are interested in and their labels. :)
It will be for 122.800 Shannon Airport-Unicom
 

xicarusx

Member
Feed Provider
Joined
Oct 2, 2008
Messages
104
Location
Sayre, PA
It will be for 122.800 Shannon Airport-Unicom

Okay so, first step is to install the Broadcastify Raspberry Pi image.

Then once it is up and running. Plug in your dongle and then we need to configure RTL-Airband
sudo nano /usr/local/etc/rtl_airband.conf

Then make it look like this or copy and paste this to it. Change the "icecast" section to include your broadcastify stream credentials.
Bash:
# This is a minimalistic configuration file for RTLSDR-Airband.
# More complex configurations are possible.
# Refer to https://github.com/szpajder/RTLSDR-Airband/wiki
# for description of keywords and config syntax.
# Just a single RTL dongle with one FM channel
# sent to a single Broadcastify stream.
# Note that the center freq is 100 KHz offset from the receive freq
# Also, you must enter your server number, stream name, mountpoint and
# password from your Broadcastify stream "Technicals"
devices:
({
  type = "rtlsdr";
  index = 0;
  gain = 25;  # This may need adjustment depending on your hardware
  centerfreq = 122.8;
  correction = 0;   # this can be determined using "cumulative" output from running 'rtl_test -p' for several minutes
  channels:
  (
    {
      freq = 122.8;
      labels = ( "Shannon Airport-Unicom" );
      modulation = "am";
      highpass = 320;
     outputs:
        (
       {
          # Here is where you need to configure your icecast server with broadcastify details
          type = "icecast";
          server = "audio#.broadcastify.com";
          port = 80;
          mountpoint = "MOUNTPOINT";  # Note: Do not include a leading slash "/"
          name = "Shannon Airport-Unicom";
          genre = "ATC";
          username = "source";
          password = "PASSWORD";
        },
       {
          type = "file";
          directory = "/home/pi/recordings";
          filename_template = "shannon_unicom";
        }
      );
    }
  );
});

Once that is done, start it up and see what you have. It should record to a mp3 file in recordings directory and broadcast to your broadcastify stream :)
Code:
sudo /usr/local/bin/rtl_airband -f
 

robhux

Member
Feed Provider
Joined
Mar 27, 2022
Messages
7
Okay so, first step is to install the Broadcastify Raspberry Pi image.

Hi, I'm trying to do a setup with Broadcastify latest image and a RTL-SDR USB receiver. I'm using Marine Freq Ch83 as my receiver, and have used the basic concept you shared but modified the freq. I'm not getting any recordings showing up? I can see audio being transmitted on that freq using Gqrx - can you share any tips to get this working?
 
Top