Wednesday, November 4, 2015

Create a Digital Clock that Talks!

http://lazplanet.blogspot.co.id/2013/12/create-digital-clock-that-talks.html

We are going to make a digital clock that has LCD Screen looking digits. Not only that. It can also speak the time!


Clock is an essential part of our daily lives. Wherever the new technology taking us, we're rediscovering the clock but can't avoid it. We now have smartwatches that shows time, takes photos, receives messages and more.

Okey, all those new technology apart, today we'll build a small digital clock that sits on your screen and shows time in an LCD Display-like digits. Sounds difficult but it's not.

For the talking part, we will use TTS (Text to Speech), so no tension there either. If you are interested on how to make the computer speak, check out this tutorial.


So, how can we show LCD looking displays. The answer is there are many digit-looking fonts out there. We can use them. But using those fonts would mean that the font should be installed in the system that will run the program. That seems an extra burden. Especially if you consider cross-platform scenerio.

So I thought of a different approach. I would use an image to store digits. That way it wouldn't need to install the font and it is possible to use hundreds of images of different fonts without installing them in users' computer.......

http://lazplanet.blogspot.co.id/2013/12/create-digital-clock-that-talks.html