PHP Classes
elePHPant
Icontem

Numeric TTS: Generate audio to spell numbers with voices

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (5)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2006-09-14 (10 years ago) RSS 2.0 feedStarStarStarStar 79%Total: 2,428 This week: 1All time: 1,538 This week: 1,047Up
Version Licenses Categories
numeric_tts 1.0.0Custom (specified...Text processing, Audio
Description Author

This class can be used to generate audio to spell numbers using different voices and idioms.

It generates a audio files in the WAVE format by concatenation audio samples that spell the digits of a number.

The digit audio samples are available for male and female voices in English and Arabic.

The resulting audio sample can be stored in a file or served as the current script output.

Picture of Bakr Alsharif
Name: Bakr Alsharif <contact>
Classes: 4 packages by
Country: Egypt Egypt
Innovation award
Innovation award
Nominee: 2x

Details
                            Numeric TTS v 1.0
                          http://www.SysTurn.com

//   This program is free software; you can redistribute it and/or modify
//   it under the terms of the ISLAMIC RULES and GNU Lesser General Public
//   License either version 2, or (at your option) any later version.
//
//   ISLAMIC RULES should be followed and respected if they differ
//   than terms of the GNU LESSER GENERAL PUBLIC LICENSE
//
//   This program is distributed in the hope that it will be useful,
//   but WITHOUT ANY WARRANTY; without even the implied warranty of
//   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//   GNU General Public License for more details.
//
//   You should have received a copy of the license with this software;
//   If not, please contact support @ S y s T u r n .com to receive a copy.



What is this ?
==============
This class converts numbers from text into wave format.
supports Male and Female voices, and can easily support
Languages other than english.


How does it work ?
===================
The idea of this class is concatenation audio samples that
spell the digits of a number. Then it generates the wave header
(the first 44 bytes of the file).


How to use this ?
=================
The class can be used in one of the following ways:
1- NumericTTS::write($input_number, $output_file)
   The write() function will spell and generate the wav
   file for the input number and store it in the output file.
   
2- NumericTTS::output($input_number)
   The output function will spell and generate the wav
   output for the input number which will be served
   as the current script output.
   
This class depends on pre-recorded wav files, so it can support
multiple voices and languages. Currently it have Male and Female
voices in English, and other four voices in Arabic.

The default voice is Female English. To change the voice you will
need to call the function setVoice($voice_name) before calling the
write() or output() functions.

Voices can be downloaded from:
http://systurn.com/numeric_tts/voices.zip


Looking For Examples ?
======================
Refer to the examples (files starts with "example.")
Online Example: http://systurn.com/numeric_tts/example.output.php
  Files folder image Files  
File Role Description
Plain text file class.numericTTS.php Class main class
Accessible without login Plain text file example.output.php Example Output function example
Accessible without login Plain text file example.write.php Example Write function example
Accessible without login Plain text file license.txt Lic. License
Accessible without login Image file play.jpg Icon play button
Accessible without login Plain text file readme.txt Doc. READ ME

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,428
This week:1
All time:1,538
This week:1,047Up
User Ratings User Comments (3)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:93%StarStarStarStarStar
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:79%StarStarStarStar
Rank:26
 
&#1576;&#1575;&#1585;&#1603; &#1575;&#1604;&#1604;&#1607; &#1...
5 years ago (Abdulrhman Alkhodiry)
80%StarStarStarStarStar
&#1576;&#1575;&#1585;&#1603; &#1575;&#1604;&#1604;&#1607; &#1...
5 years ago (Abdulrhman Alkhodiry)
80%StarStarStarStarStar
Excellent
7 years ago (kishore kumar)
80%StarStarStarStarStar