GithubHelp home page GithubHelp logo

ohleck / frequensea Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fdb/frequensea

0.0 1.0 0.0 43.89 MB

Visualizing the frequency spectrum.

License: MIT License

CMake 0.03% Makefile 0.11% Shell 0.40% C 58.21% Python 0.01% C++ 39.19% GLSL 0.10% Batchfile 0.01% Objective-C++ 0.18% Objective-C 0.01% Lua 1.71% Rust 0.02%

frequensea's Introduction

Frequensea

Frequensea is an open-source toolkit for visualizing the electromagnetic spectrum.

A sea of FFT data

Watch the Frequensea video introduction.

Features

  • Fast core written in C, with Lua scripting on top.
  • Support for RTL-SDR and HackRF devices.
  • Support for Oculus Rift for viewing the spectrum in virtual reality.
  • Support for OSC to communicate with other applications or devices.
  • Basic building blocks for sampling, filtering and visualizing RF data.

Installing dependencies (OS X)

brew update
brew install cmake glew fftw librtlsdr hackrf libpng libsndfile pkgconfig homebrew/versions/glfw3

Installing dependencies (Ubuntu 14.04 LTS)

sudo apt-get install -y git cmake gcc g++ make libfftw3-dev libpng-dev libusb-1.0.0-dev pkg-config xorg-dev libglu1-mesa-dev libopenal-dev libglew-dev libhackrf-dev librtlsdr-dev pkg-config

# There is no GLFW3 package so install from source
wget https://github.com/glfw/glfw/releases/download/3.1.1/glfw-3.1.1.zip
unzip 3.1.1.zip
cd glfw-3.1.1
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig

Installing dependencies (Raspberry Pi - Raspbian Jessie)

sudo apt-get install -y git cmake gcc g++ make libfftw3-dev libpng-dev libusb-1.0.0-dev pkg-config xorg-dev libglu1-mesa-dev libopenal-dev libglew-dev libhackrf-dev librtlsdr-dev libglfw3-dev

# Raspberry Pi doesn't support GLX, so until that's supported,
# we'll use the software rendering packages.
# Note that I found that installing mesa can *remove* libglfw3-dev,
# which we need, so if you get errors against that make sure
# it's installed.
sudo apt-get install -y libgl1-mesa-swx11 libglu1-mesa-dev libglew-dev

# Disable default kernel driver
sudo modprobe -r dvb_usb_rtl28xxu

Note that you might need to run as root to claim the graphics driver, especially if you don't use the default "pi" user.

Building

mkdir build
cd build/
cmake ..
make

Running

./frequensea ../lua/static.lua

With the Oculus:

./frequensea --vr ../lua/static.lua

Save the output to a PNG sequence:

./frequensea --capture ../lua/animate-camera.lua

Build and Run

make && ./frequensea ../lua/static.lua

Documentation

  • API.md contains all available Frequensea calls.
  • Examples are in the "lua" folder.

frequensea's People

Contributors

fdb avatar lievn avatar phereman avatar yuvadm avatar ptrhere avatar pmezard avatar strayptr avatar

Watchers

James Cloos 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.