]> git.lizzy.rs Git - line_audiolizer.git/blob - README.md
89ea18a37d0b2096789b2bbe295e37c55ca13eb9
[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 tone for each line. The pitch of the tone depends on the length (or rather, UTF-8 width) of the line. Tabs count as 8 spaces.
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 ```