Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 22 in printed book and digital formats -- plus a one-year subscription (beginning with 23.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 23.6 ('Using AI to Prototype')
Instant purchase and download via GumRoad!

COLUMN

Let your application speak for you

Teach your applications on Windows and Mac to speak

Issue: 23.6 (November/December 2025)
Author: Stefanie Juchmes-Simonis
Author Bio: Stefanie studied computer science at the university in Bonn. She came in touch with Xojo due to the work of her brother-in-law and got a junior developer position in early 2019 at Monkeybread Software.
Article Description: No description available.
Article Length (in bytes): 10,869
Starting Page Number: 48
Article Number: 23608
Resource File(s):

Download Icon project23608.zip Updated: 2025-11-02 23:04:28

Related Link(s): None

Excerpt of article text...

In this Spotlight, I would like to show you how you can teach your applications on Windows and Mac to speak. This can be particularly helpful for people with limited reading difficulties and visually handicapped users. You can use this to design speech output. The plugin provides you with the functions from the Speech topic to help you do this. In this example, we need to distinguish between an application running on Windows and one running on Mac (see Figure 1).

Our application window has a text area called SpeakText, which will display the text to be read aloud. We also have a combobox listing the individual speakers or languages that can be used for output in this project. There are also two sliders for the speed and volume of the output. Last but not least, we have a button for Windows and a button for Mac to start the output for the respective operating system.

Let's start with an explanation of our Open Event. First, the minimum and maximum values of our sliders are defined. We chose the values 0 and 10 because they are easy to calculate with.

SliderVolume.MaximumValue = 10

SliderVolume.MinimumValue = 0

...End of Excerpt. Please purchase the magazine to read the full article.