Skip to content

Instantly share code, notes, and snippets.

@alnutile
Created December 21, 2014 02:53
Show Gist options
  • Save alnutile/6280793d8f81ed27b610 to your computer and use it in GitHub Desktop.
Save alnutile/6280793d8f81ed27b610 to your computer and use it in GitHub Desktop.
Zeke's code 1
#!/usr/bin/php
<?php
$arg = $argv[1];
$voices = ['Good News', 'Zarvox', 'Bahh'];
foreach (range(1, 108) as $v) {
exec("say -v {$voices[rand(0,3)]} $arg");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment