Giter Site home page Giter Site logo

nrsc5's Introduction

Dependencies

The following packages are required:

  • libao-dev
  • libfftw3-dev
  • rtl-sdr

Build Instructions

 $ mkdir build && cd build
 $ cmake [options] ..
 $ make
 $ sudo make install

Available build options:

-DUSE_COLOR=ON       Colorize log output. [default=OFF]
-DUSE_NEON=ON        Use NEON instructions. [ARM, default=OFF]
-DUSE_SSE=ON         Use SSSE3 instructions. [x86, default=OFF]
-DUSE_FAST_MATH=ON   Use unsafe math optimizations. [default=OFF]
-DUSE_THREADS=ON     Enable multithreading. [default=ON]
-DUSE_FAAD2=ON       AAC decoding with FAAD2. [default=ON]

You can test the program using the included sample capture:

 $ xz -d < ../support/sample.xz | src/nrsc5 -r - 0

Building with Homebrew

 $ brew install --HEAD https://raw.githubusercontent.com/theori-io/nrsc5/master/nrsc5.rb

Usage

This was designed for use with an RTL-SDR dongle since that was our testing platform.

Options:

   frequency                       rtl-sdr center frequency
                                     (do not provide frequency when reading from file)
   program                         audio program to decode
                                     (0, 1, 2, or 3)
   -d device-index                 rtl-sdr device
   -g gain                         rtl-sdr gain (0.1 dB)
                                     (automatic gain selection if not specified)
   -p ppm-error                    rtl-sdr ppm error
   -r samples-input                read samples from input file
   -w samples-output               write samples to output file
   -o audio-output                 write audio to output file
   -f adts|hdc|wav                 audio format: adts, hdc, or wav
                                     (hdc playback requires modified faad2)
   -q                              disable log output
   -l log-level                    set log level
                                     (1 = DEBUG, 2 = INFO, 3 = WARN)

Examples:

 $ nrsc5 -p 63 -g 490 -w samples1071 107100000 0

 $ nrsc5 -r samples1071 0

 $ nrsc5 -o - -f adts 90500000 0 | mplayer -

nrsc5's People

Contributors

argilo avatar awesie avatar icb- avatar keysersoze1 avatar

Watchers

 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.