A Speaking Clock (1 Viewer)

Status
Not open for further replies.

isladogs

MVP / VIP
Local time
Today, 13:11
Joined
Jan 14, 2017
Messages
18,186
The purpose of this database is to demonstrate the use of Microsoft Text to Speech (SAPI)
For obvious reasons, make sure you have the sound turned up.

As a simple example, I have created a speaking clock.
This has been designed to emulate the BT speaking clock available in the UK.
For example:

"At the third stroke it will be 12 24 and 30 seconds. Beep. Beep. Beep."

The 'beep' sound file is also included in the zip file.
Save to the same folder as the database file

The database opens in a floating window with the Access interface hidden
To view the code, use the shift bypass key to open the database

NOTE:
The text to speech code could easily be used to create voiceover commands as an ease of access feature aimed at users with poor vision

IMPORTANT:
Make sure there is no space in the file path used for this database
This is required for the text to speech feature to work correctly
I'll review that code at a later date to deal with this
 

Attachments

  • SpeakingClock.zip
    80.7 KB · Views: 789
Last edited:

ashleedawg

"Here for a good time"
Local time
Today, 06:11
Joined
Jun 22, 2017
Messages
154
Was sapi_onecore.dll already on your system? I see a potential download site for onecore.dll but not sapi_onecore.dll.


 

isladogs

MVP / VIP
Local time
Today, 13:11
Joined
Jan 14, 2017
Messages
18,186
I've already replied to ashleedawg via a private message but for the benefit of others reading this....

As far as I'm aware, everyone should have the Microsoft Speech Object Library reference as Text to Speech has been built into Windows since XP if not earlier.
Of course it has developed over the years.

If it is marked as MISSING on your computer, go to Windows Control Panel / Settings and make sure that speech recognition is enabled
 
Status
Not open for further replies.

Users who are viewing this thread

Top Bottom