From 1b39ffa3f3ed255384ca84d3a747c7bc166f1599 Mon Sep 17 00:00:00 2001 From: Henry J Schmale Date: Sun, 22 Nov 2015 15:02:48 -0500 Subject: [PATCH] Fix the command line command markdown The command line markdown was not proper code highlighting syntax, so I fixed it. I also changed from using backticks to using `$()` which is a bit of a bashism, but it still works with most common shells. --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index 1f27cc5..13b4004 100644 --- a/README.markdown +++ b/README.markdown @@ -1,6 +1,6 @@ libglitch makes 8-bit sounds in the spirit of viznut's [“algorithmic symphonies”][1], using a small language not entirely unlike Forth. Included is a small programm reading formulas from the command line. GNU/Linux users may try “./glitter.py glitch_machine!a10k4h1f!aAk5h2ff!aCk3hg!ad3e!p!9fm!a4kl13f!aCk7Fhn | aplay -f u8” for playback. -Using sox, sound can easily be exported into wave files: “./glitter.py `cat tracks/sidekick.glitch` | head -c128000 | sox -c 1 -r 8000 -t u8 - sidekick.wav”. +Using sox, sound can easily be exported into wave files: `./glitter.py $(cat tracks/sidekick.glitch) | head -c128000 | sox -c 1 -r 8000 -t u8 - sidekick.wav`. For editing and visual effects, try “./glitched.py [filename]”. Controls are the arrow keys (to move the cursor around), page up / page down (to change the opcode), space (to for no opcode), t (for the counter) and all hexadecimal digit keys (for insertion of the corresponding characters). Symbol keys (plus, minus etc.) may also work.