Skip to content

Convert .WAV files to a telecommunication codec and back again. Useful to apply the character of a codec to a sample.

License

Notifications You must be signed in to change notification settings

reillypascal/codecfx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codecfx

Convert .WAV files to a telecommunication codec and back again. Useful to apply the character of a codec to a sample.

Usage

This project uses Rust's cargo package manager. After installing Rust, you can run the command cargo run from the code folder.

The code will default to expecting your input file(s) and/or folder(s) to be in the input subfolder, and will write .WAV files to the output sub-folder. Here are the commands to change the default options:

  • -h, --help show this help message and exit
  • -i, --input subfolder in which to look for files to import (string)
  • -o, --output subfolder in which to write .WAV files (string)
  • -s, --samplerate sample rate for codec
  • -c, --codec codec through which to process the files (string: only 'vox' available for now; more to come)

Usage Examples

  • Note the extra two dashes (--) between cargo run and the command-line options. This sends your options to the running program, rather than to cargo.

  • run codec at 8 kHz; use the 'vox' codec

cargo run -- -s 8000 -f 'vox'
  • Read files from the samples subfolder and output them to the code folder, rather than a subfolder
cargo run -- -i "samples" -o "."

About

Convert .WAV files to a telecommunication codec and back again. Useful to apply the character of a codec to a sample.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages