Comments (9)
rtl_airband does not output anything to the local soundcard. You need an Icecast server to stream the audio to.
You can set up your own server using Icecast software from http://icecast.org/ . It is bundled in Raspbian (package named icecast2), but you can use an external one as well.
Icecast requires you to configure source authentication (username and password). Only authenticated sources cand send streams to the server. You put these settings in icecast.xml configuration file.
Then you need to tell rtl_airband where is your Icecast server (hostname, port) how to authenticate to it (username, password) and the mount point path. For example, if your Icecast server is "example.com", port 8000 and the mount point path is "mystream", then in order to listen to the stream you should point your client (VLC, Winamp, Windows Media Player, whatever) to http://example.com:8000/mystream.
from rtlsdr-airband.
Okay, so now, I've installed Icecast2. But I still need some information to make it run.
I've followed the instructions, so now, I have a directory called /home/pi/rtl-sdr/ containing the rtl-sdr program, which works. I can listen to radio with SDR♯ on my laptop.
In this directory, I have a "build" directory, and inside that, I have an RTLSDR-Airband directory.
Contents of the file /home/pi/rtl-sdr/build/RTLSDR-Airband/config.txt:
1
0 3 280 119325000 -8000
localhost 8000 118450.mp3 118450000 source asdf1234
localhost 8000 119800.mp3 119800000 source asdf1234
localhost 8000 120200.mp3 120200000 source asdf1234
If 280 is the gain in dB, that's mighty high. I usually run it around 32 dB.
If -8000 is the frequency correction in ppm, that's a lot. I usually only need +37 ppm.
I don't have any files by the name 118450.mp3 anywhere, but maybe I don't need to?
I also have a file /home/pi/rtl-sdr/build/RTLSDR-Airband/config/template.txt. Should I edit this file? Should it still be called template.txt? Should I keep the angle brackets in the file?
I also have a file called /etc/icecast2/icecast.xml, but I don't know how to configure it. Could you provide an example?
from rtlsdr-airband.
Okay, I think I've everything set up now, including Icecast. But when I run ./rtl_airband_neon, I get "Illegal instruction". When I run "sudo ./rtl_airband_neon" I just get nothing. The program runs and stops, and I'm back at the prompt. By the way, my config/template.txt file now looks like this:
<localhost>
<8000>
<source>
<asdf1234>
<119325000>
<-8000>
<280>
<118450000> <118450.mp3>
<119800000> <119800.mp3>
<120200000> <120200.mp3>
from rtlsdr-airband.
On Fri, Jul 24, 2015 at 9:32 PM, Steen Eiler Jørgensen <
[email protected]> wrote:
If 280 is the gain in dB, that's mighty high. I usually run it around 32
dB.It's the gain in tenths of dB. If you want 32 dB, put 320 here.
If -8000 is the frequency correction in ppm, that's a lot. I usually only
need +37 ppm.Nope, it's not in ppm, it's in hertz, negative. If you want +37ppm, put
-3700 here.I don't have any files by the name 118450.mp3 anywhere, but maybe I don't
need to?
These are not files, but mountpoint names on the Icecast server. You don't
need to create them in advance. Icecast server creates the mountpoint
automatically as soon as somebody starts feeding to it.
I also have a file
/home/pi/rtl-sdr/build/RTLSDR-Airband/config/template.txt. Should I edit
this file? Should it still be called template.txt? Should I keep the angle
brackets in the file?
It's obsolete (actually it's no longer there in unstable branch and will be
removed from master branch soon). Only config.txt is used for
configuration.
I also have a file called /etc/icecast2/icecast.xml, but I don't know how
to configure it. Could you provide an example?
See here:
microtony/RTLSDR-Airband#12 (comment)
But when I run ./rtl_airband_neon, I get "Illegal instruction".
Most probably you have Raspberry Pi V1, right? Then you should make
rtl_airband_vfp. rtl_airband_neon is for RPi V2.
from rtlsdr-airband.
Ah! I had a RPi V1 - I thought it was a V2 :-) Everything works now - thank you so much! :)
from rtlsdr-airband.
Oh - one extra question: If I make changes to config.txt (e.g. gain), will they be implemented immediately, or do I need to restart the application?
from rtlsdr-airband.
from rtlsdr-airband.
You will need to restart.
On 7/28/15 11:08 AM, Steen Eiler Jørgensen wrote:
Oh - one extra question: If I make changes to config.txt (e.g. gain),
will they be implemented immediately, or do I need to restart the
application?—
Reply to this email directly or view it on GitHub
#7 (comment).
from rtlsdr-airband.
Great - thanks!
from rtlsdr-airband.
Related Issues (20)
- [FEATURE] SSB Demodulation HOT 1
- [BUG] DELETE THIS
- [BUG] MP3 headers are malformed HOT 7
- [BUG] unstable requires libshout version not available in APT on Raspberry PI (buster 10) HOT 2
- Help finding the right settings HOT 1
- [compile error] error: ‘int shout_set_format(shout_t*, unsigned int)’ is deprecated HOT 6
- [FEATURE] Change the I/Q sample format for the rawfile output to a more standard one HOT 2
- Possible Bookworm cmake issue on a clean install [BUG] HOT 4
- [FEATURE] Add label to multichannel mode HOT 1
- CMake Error during installation [BUG] HOT 12
- [BUG] RTLSDR v4 no audio/signal HOT 8
- [BUG] Random Disconnects from Broadcastify / Other Icecast Outputs HOT 4
- [BUG] Segmentation fault on Alpine Linux HOT 4
- [BUG] `cmake` fails to detect `RTL_AIRBAND_VERION` when using source from a release artifact HOT 1
- Unable to schedule program startup at boot or find any logs [BUG] HOT 1
- [BUG] SHOUT_META_NAME’ was not declared in this scope HOT 1
- [BUG] Choppy/garbled/audio dropout on Raspberry Pi 5 using SoapySDR HOT 6
- Gain Error Failed to initialize gain for device #-536870912: error -1071395636 HOT 7
- Error on Service Start Failed to connect to Pulse HOT 1
- Bias-t activation SDR V4 via RTL_airband
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtlsdr-airband.