aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElias Fleckenstein <54945686+EliasFleckenstein03@users.noreply.github.com>2022-07-28 21:00:38 +0200
committerGitHub <noreply@github.com>2022-07-28 21:00:38 +0200
commitc1d9f6847d6c120c6d2996ad01e2ce3ece574209 (patch)
tree6459cbf001652ac1410d3fd59ca5dc7ee323b781
parent4dfc334fe10571400fa6831ef815dc50d3389ef8 (diff)
downloadline_audiolizer-c1d9f6847d6c120c6d2996ad01e2ce3ece574209.tar.xz
Create README.md
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..89ea18a
--- /dev/null
+++ b/README.md
@@ -0,0 +1,18 @@
+# Line Audiolizer
+Turn lines of code (or text files) into sound, written in Rust.
+
+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.
+
+Idea by [scplusplus](https://github.com/scplusplus).
+
+## Example
+
+Play own source code:
+```sh
+cargo run < src/main.rs
+```
+
+Fancy print while playing, using [batcat](https://github.com/sharkdp/bat):
+```sh
+cargo run < src/main.rs | batcat --paging never --language rust
+```