Scanner feed using Rasberry Pi ?

Status
Not open for further replies.

frazpo

Member
Premium Subscriber
Joined
Jan 14, 2007
Messages
1,477
Location
SW Mo

jaded

Member
Feed Provider
Joined
Jun 22, 2004
Messages
32
Location
Columbus, OH
Ooh! Ooh! Yes, I'm VERY excited for the Raspberry Pi -- on of my first thoughts was to use this to stream my feed. I've got a 12" square solar panel, 7Ah SLA battery, and a charge controller, all ready to go... now I just need the Raspi and I'm all set. The biggest problem right now is that you just can't get your hands on one -- they're quite backordered.
 

jaded

Member
Feed Provider
Joined
Jun 22, 2004
Messages
32
Location
Columbus, OH
I received the Raspi about a week ago, and finally had a chance today to test it to stream to RR. I decided to try it using the method I'm currently using with an old laptop, outlined in the ezstream wiki I posted a while back. I was able to find all the packages I needed (sox, lame, ezstream) via a combo of the default and deb-multimedia repos.

Though I was able to get it to stream something, it certainly wasn't intelligible. My problem right now is the super-cheap USB soundcard I'm using, coupled with Alsa. For starters, after a reboot, Alsa isn't able to find the card anymore (e.g.: alsamixer says "cannot open mixer: No such file or directory", even though aplay -l does show it as being there). The next problem is getting something other than a distorted, jittery mess out of the card.

I have to put it away for the time being, but after this initial test, I'm quite confident that the Raspi will be EXCELLENT for those who want a standalone device to provide a stream to RR. I just need to find a better made, but not too expensive, USB audio device to handle audio input, and then it'll be all set.
 
Joined
Mar 21, 2010
Messages
237
Location
Bellingham Washington
The Raspberry PI should be more than powerful enough.

I ran Icecast feed to RR and a Shoutcast feed supporting 50 listeners during a local manhunt on a "DECtop".

The DECtop is powered by a 333Mhz AMD Geode and 512Meg RAM.

I would run Linux and Icecast on the Raspberry PI.

I am still waiting to get my hands on one.
 

montyny

Newbie
Joined
Feb 28, 2010
Messages
1
Location
Westchester, NY
PI and USB sound cards

I'm curious whether anyone has picked this up again?

I tried a couple of cheap usb soundcards to try with 'Two Tone Detect' to record pager audio, however I had the same issue that the soundcards and the pi created terrible, mostly unintellible audio. The sound card on Windows worked fine.

I was thinking of trying a usb sound card in the $20 range as opposed to $2 but haven't got around to it yet.
 

ka8zay

Member
Feed Provider
Joined
Jul 11, 2011
Messages
69
Location
Troy, OH
So I've been working on the Rasberry Pi for the last week on and off and have it running one of my feeds. I can't get it quite cleaned up on the audio side a slight popping now and then. Soon as I figure it out, it will be PERFECT for this. I had just put one of my feeds ont eh Barix Instreamer and then got the idea to try this for my other feeds and I think in time this will be perfect for all of them. BTW there is a place in NY that has them in stock no waiting I have been ordering them from if anyone wants the info let me know.

73's
 
Joined
Mar 21, 2010
Messages
237
Location
Bellingham Washington
So I've been working on the Rasberry Pi for the last week on and off and have it running one of my feeds. I can't get it quite cleaned up on the audio side a slight popping now and then. Soon as I figure it out, it will be PERFECT for this.

Part of the problem is the Ethernet interface is really a USB adapter that is integrated onto the R-Pi.

That means your USB soundcard and the network are sharing the USB port.
 

dovy6

Member
Joined
Oct 1, 2007
Messages
43
also remember that the RasPi is not shielded, so it's going to pick up all interference from power supplies, radios, etc.
Perhaps try placing the RPi in a case and wrapping that case in silver foil?
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,305
Guys,

A couple of us have gotten TwoToneDetect working on the Pi. More info on this thread.

To overcome the audio quality issues we had to run the USB port at 1.1 speeds instead of 2.0 speed.

I have not tried streaming audio yet, but if we could get TTD and streaming working together on a Pi, that would be pretty useful.

Andy
 

kb8zxe

Member
Joined
Jul 6, 2004
Messages
73
Location
Wakefield, MI
I finally got my Raspberry PI streaming to Broadcastify.com and sounding good. Like aaknitt states I had to change the USB port to a 1.1 speed instead of 2.0 speed.

All the documentation is out there to make Darkice work but it can be challenging if you are not familiar with Linux. What I am offering is access to a copy of my current image with the only difference being the server settings and password will be removed. The PI speaks it's IP address on boot and has a couple other add-ons. Of course I encourage you to try to get it working by yourself first, but if you get discouraged and give up let me know. I can put an image on Google Docs or something like that.

I've had my feed up for a couple weeks and it is sounding good. I have had no issues with the PI. In my opinion this is really the way to go. I have my dsl modem, router, scanner and PI all running off of a 12volt power supply with a AGM battery for backup. The entire system will run for hours if the power goes out.

Good luck.

Bob
 
Last edited:

FatCat46

Newbie
Joined
Mar 12, 2009
Messages
1
Location
East Hartford, CT
Raspberry PI streaming to Broadcastify.com

I finally got my Raspberry PI streaming to Broadcastify.com and sounding good. Like aaknitt states I had to change the USB port to a 1.1 speed instead of 2.0 speed.

All the documentation is out there to make Darkice work but it can be challenging if you are not familiar with Linux. What I am offering is access to a copy of my current image with the only difference being the server settings and password will be removed. The PI speaks it's IP address on boot and has a couple other add-ons. Of course I encourage you to try to get it working by yourself first, but if you get discouraged and give up let me know. I can put an image on Google Docs or something like that.

I've had my feed up for a couple weeks and it is sounding good. I have had no issues with the PI. In my opinion this is really the way to go. I have my dsl modem, router, scanner and PI all running off of a 12volt power supply with a AGM battery for backup. The entire system will run for hours if the power goes out.

Good luck.

Bob

What OS are you using and what are you streaming? I have been wanting to stream audio from a D-STAR DVDONGLE, but I don't know linux. I don't even know if the PI can handle the DVDONGLE or how I would even get that to work.
 

kb8zxe

Member
Joined
Jul 6, 2004
Messages
73
Location
Wakefield, MI
I am using the standard Wheezy Raspbian Linux operating system with Darkice as the streamer software. Darkice takes whatever comes into the USB sound card and streams it to Broadcastify.

I recently installed Icecast on the same PI and Darkice now streams to Broadcastify and locally to an Icecast server. This way I can listen without using the internet.

If you want to eliminate the Broadcastify feed you can use the PI as a local all in one streamer where people connect directly to you. Maybe you just want a small group of friends to listen.

It will stream anything that you feed into the audio jack.

As long as you are willing to learn a few basic Linux commands you should be fine. Once it's up and working there isn't a whole lot to go wrong.

Bob

P.S. I am streaming this http://www.broadcastify.com/listen/feed/13794/
 
Last edited:

kb8zxe

Member
Joined
Jul 6, 2004
Messages
73
Location
Wakefield, MI
just use nano or pico and edit /boot/cmdline.txt

Add "dwc_otg.speed=1" to /boot/cmdline.txt.

then re-boot

I am not sure if it matters or not but I forgot to mention that I am using alsa for sound instead of pulse.
 
Last edited:
Joined
Mar 21, 2010
Messages
237
Location
Bellingham Washington
I am using the standard Wheezy Raspbian Linux operating system with Darkice as the streamer software.

As long as you are willing to learn a few basic Linux commands you should be fine. Once it's up and working there isn't a whole lot to go wrong.

I have to agree here. In fact Darkice runs so well that the few times something did go wrong I had to re-learn how to set it up all over again almost from scratch.

I have gone so long between reboots that I have forgotten the command line to start Darkice with my config file. :confused:
 

btrogdon

Member
Joined
Jun 15, 2010
Messages
19
Location
Forsyth County, North Carolina
..... What I am offering is access to a copy of my current image with the only difference being the server settings and password will be removed. ......


Bob, I have a Raspberry Pi configured for Amateur Radio application (D-Star DVAP) and have seriously pondered replacing my dedicated laptop hosting two feeds with a RasPi dedicated to each feed.

Could I get a copy of your image please sir?

I see this as a huge benefit to the Streaming community as images can be created that Auto Start and once configured all you ever have to do is plug and play.

I can provide you FTP access if you prefer or you can email it.

Can you access your RasPi via VNC?

Thanks in advance!

StreamingProjects@trogdon.org
 

kb8zxe

Member
Joined
Jul 6, 2004
Messages
73
Location
Wakefield, MI
Sure thing. The image is rather large even compressed with rar. I will e-mail you and figure out a way to get it to you. The image is way to large to e-mail.

I do not have vnc running on my image. All I use is SSH, but if you plug in a head phone or speaker to the audio jack it should speaker the ip address on boot.

You also have to make sure you have the correct sound card.

I am just on break at work. I will e-mail you tonight and figure out a plan.

Bob
 

IredellMon

Member
Joined
Jan 23, 2012
Messages
90
Location
North Carolina
Been using a RasPi to feed scanner audio for a while now. it has run as long as 37 days and even then it only came down because I did a shutdown in order to back up. Its down now and I'm not home to see if its a RasPi problem or maybe my ISP.. still its been a great performer so I wrote up a guide..
https://sites.google.com/site/glyman3home/scannerfeed
Oh, did I mention I also have local audio file archiving with dead air removed? Thats sweet.
 
Status
Not open for further replies.
Top