GithubHelp home page GithubHelp logo

wernerfs / pi2fm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oatmeal3000/pi2fm

0.0 2.0 0.0 104 KB

This C program broadcasts FM radio on Raspberry Pi 2, and it can receive pipe data besides wav files.

C 100.00%

pi2fm's Introduction

README:

Page numbers in comments refer to http://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf

Build Command: $ gcc -lm -std=c99 -g pi2fm.c -o pi2fm

Usage: pi@raspberrypi $ sudo ./pi2fm sound.wav 77.7

pi@raspberrypi $ avconv -i sound.mp3 -f s16le -ar 22.05k -ac 1 - | sudo ./pi2fm -

pi@raspberrypi $ arecord -l **** List of CAPTURE Hardware Devices **** card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio] Subdevices: 1/1 Subdevice #0: subdevice #0

pi@raspberrypi $ arecord -D plughw:1,0 -f S16_LE -r 22050 | sudo ./pi2fm -

pi2fm's People

Contributors

oatmeal3000 avatar

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.