Showing the changes to scripts (1 of 6 files). Show all
Unified · Split
| @@ -2,8 +2,8 @@ · 1 unmodified line | |||
| 2 | # | 2 | # |
| 3 | # usage:audiogen <rate> <channels> <filename> <length> <audio generator options> | 3 | # usage:audiogen <rate> <channels> <filename> <length> <audio generator options> |
| 4 | # | 4 | # |
| 5 | # Example of using the "nul" file handler along with "synth" effect | 5 | # Example of using the "null" file handler along with "synth" effect |
| 6 | # to generate audio data. Nul file handler pipes a stream of null | 6 | # to generate audio data. Null file handler pipes a stream of null |
| 7 | # data non-stop. Synth effect overrides it with its own data and | 7 | # data non-stop. Synth effect overrides it with its own data and |
| 8 | # stops based on length parameter. | 8 | # stops based on length parameter. |
| 9 | 9 | ||
| @@ -21,4 +21,4 @@ shift · 11 unmodified lines | |||
| 21 | filename=$1 | 21 | filename=$1 |
| 22 | shift | 22 | shift |
| 23 | 23 | ||
| 24 | sox -s -w -t nul -r $rate -c $channels /dev/null $filename synth $* | 24 | sox -s -w -r $rate -c $channels -- $filename synth $* |