diff options
author | B. Watson <urchlay@slackware.uk> | 2024-04-09 14:33:36 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-04-11 16:52:48 -0400 |
commit | 4215ebc4f1b760abd3980d4413cf86be084f74df (patch) | |
tree | 2a7c3313e7f1a5cf650ae27c566be552cc058c41 | |
parent | 348c68f6c1f997d816ccc5fbdc14313dffca42fa (diff) | |
download | soxdial-4215ebc4f1b760abd3980d4413cf86be084f74df.tar.gz |
soxdial: add -Y/--no-random.
-rwxr-xr-x | soxdial | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -83,6 +83,11 @@ Randomize the timing. Digit length (B<-l>), inter-digit timing specified. This does a pretty good impression of a human dialling a number manually. +=item B<-Y>, B<--no-random> + +Disable randomized timing. This is the default; this option exists +to turn off a prior B<-X>, B<--random> option. + =item B<-S>, B<--stereo> Output stereo audio. The left and right channels will contain the same @@ -532,6 +537,8 @@ for ($argc = 0; $argc < @ARGV; $argc++) { } elsif(/^--?(?:X|random)$/) { # sorry I had to use -X for this, -R was already taken. $random = 1; + } elsif(/^--?(?:Y|no-random)$/) { + $random = 0; } elsif(/^--?f(?:ast)?$/) { $intertime /= 2; $digittime /= 2; |