Simple Digital clock - Speaking clock

Version 3.1.0.0 (42.9 KB) by Addy
12 and 24 hr digital clock which can say the time every 15 minutes with Cortana voice.
210 Downloads
Updated 10 May 2018

View License

Hello! My name is Addy.
This is my 3rd program done in Matlab.
What inspired me to do this program is, I used to Binge watch TV series, doing other stuffs for long hours and lose track of time. So I did this program to make me do things in time :)
This program is
A Digital clock with 12 and 24 hr format that Says time every 15 minutes with Cortana voice (Microsoft Eva)!!!!
How to make it work:
1) Enable Microsoft Eva tts by running the Registry file attached.
2) Open Addy_Time_and_Digital_clock_v3.m and run the program. (Know that all the other function files and the fig file should also be in the same folder)
3) The clock is in 12 hours by default. To change to 24 hours, just comment the line 136 in the main m file.
4) If you want to change the speak out time (like if you want clock to speak out for every 10 mins) just play with the Addytime function.
5) To change tts voice, see the tts function description and see the list of available voices and update it in the Addytime function.
6) The titlebar can be hidden by clicking the yellow toggle button in the figure.

You can complie it by using application compiler and it can be used as an app without openong matlab.

And kind request the anyone who downloads.. I am new to matlab. So tell me to optmize the code for this program.
Currently after compiling into an app, when I run it, It takes 250-300 mb of ram. I think it is too much for a clock tho.
But if anyone can find a way to optimize for memory, please let me know. I am interested to know that too.

Thanks! Have Fun!!

Credits:
1) Cortana Registry - jpoon
( https://gist.github.com/jpoon/d926243f19642b04f1a6 )
2) Simple Digital clock - Jeremy Chen
( https://www.mathworks.com/matlabcentral/fileexchange/26488-simple-digital-clock )
3) undecorate and redecoratefig - Yair Altman
( https://www.mathworks.com/matlabcentral/fileexchange/50111-undecoratefig-remove-restore-figure-border-and-title-bar )
4) tts - Siyi Deng
( https://www.mathworks.com/matlabcentral/fileexchange/18091-text-to-speech )

Cite As

Addy (2024). Simple Digital clock - Speaking clock (https://www.mathworks.com/matlabcentral/fileexchange/67279-simple-digital-clock-speaking-clock), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Clocks and Timers in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
3.1.0.0

Few optimizations

3.0.0.0