PHP Classes

Numeric TTS: Generate audio to spell numbers with voices

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 79%Total: 2,603 All time: 1,465 This week: 64Up
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: 44
All time rank: 1122 in Egypt Egypt
Week rank: 131 Down2 in Egypt Egypt Equal
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 (6)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,603
This week:0
All time:1,465
This week:64Up
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:27
 
&#1576;&#1575;&#1585;&#1603; &#1575;&#1604;&#1604;&#1607; &#1...
13 years ago (Abdulrhman Alkhodiry)
80%StarStarStarStarStar
&#1576;&#1575;&#1585;&#1603; &#1575;&#1604;&#1604;&#1607; &#1...
13 years ago (Abdulrhman Alkhodiry)
80%StarStarStarStarStar
Excellent
15 years ago (kishore kumar)
80%StarStarStarStarStar