Skip to content

Commit

Permalink
Fixed some more readme issues
Browse files Browse the repository at this point in the history
  • Loading branch information
laserbat committed Mar 15, 2020
1 parent 4d33d25 commit b7e5d14
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ To listen to it on Linux, run:

`$ echo | ./bach.sed | aplay -r44100`

or, to play it using [sox](http://sox.sourceforge.net/):
Or, to play it using [sox](http://sox.sourceforge.net/):

`$ echo | ./bach.sed | play -r 44100 -e unsigned -b 8 -c 1 -t raw -`

Expand All @@ -14,7 +14,7 @@ It will take a few seconds (16s on my laptop) for it to start producing sound.

For OS X or BSD systems, you'll have to install `gsed` (FreeBSD) or `gnu-sed` (OS X) and edit bach.sed to start with:

`#/usr/local/bin/gsed`
`#/usr/local/bin/gsed -Ef`

To install required packages, use:

Expand All @@ -24,7 +24,9 @@ $ pkg install sox; pkg install gsed # (FreeBSD)
$ brew install sox; brew install gnu-sed # (OS X)
```

And use the linux command line from above.
And use this command line:

`$ echo | ./bach.sed | play -r 44100 -e unsigned -b 8 -c 1 -t raw -`

It should be possible to run on Windows using Cygwin but I haven't tried doing that.

Expand Down

0 comments on commit b7e5d14

Please sign in to comment.