Popularity
1.2
Growing
Activity
3.7
-
26
3
0

Programming language: Rust
License: GNU General Public License v3.0 only
Latest version: v0.1.2
Add another 'Audio' Package

README

zrtstr

Build Status Build status License

Command line application for checking WAV-files for identical channels, detecting faux-stereo files generated by some audio-editing software and DAWs (such as old versions of Cubase). Outputs a true-mono WAV file on detection of faux-stereo. Takes left channel of the input file, writes in the same location with -MONO suffix in file name.

Developed using these wonderful crates:

Hound, Clap, pbr

Usage

Basically, provide zrtstr with input file as an argument, or run it from a directory full of target WAV files.

Full help available on --help switch.

Latest Windows binaries are luckily provided in Releases via Appveyor.

How does it work?

Zrtstr reads interleaved channel samples from a target stereo file one by one and compares left and right samples. If the difference is present (or higher than the threshold given in --dither mode) than file considered true-stereo and program tries to write a mono copy.

How to build

Developed on Rust Nightly, but should build with stable or beta as well.

To build the code, run:

$ cargo build --release

and the executable will be in target/release/zrtstr.

TODO

Here are the current problems and planned features:

  • [ ] Float support: Add writing support for IEEE Float files (upstream-dependent)
  • [ ] Add automatic tests

Contributing

This is an enthusiast project, so any help and/or critique will be much appreciated.

Feel free to file a bug report or feature request via Issues.

License

zrtstr licensed under GNU General Public License version 2 or later;

See LICENSE file for full details.


*Note that all licence references and agreements mentioned in the zrtstr README section above are relevant to that project's source code only.