PHP Classes
elePHPant
Icontem

Numeric TTS: Generate audio to spell numbers with voices

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (8 years ago) RSS 2.0 feedStarStarStarStar 79%Total: 2,321 This week: 2All time: 1,587 This week: 626Up
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
Age: 34
All time rank: 1141 in Egypt Egypt
Week rank: 209 Down6 in Egypt Egypt Down
Innovation award
Innovation award
Nominee: 2x

Details provided by the author  
                            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,321All time:1,587
 This week:2This week:626Up
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:11
 
&#1576;&#1575;&#1585;&#1603; &#1575;&#1604;&#1604;&#1607; &#1...
3 years ago (Abdulrhman Alkhodiry)
80%StarStarStarStarStar
&#1576;&#1575;&#1585;&#1603; &#1575;&#1604;&#1604;&#1607; &#1...
3 years ago (Abdulrhman Alkhodiry)
80%StarStarStarStarStar
Excellent
5 years ago (kishore kumar)
80%StarStarStarStarStar