Improve 2018/algmyr/try.sh + update FAQ

The script now does more (another feature of the program).

The FAQ now has a name of 'sox' for FAQ 3.10 which the script refers to
and the README.md file now refers it too (instead of 3.10).

Fix make clobber: rm *.wav.

Update .gitignore.
This commit is contained in:
Cody Boone Ferguson committed 2024-01-31 09:12:10 -08:00
1 parent 485b24beab
commit a4a153cd74
5 files changed
+35 -20

No files matched your search

+3 -3
View File
@@ -6,7 +6,7 @@ make
To use this entry requires, in some invocations, a sound processing program.
This can be ALSA or SoX but we recommend the latter. See [FAQ 3.10 - How do I
compile and use an IOCCC winner that requires sound?](/faq.md#faq3_10).
compile and use an IOCCC winner that requires sound?](/faq.md#sox).
### Bugs and (Mis)features:
@@ -23,9 +23,9 @@ For more detailed information see [2018 algmyr in bugs.md](/bugs.md#2018-algmyr)
## To use:
```sh
cat prog.c | ./prog # Print garbage: might mess up your terminal
./prog < prog.c # Print garbage: might mess up your terminal
./prog <file1> <file2> > out.raw
./prog -d 2 0 out.raw # Decode the first (0th) channel out of two
./prog -d 2 0 out.raw # Decode the first (0th) channel out of two
```