Browse code

added appinfo/info.xml appinfo/signature.json CHANGELOG.txt lib/AppInfo/Application.php css/style.css providers/Plivo

DoubleBastionAdmin authored on 05/11/2025 13:35:09
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,21 @@
1
+<?php
2
+require 'vendor/autoload.php';
3
+use Plivo\XML\Response;
4
+
5
+$response = new Response();
6
+$params1 = array(
7
+    'language' => 'en-US', # Language used to read out the text.
8
+    'voice' => 'Polly.Joanna', # The tone to be used for reading out the text.  
9
+);
10
+$params2 = array(
11
+    'strength' => 'medium', # Language used to read out the text.
12
+    'time' => '2s', # The tone to be used for reading out the text.  
13
+);
14
+$response->addSpeak('Hello, Rex! Your birthday is on ',$params1);
15
+$response->addBreak();
16
+$response->addProsody('really like ',array('pitch'=>'-1%'));
17
+// $response->addEmphasis('really like ',array('level'=>'strong'));
18
+// $response->addLang('plivo mein aapaka svaagat hai',array('xmllang'=>'hi-IN'));
19
+// $response->addP('I already told you I ');
20
+// $response->addPhoneme('really like ',array('alphabet'=>'ipa','ph'=>'pɪˈkɑːn'));
21
+echo $response;
0 22
\ No newline at end of file
Browse code

removed appinfo/info.xml appinfo/signature.json CHANGELOG.txt lib/AppInfo/Application.php css/style.css providers/Plivo

DoubleBastionAdmin authored on 05/11/2025 13:12:22
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,21 +0,0 @@
1
-<?php
2
-require 'vendor/autoload.php';
3
-use Plivo\XML\Response;
4
-
5
-$response = new Response();
6
-$params1 = array(
7
-    'language' => 'en-US', # Language used to read out the text.
8
-    'voice' => 'Polly.Joanna', # The tone to be used for reading out the text.  
9
-);
10
-$params2 = array(
11
-    'strength' => 'medium', # Language used to read out the text.
12
-    'time' => '2s', # The tone to be used for reading out the text.  
13
-);
14
-$response->addSpeak('Hello, Rex! Your birthday is on ',$params1);
15
-$response->addBreak();
16
-$response->addProsody('really like ',array('pitch'=>'-1%'));
17
-// $response->addEmphasis('really like ',array('level'=>'strong'));
18
-// $response->addLang('plivo mein aapaka svaagat hai',array('xmllang'=>'hi-IN'));
19
-// $response->addP('I already told you I ');
20
-// $response->addPhoneme('really like ',array('alphabet'=>'ipa','ph'=>'pɪˈkɑːn'));
21
-echo $response;
22 0
\ No newline at end of file
Browse code

Added README.md appinfo/info.xml appinfo/signature.json lib/Controller/AuthorApiController.php and the providers directory

DoubleBastionAdmin authored on 20/08/2022 16:33:00
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,21 @@
1
+<?php
2
+require 'vendor/autoload.php';
3
+use Plivo\XML\Response;
4
+
5
+$response = new Response();
6
+$params1 = array(
7
+    'language' => 'en-US', # Language used to read out the text.
8
+    'voice' => 'Polly.Joanna', # The tone to be used for reading out the text.  
9
+);
10
+$params2 = array(
11
+    'strength' => 'medium', # Language used to read out the text.
12
+    'time' => '2s', # The tone to be used for reading out the text.  
13
+);
14
+$response->addSpeak('Hello, Rex! Your birthday is on ',$params1);
15
+$response->addBreak();
16
+$response->addProsody('really like ',array('pitch'=>'-1%'));
17
+// $response->addEmphasis('really like ',array('level'=>'strong'));
18
+// $response->addLang('plivo mein aapaka svaagat hai',array('xmllang'=>'hi-IN'));
19
+// $response->addP('I already told you I ');
20
+// $response->addPhoneme('really like ',array('alphabet'=>'ipa','ph'=>'pɪˈkɑːn'));
21
+echo $response;
0 22
\ No newline at end of file