Created
July 10, 2013 06:14
-
-
Save caseysoftware/5963827 to your computer and use it in GitHub Desktop.
A list of countries, each run through the Twilio TTS engines.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| include 'Services/Twilio.php'; | |
| /** | |
| * Uruguay is the oddity | |
| */ | |
| $items = array('United States', 'Brazil', 'Ireland', 'Singapore', | |
| 'Japan', 'Australia', 'United Arab Emirates', 'Peru', | |
| 'Uruguay', 'French Polynesia', 'Egypt', 'Greece', 'Qatar'); | |
| $response = new Services_Twilio_Twiml(); | |
| foreach($items as $item) { | |
| $response->say($item); | |
| $response->say($item, array('voice' => 'woman')); | |
| $response->say($item, array('voice' => 'alice')); | |
| } | |
| print $response; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment