]> git.lizzy.rs Git - line_audiolizer.git/blob - README.md
Release workflow: Install alsa-lib
[line_audiolizer.git] / README.md
1 # Line Audiolizer
2 Turn lines of code (or text files) into sound, written in Rust.
3
4 Prints stdin, playing a sine wave tone for each line. The pitch of the tone depends on the length (or rather, UTF-8 width) of the line.
5
6 Idea by [scplusplus](https://github.com/scplusplus).
7
8 ## Example
9
10 Play own source code:
11 ```sh
12 cargo run < src/main.rs
13 ```
14
15 Fancy print while playing, using [batcat](https://github.com/sharkdp/bat):
16 ```sh
17 cargo run < src/main.rs | batcat --paging never --language rust
18 ```
19
20 For available options, see:
21 ```sh
22 cargo run -- --help
23 ```