RBCSpeach Class for REALbasic line

Few days earlier I showed you how can we create a simple REALbasic computer’s speech synthesizer with Speak Method. Today Premium Members can get for free my RBCSpeach Class that add some bonus features to Speak like convert text file to audio, read text file, save string to Aiff format and stop reading function.

RBCSpeach Class example

RBCSpeach Class is compatible only with Mac OS. Here is example how can you use this Class. Hope you will enjoy it, and thank you one more time for supporting REALbasic City! You can save the audio only to Aiff format, but when it’s done you can for example convert it to MP3 using iTunes.

1
2
3
4
5
6
7
8
9
Dim s As New RBCSpeech
 
s.ConvertTextFileToAudio("Users/qbap/Desktop/text.txt","Users/qbap/Desktop/audio.aiff") //(where the text file is in String,  where save audio file in String) 
 
s.SpeakString ("I like REALbasic City! Please love me") //(some string)
 
s.ReadFile("Users/qbap/Desktop/text.txt") //(where the text file is in String)
 
s.SaveStringToAiff("I like REALbasic City!","Users/qbap/Desktop/audio.aiff") //(some string,  where save audio file)

RBCSpeach stop Method

If you are opening a long text file and you like to Stop reading you can use the RBCSpeach.Stop Method. Here is a example how can you use it:

1
2
3
Dim s As New RBCSpeech
 
s.Stop

Download

If you see this message you probably want access special material for Premium Members (Source Files, Bonus Tutorials, free Classes and More). You can do this by subscribing REALbasic City site for 10 USD (access for 3 months). There is also a option to buy access only to this material. Login or register to get option to buy and support REALbasic City.

Log in

Author: Jakub Pawlak

I'm interested in all. Currently working on the development of TUTSPOLIS and I hope that in near feature the project will be successful.

One Response to “RBCSpeach Class for REALbasic”

  1. Jakub Pawlak says:

    One tip for RBCSpeach owners – you can change the voice and speed in System Preferences -> Speech

Leave a Reply

Copyrights (c) TUTSPOLIS | Powered by Wordpress MU | Inspired at Elegant Themes designed by qbap (HTML5 & CSS3)