Coder Social home page Coder Social logo

malyvsen / radio-station Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 15.55 MB

Minimalist CLI for streaming audio over FM from a Raspberry Pi: WAV files or live from a microphone.

License: GNU General Public License v3.0

Python 100.00%
fm-transmitter raspberry-pi radio radio-station fm-radio fm streaming-audio broadcaster

radio-station's Introduction

radio-station

Minimalistic command-line interface for streaming audio over FM from a Raspberry Pi: WAV files or live from a microphone.

Setup

Clone into the repository

git clone https://github.com/malyvsen/radio-station.git
cd radio-station

Prepare fm_transmitter

This project uses fm_transmitter from https://github.com/markondej/fm_transmitter

git submodule update --init --recursive
cd fm_transmitter
make
cd ..

Add an antenna

The broadcaster works without an antenna, but adding one significantly improves the range (from 50cm to 10m on a Raspberry Pi 2). Connect 10-20cm of wire to GPIO4.

Usage

Broadcast

cd .. # you need to be one directory above this repo
sudo python3 radio-station/ # the sudo is necessary to run fm_transmitter

The program will display usage instructions. Use play test to test your radio with the included test file.

Configure

The broadcasting frequency and other settings are stored in settings.py. You will need to restart your station for settings to be applied.

Legal

Make sure you are allowed to use the frequency you set - you are the only one responsible for your radio station.

radio-station's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.