PHP Classes

PHP Convert Text to Audio: Spell text as MP3 audio using Google Translate

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 429 All time: 6,311 This week: 117Up
Version License PHP version Categories
text-reader 1.0Freeware5PHP 5, Text processing, Web services, A...


This class can spell text as MP3 audio using Google Translate.

It can take a given text string in an idiom and generates a MP3 audio stream using Google translate.

The class generates HTML with JavaScript to play the converted text in a Web page.

The code and comments in Italian. In Italian:

textReader è una classe PHP per convertire una stringa in un file musicale e riprodurlo senza nemmeno occupare spazio sul server perché il file viene convertito in base64

Picture of Gabriele Gabry Princiotta
Name: Gabriele Gabry ... <contact>
Classes: 1 package by
Country: Italy Italy
Age: ???
All time rank: 3444135 in Italy Italy
Week rank: 438 Up20 in Italy Italy Up


<!doctype html>
<form method="post">
<h1>Text Reader</h1>
<textarea name="testo_da_leggere"></textarea><br />
<input type="text" name="lingua_testo" placeholder="Codice lingua" /><br />
<input type="submit" value="Leggi" />
include "text-reader.php";
$testo_da_leggere = ((isset($_POST['testo_da_leggere'])) ? $_POST['testo_da_leggere'] : "Inserisci un testo da leggere");
$lingua_testo = ((isset($_POST['lingua_testo'])) ? $_POST['lingua_testo'] : "it");

  Files folder image Files  
File Role Description
Plain text file text-reader-example.php Example Un file di esempio
Plain text file text_reader.php Class Il file della classe

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,311
This week:117Up