|
|
|
Agriculture › Re: Where To Get Kuli Kuli Groundnut Oil by jandukun: 8:46pm On Feb 13, 2017 |
From Abuja take a bus to Lafia, alight at nasarawa eggon market. |
Agriculture › Re: Where To Get Kuli Kuli Groundnut Oil by jandukun: 3:48pm On Feb 07, 2017 |
Go to nasarawa egg on lga, it's about 30mins from akwanga and 25mins from lafia in nasarawa state. I did my nysc there and they major suppliers of pure groundnut oil. |
Programming › Re: Who Can Edict An Android App? by jandukun: 11:15am On Feb 02, 2017*. Modified: 5:17pm On Feb 03, 2017 |
Mjuliet: I want to edict an android application... A past questions and answers application... Input my details and logo... If you can do this for a fee pls comment below let me contact you. Hi @Mjuliet, I can do this for you in record time. WhatsApp me on 070******** |
|
Autos › Re: TESTED & TRUSTED.... Cotonuo Cars Delivered By Tadeus by jandukun: 10:37pm On Oct 31, 2016 |
Please how much for Lexus IS250 2007 with full duty paid, delivery Lagos. |
Autos › Re: Cheap Cotonou Car/suv Delivered To Nigeria By Hassan See Pictures by jandukun: 10:37pm On Oct 31, 2016 |
Please how much for Lexus IS250 2007 with full duty paid, delivery Lagos. |
Programming › Re: Text-to-Speech For Nigerian Languages by jandukun: 6:47pm On Oct 29, 2016 |
Thanks for this great code, can I get a copy of the source code and doew it come in central igbo? |
Programming › Re: Text-to-Speech For Nigerian Languages by jandukun: 6:42pm On Oct 29, 2016 |
ChinenyeN: This is my implementation of a simple Text-to-Speech (tts) web application. The example uses Ngwa (Igbo), but it can easily be amended for any other Nigerian language. It requires only HTML, JS and PHP. There is no need for SQL and CSS is up to the designer.
site.html/site.php <!DOCTYPE html> <head> <title>Text-to-Speech for Ngwa</title> </head>
<body> <span id="term">mgbamgba ere</span><span><img src="img/snd_icon.png" id="sound_icon"/></span> </body> </html>
sitejs.js
var ajaxReq = null; // for AJAX request, obviously
// grab the speaker icon element var speaker = document.getElementById("sound_icon" ); speaker.onclick = function() { // grab the term var term = document.getElementById("term" ).innerHTML; var response = runAJAX ("tts.php", term); // run the AJAX request
// check to make sure that tts.php echoed the the response we need if (response.match("Done" )) { // use of new Date() query string is to ensure that the browser fetches a new copy of tts_audio.mp3 // otherwise the browser will play the same audio even for a different term var audio = new Audio("snd/tts/tts_audio.mp3?q=" + new Date()); audio.load(); audio.play(); } }
function runAJAX (script, param) { // new AJAX object ajaxReq = new XMLHttpRequest (); ajaxReq.onreadystatechange = function() { if(ajaxReq.readyState == 4 && ajaxReq.status == 200) { return ajaxReq.responseText; }
// set up GET request ajaxReq.open ("GET", "scripts/" + script + "?q=" + param, true);
// send it ajaxReq.send(); } }
tts.php <?php
// the actual tts engine
// require php script holding associative array of phonemes and filenames require_once("phonemes.php" );
// trim $_GET["q"] as needed to get just the term itself $term = trim($_GET ["q"], " \s" );
// regexp to separate the term into necessary phonemes // the regexp below is suitable for Ngwa // you would have to amend it to get the desired result for your language preg_match_all("/\s|[mn]([wy]|\W{0, })|[^-aeiou\s]+|[aeiou][^\w\s']{0,4}/", $term, $result);
// to hold tts_audio.mp3 data $tts_audio = '';
// compare regexp results with phonemes and stitch mp3 file as necessary foreach ($result[0] as $phon) { // check if phoneme exists in array if(array_key_exists($phon, $phonemes)) { if(($mp3 = file_get_contents(PHONEME . $phonemes[$phon])) !== FALSE) $tts_audio = $tts_audio . $mp3; } }
// write to final audio file tts_audio.mp3 if(($check = file_put_contents("../snd/tts/tts_audio.mp3", $tts_audio )) !== FALSE) echo "Done"; else echo "Failed";
?>
phonemes.php <?php // just to hold the array of phonemes cleanly // also define the file path to audio files
// define define("PHONEME", "../snd/phonemes/" );
// associative array of phonemes and filenames $phonemes = [ "a" => "a-high.mp3", ... "gb" => "gb.mp3", ... "z" => "z.mp3" ];
?>
That's it. The site will then speak Ngwa text out loud and do away with the need to have an audio file for each word or entry on the site. Keeping the server safe from being overrun by countless mp3 files. The only mp3 files you will need will be that of the individual phonemes themselves. @ChinenyeN |
Autos › Re: TESTED & TRUSTED.... Cotonuo Cars Delivered By Tadeus by jandukun: 10:20pm On Sep 27, 2016 |
How much will it cost me with full duty paid to buy the toyota avalon 2005 and lexus es300 2003. |
Autos › Re: TESTED & TRUSTED.... Cotonuo Cars Delivered By Tadeus by jandukun: 10:14pm On Sep 27, 2016 |
How much will it cost me with full duty paid to buy the toyota avalon 2004 and lexus es300 2003. |
|
Autos › Re: Cheap Cotonou Car/suv Delivered To Nigeria By Hassan See Pictures by jandukun: 10:12pm On Sep 27, 2016 |
How much will it cost me with full duty paid to buy the toyota avalon 2004 and lexus es300 2003. |
Autos › Re: Cheap Cotonou Car/suv Delivered To Nigeria By Hassan See Pictures by jandukun: 5:52pm On Aug 09, 2016 |
What's the cost of 2007 and 2008 Acura MDX? |
Autos › Re: TESTED & TRUSTED.... Cotonuo Cars Delivered By Tadeus by jandukun: 5:52pm On Aug 09, 2016 |
What's the cost of 2007 and 2008 Acura MDX? |
Autos › Re: Cheap Cotonou Car/suv Delivered To Nigeria By Hassan See Pictures by jandukun: 10:45pm On Aug 06, 2016 |
How much Honda Accord European version 2005, 2006 & 2007 and Acura TSX 2005, 2006 Delivery to Lagos. |
Autos › Re: TESTED & TRUSTED.... Cotonuo Cars Delivered By Tadeus by jandukun: 10:43pm On Aug 06, 2016 |
How much Honda Accord European version 2005, 2006 & 2007 and Acura TSX 2005, 2006 Delivery to Lagos. |
|
|
Autos › Re: Cheap Cotonou Car/suv Delivered To Nigeria By Hassan See Pictures by jandukun: 8:06pm On Jun 16, 2016 |
How much will land a very clean Volvo XC90 2006, 2007 to Lagos,custom duty fully paid. |
Autos › Re: Pick Your Choice Cars From Cotonou At Cheaper Rate, Follow Us To Cotonou Today ! by jandukun: 8:05pm On Jun 16, 2016 |
How much will land a very clean Volvo XC90 2006, 2007 to Lagos,custom duty fully paid. |
Autos › Re: Cheap Cotonou Car/suv Delivered To Nigeria By Hassan See Pictures by jandukun: 4:35pm On May 23, 2016 |
What of Toyota Camry 2009, 2010 LE & SE |
Autos › Re: Cheap Cotonou Car/suv Delivered To Nigeria By Hassan See Pictures by jandukun: 3:52pm On May 23, 2016 |
Hi, how much is Honda CRV 2007, 2008 with original custom duties to Lagos? |
Tech Jobs › Re: URGENT!!! I Need An App Developer That Can Make A Good Music App by jandukun: 7:04am On May 01, 2016 |
Sent you a pm yesterday, pls check and reply |
Tech Jobs › Re: URGENT!!! I Need An App Developer That Can Make A Good Music App by jandukun: 6:26pm On Apr 30, 2016 |
HazzanTazzan: do you have a fuul grasp of what im talking baout here? i dont want someone coming to tell me he will charge me 500k please Hello, i have a full grasp of your app and can build it in 15 days or less, send me a pm and lets do this. cheers |
Autos › Re: Pick Your Choice Cars From Cotonou At Cheaper Rate, Follow Us To Cotonou Today ! by jandukun: 3:06pm On Feb 28, 2016 |
How much will land a very clean nissan primeria 2004, 2005 to Lagos,custom duty fully paid. |
Programming › Re: My New Classic Chemistry Android App by jandukun: 5:31pm On Oct 24, 2015 |
nollyj: SEO means Search Engine Optimization. In my understanding, I focus on targeting a keyword that is related to my app content. I make sure that my app title and description reflect on the keyword.
I also try to get as many back-links as possible.
I also post my new app in my blog and Nairaland. Where do you get back links front, if possible can we see an example? |
Programming › Re: My New Classic Chemistry Android App by jandukun: 12:06pm On Oct 11, 2015 |
nollyj: I basically focus on Google Play SEO and app optimization. For me spending money on advertisement is something that I haven't done since I don't know if a new app will do well.
I also focus on create apps that are rich in content and fulfill a need for the users.
It is also important for us to understand that Google Play is highly competitive and most apps disappear with limited download.
Do let me know if you have more question Can you shed more light on what the "Google Play SEO and app optimization" you mentioned entails? |
Programming › Re: My New Classic Chemistry Android App by jandukun: 12:59am On Oct 11, 2015 |
Nice one bro, am equally a budding android app developer, can you share some tips on App promotions seeing that you're very experienced at getting thousands of downloads on your app in a short space of time?
cc. @nollyj |
Programming › Re: Android Application Developers Directory by jandukun: 9:17am On Sep 23, 2015*. Modified: 9:52pm On Apr 05, 2017 |
Name: Kcee Contact: 070********* (call/whatsapp) Native Android Applications |