You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
5
+
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 the left channel of the input file, writes the converted file in the same location with the `-MONO` suffix in the name.
Provide zrtstr with an input file as an argument, or run it from a directory full of target WAV files.
13
10
14
11
Full help available on `--help` switch.
15
12
16
13
## How does it work?
17
-
Zrtstr reads interleaved channel samples from a target stereo file one by one and compares left and right samples. If the difference is present (and higher than the threshold given in `--dither` mode) than file considered true-stereo and program tries to write a mono copy. **Defaults include a reasonable dither threshold value, for strict checking set it to zero with `-d 0`!**.
14
+
Zrtstr reads interleaved channel samples from a target stereo file one by one and compares left and right samples. If the difference is present (and higher than the threshold given in `--dither` mode) than file considered true-stereo and program tries to write a mono copy.
15
+
16
+
**Defaults include a reasonable dither threshold value, for strict checking set it to zero with `-d 0`!**
18
17
19
18
## Installation
20
19
Rearchiver is tested to work under Windows and GNU/Linux. Probably works on OSX with no changes.
@@ -25,7 +24,9 @@ Rearchiver is tested to work under Windows and GNU/Linux. Probably works on OSX
25
24
### How to build
26
25
Developed on nightly Rust, as stable makes getting samples for multiple channels a bit more problematic for `hound`.
27
26
28
-
To build the code, run:
27
+
Built using these wonderful crates: **[Hound](https://github.com/ruuda/hound)**, **[Clap](https://github.com/kbknapp/clap-rs)**, **[pbr](https://github.com/a8m/pb)**.
28
+
29
+
To build the program, download the source code and run:
29
30
30
31
```
31
32
$ cargo build --release
@@ -36,12 +37,12 @@ and the executable will be in `target/release/zrtstr`.
36
37
## TODO
37
38
Here are the current problems and planned features:
38
39
39
-
-[ ]**Dither thresholding in dB**
40
-
-[ ]**Variable default dither threshold based on bitdepth**
41
-
-[ ]**Add automatic tests**
40
+
-[ ] Dither thresholding in dB
41
+
-[ ] Variable default dither threshold based on bitdepth
42
+
-[ ] Add automatic tests
42
43
43
44
## Contributing
44
-
The project is open for contributions. Any help and/or critique is appreciated. Take a stab at the TODO above.
45
+
The project is open for contributions. Any help and/or critique is appreciated. Take a stab at the TODO list above.
45
46
46
47
Feel free to file a bug report or feature request via [Issues](https://github.com/Indiscipline/zrtstr/issues).
0 commit comments