Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 984 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 984 Bytes

rtl_waterfall

Simple glut based waterfall window for rtl-sdr

small program that plots a waterfall using rtlsdr
usage: rtl_waterfall [-d <dev_index>] [-f <freq>] [-g <gain_dB>] [-p <ppm>] [-r <samp_rate>]

Press [Q,q,w,W] to change frequency, [a,z] to adjust color sensitivity, [f,g,h] to adjust gain, ESC to quit.

glut code copied from http://stackoverflow.com/questions/503816/linux-fastest-way-to-draw
rtlsdr code copied from rtl_sdr.c that came with the lib

to install the necessary libs on linux: apt-get install libfftw3-3 libfftw3-dev freeglut3-dev libglew-dev
on OSX: brew install fftw (glut should be present by default)

Compile on linux: gcc -o rtl_waterfall rtl_waterfall.c -lglut -lGL -lrtlsdr -lfftw3 -lm
OSX: gcc -framework GLUT -framework OpenGL -framework Cocoa rtl_waterfall.c -o rtl_waterfall -lrtlsdr -lfftw3 -lm (last tested on osx years ago, on 10.6) (If using MacPorts, add -L /opt/local/lib -I /opt/local/include)