Giter VIP home page Giter VIP logo

jdigi's Introduction

jdigi

A simple experiment in javascript digital signal processing. HTML5's Web Audio API is a wonderful opportunity for people interested in DSP to experiment in audio modulation and demodulation. It's also a great way to provide radio digital mode codecs to users without the need to port code or install binaries. This project in an experiment in doing just that.

Status

The project is only a few days old, so currently there is only a waterfall and buggy BPSK31 reception. RTTY code has been added, but it has not been debugged or tested yet.

Building

This library is intended to run in browsers. However, it is managed, tested and build by Node.js and Gulp.js. So for the aspiring developer to perform a build of the code, Node must be installed, then Gulp.

Currently the commands are:

  • To build:
    gulp
  • To test:
    gulp test
  • To clean up:
    gulp clean

Getting

For the average person who just wants to run the code, we will occasionally zip up a build and put a copy in the /builds folder. Look there.

Running

Note that for Web Audio to be able to listen to your audio inputs, the html that loads the Javascript must be loaded from a web server. You can simply put the code on a webserver and run it. There is also a server.js file that will allow you to run it if you have node and "http-connect". Just type "npm install http connect" and then "node server".

Alternatively, you can start Chrome with a command-line option:

--allow-file-access-from-files.

  • On OSX, make an alias:
    alias chromew='open -a Google\ Chrome --args --allow-file-access-from-files'
  • On Linux:
    alias chromew='/path/to/chrome --allow-file-access-from-files'
  • On Windows, make a batch file.

jdigi's People

Contributors

ishmal avatar bobpearson avatar philcrump avatar

Stargazers

Pantelis Koukousoulas avatar Rossen avatar Chris Campo avatar Joel Stanley avatar  avatar Mike avatar  avatar  avatar Max P avatar Matt Carlson avatar

Watchers

Bob Haigler avatar  avatar James Cloos avatar  avatar Anthony Best 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.