kopia lustrzana https://github.com/sq9atk/sr0wx
naprawa audio generatora
rodzic
06cfb82ef7
commit
e480f5ca91
|
@ -32,9 +32,12 @@ function azAZ09($string)
|
|||
}
|
||||
|
||||
|
||||
|
||||
https://code.responsivevoice.org/getvoice.php?text=gfdgfg&lang=pl&engine=g1&name=&pitch=0.5&rate=0.5&volume=1&key=WGciAW2s&gender=female
|
||||
|
||||
function getMpg($word, $filename)
|
||||
{
|
||||
$url = 'https://code.responsivevoice.org/getvoice.php?tl=pl&pitch=0.5&rate=0.5&vol=1&t='.urlencode($word);
|
||||
$url = 'https://code.responsivevoice.org/getvoice.php?lang=pl-GB&engine=g1&name=&pitch=0.5&rate=0.5&volume=1&key=WGciAW2s&gender=female&text='.urlencode($word);
|
||||
$audio = file_get_contents_curl($url);
|
||||
|
||||
file_put_contents('mpg/'.$filename.'.mpg', $audio);
|
||||
|
|
Ładowanie…
Reference in New Issue