Coder Social home page Coder Social logo

zibri / scotty Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tempestradiostation/scotty

0.0 0.0 0.0 345 KB

Scotty is a demonstration software. It demonstrates how audio may be transmitted from a host computer by controlling GPU memory data transfers. Each memory transfer generates electromagnetic waves. By controlling the memory data tranfers, the software transmitts the data from the computer. Scotty was developed on an Asus G731GU-BI7N9 laptop with an nVIDIA GeForce GTX 1660 Ti GPU and tested on a desktop computer which comprises an ASUS TUF GTX 1650 SUPER GAMING 4GB GDDR6 card. It uses nVIDIA CUDA to perform the memory transfers.

License: Other

C++ 46.26% C 53.74%

scotty's Introduction

Scotty

Scotty is a demonstration software. It demonstrates how audio may be transmitted from a host computer by controlling GPU memory data transfers. Each memory transfer generates electromagnetic waves. By controlling the memory data transfers, the software transmits the data from the computer. Scotty was developed on an Asus G731GU-BI7N9 laptop with an nVIDIA GeForce GTX 1660 Ti GPU and tested on a desktop computer which comprises an ASUS TUF GTX 1650 SUPER GAMING 4GB GDDR6 card. It uses nVIDIA CUDA to perform the memory transfers.

Scotty performs the following tasks:

  1. It learns how long it takes the host computer to transfer a given amount of data.
  2. It calculates the amount of data required to transmit a single bit. A single bit is the minimal part of a symbol. The transmitted symbol is defined by the length of transmission. Symbol length = ZeroOffset + MinBitTime * Data value. Data value depends on the number of symbols per byte (of the number of bits per symbol). If 2 symbols per byte are selected, then each symbol represents 4 bits (Data value = 0 to 15). If 4 symbols per byte are selected, then each symbol represents 2 bits (Data value = 0 to 3).
  3. It enables the user to control the memory clock. The data is transmitted at this frequency, so by controlling the memory clock the user can transmit the data in an inactive RF band. Note: The data is also transmitted in other frequencies, such as the bytes data rate frequency.
  4. It enables the user to select the WAV file to be transmitted.
  5. When a WAV file is transmitted, the software performs the following tasks: 5.1. It reads the file. 5.2. It filters the audio with a 4000Hz filter and downsample it to 8000 samples per second. 5.3. It uses a G.726 encoder to reduce the number of bits per sample. 5.4. It gathers the data bits in data packets, which include 16-bit checksum. 5.5. It applies a Reed-Solomon forward error correction (FEC) algorithm on the data. 5.6. For each data packet it transmits, 4 header bytes, FEC parity bytes, and data bytes. Audio data is transmitted at a rate of 8000 samples per second. The data is transmitted in OOK.

Scotty was released by Paz Hameiri in 2021.

It includes a slightly modified version of Simon Rockliff's Reed-Solomon encoding-decoding code. It also includes a G.726 code, provided by Sun Microsystems, Inc.

Permission to use, copy, modify, and/or distribute the software that was written by Paz Hameiri for any purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

scotty's People

Contributors

tempestradiostation 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.