https://github.com/stringmanolo/mothsignal
https://github.com/stringmanolo/mothsignal
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stringmanolo/mothsignal
- Owner: StringManolo
- Created: 2024-06-24T21:49:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-30T04:37:05.000Z (over 1 year ago)
- Last Synced: 2025-04-02T10:11:45.812Z (10 months ago)
- Language: JavaScript
- Size: 213 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MothSignal
Encode/Decode Base64 in wav
## Notice
- Base64 decoding is not perfect. Got a 98% precision on decoding from audio to base64.
## Requirements
- Linux
- Bash
- Node.js
- npm
- ffmpeg
##### Node modules
- dsp.js
- wav-decoder
## Install
```bash
git clone https://github.com/StringManolo/MothSignal.git
cd MothSignal
npm install
# install your dependencies using your system package manager for example:
# apt install ffmpeg
# apk add ffmpeg
```
## Usage
```bash
# Encode
./moth.sh encode fileToEncode
# Decode
./moth.sh decode fileToEncode.wav
```
A fileToEncode.wav will be generated in same folder as fileToEncode file.