Skip to content

A simple cli tool made in Node.js for creating 32Khz u8 (unsigned 8-bit) dumps.

License

Notifications You must be signed in to change notification settings

mrtianjin829/wavtobin

Repository files navigation

WavToBin

A simple cli tool made in Node.js for creating 32Khz u8 (unsigned 8-bit) mono dumps.

Install

Supported Platforms:

  • Android
  • Windows
  • Linux/Unix
  • Pretty much all platforms supported by Node.js

Required programs:

  • Node.js (>= 16.x)
  • NPM

To install, you need to download a specific tag from the repository

After that, extract the downloaded zip/tar.gz file. Run npm i on the extracted folder And you are all set.

Documentation

Synopsis:

./index.js [-o OUTPUT] [-r SAMPLERATE] [--ffmpeg] [-fi ARGS] [-fo ARGS] FILE

Once you execute this command properly, the program will create the file out.bin and continue silently.

Convert output results back to wav file

You can use SoX (Sound Exchange) to convert back.

sox -t u8 -r 32000 -c 1 out.bin out.wav

About

A simple cli tool made in Node.js for creating 32Khz u8 (unsigned 8-bit) dumps.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published