Skip to content

A web-based application to listen to radio transmissions from your browser using a cheap USB digital TV tuner

License

Notifications You must be signed in to change notification settings

jtarrio/radioreceiver

Repository files navigation

Radio Receiver

An application to listen to radio transmissions from your browser using a cheap USB digital TV tuner.

Try it out at radio.ea1iti.es.

What is this

Radio Receiver is an HTML5 webpage that uses an USB digital TV receiver to capture radio signals, demodulates them in the browser, and plays the demodulated audio through your computer's speakers or headphones. This is called SDR (Software-Defined Radio), because all the radio signal processing is done by software running in the computer instead of purpose-built hardware.

Compatible hardware and software

Radio Receiver was written to work with an RTL-2832U-based DVB-T (European digital TV) USB receiver, with a R820T tuner chip. This hardware configuration is a little dated, but support for newer tuner chips is planned.

Building

During development

For a development build served from your computer with live reload:

$ npm run watch

This script should open Radio Receiver on your browser automatically. If it doesn't, check the output and open the URL that it gives you.

Whenever you make changes, they will be compiled and the page will be reloaded automatically.

If you want to build Radio Receiver manually for development, use this command:

$ npm run build

The compiled application is available in the dist/apps/radioreceiver directory.

For release

For a release build:

$ npm run dist

The compiled application is available in the dist/apps/radioreceiver directory; you can copy its contents to your webserver.

Note: your website must be served over HTTPS, not HTTP. This is required for WebUSB.

Acknowledgements

This started as a fork of https://github.com/google/radioreceiver that has been updated to use the HTML5 USB API and modern features, and converted to TypeScript.

Kudos and thanks to the RTL-SDR project for figuring out the magic numbers needed to drive the USB tuner.

If you want to experiment further with Software-Defined Radio and listen to more things using your cheap tuner, you can try the various programs listed on rtl-sdr.com.

About

A web-based application to listen to radio transmissions from your browser using a cheap USB digital TV tuner

Topics

Resources

License

Stars

Watchers

Forks