aboutsummaryrefslogtreecommitdiff
path: root/bin/psycamp
diff options
context:
space:
mode:
authorpsyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet>2016-08-10 15:28:45 +0000
committerpsyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet>2016-08-10 15:28:45 +0000
commitc71ea123369f8c6225957b14d2fb2291719beaab (patch)
tree13a3cc1111ea7852cf066d94412ecc7e13491fe5 /bin/psycamp
parent4532b85063b141de0682d1897f6003e2cb39d460 (diff)
downloadperlpsyc-c71ea123369f8c6225957b14d2fb2291719beaab.tar.gz
perlpsyc-c71ea123369f8c6225957b14d2fb2291719beaab.zip
psycamp: more really useful voice announcements
Diffstat (limited to 'bin/psycamp')
-rwxr-xr-xbin/psycamp9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/psycamp b/bin/psycamp
index 778b979..a776cd0 100755
--- a/bin/psycamp
+++ b/bin/psycamp
@@ -517,16 +517,17 @@ sub open {
517} 517}
518sub next { 518sub next {
519 my $a = shift; 519 my $a = shift;
520 &sys($has_espeak, '-v', 'en-romanian', '-p', 33, '-k', 44, $opt_A) 520 &sys($has_espeak, '-v', 'en-afrikaans', '-p', 33, '-k', 44, '-s', 171, $opt_A)
521 if $has_espeak and $opt_A and $CurrentFile; 521 if $has_espeak and $opt_A and $CurrentFile;
522 &fade(43, $a) if $a and $VOL > 50; 522 &fade(43, $a) if $a and $VOL > 50;
523 my $n = $file[$order[++$CS]]; # || $file[$CS]; 523 my $n = $file[$order[++$CS]]; # || $file[$CS];
524 if ($has_espeak and $opt_V and $CurrentFile) { 524 if ($has_espeak and $opt_V and $CurrentFile) {
525# $CurrentFile =~ m!/([^/]+)$!; 525 $CurrentFile =~ m!/\d*([^/\.]+)\.[^/]+$!;
526 my $f = $1 || $CurrentFile; 526 my $f = $1 || $CurrentFile;
527 &sys($has_espeak, '-v', 'en-german-5', '-p', 87, '-s', 203, $f); 527 $f =~ y/-/_/;
528 &sys($has_espeak, '-v', 'en-german-5', '-p', 87, '-s', 101, $f);
528 } 529 }
529 &sys($has_espeak, '-v', 'en-romanian', '-p', 23, '-s', 87, '-k', 87, 'bullshit') 530 &sys($has_espeak, '-v', 'en-romanian', '-p', 23, '-s', 87, '-k', 87, rand(7) > 2 ? 'bullshit' : 'cool')
530 if $has_espeak and $opt_A; 531 if $has_espeak and $opt_A;
531 &exit(0) if !$n or ($n eq '') or !$NS or $CS >= $NS; 532 &exit(0) if !$n or ($n eq '') or !$NS or $CS >= $NS;
532# return &next(0) if $opt_S and $n =~ /\b$KEEP\b/oi; 533# return &next(0) if $opt_S and $n =~ /\b$KEEP\b/oi;