BBC BASIC for Windows
Programming >> Sound, Music and Video >> Simplest SPEAK
http://bb4w.conforums.com/index.cgi?board=multimedia&action=display&num=1434294158

Simplest SPEAK
Post by Lubomyr on Jun 14th, 2015, 3:02pm

Wishing that something as simple as SPEAK("Hello") were possible, and Variable$="Hello" together with Speak(Variable$). Does "SPEAK.BBC" provide the answer--I've seen it alluded to, but can't find a link to it. And I've seen "Speaking the contents of a file" as well as "Outputting speech to a file" in WIKISPACES, but am too unfamiliar with the language to be able to see if the information I am looking for is contained therein.
Re: Simplest SPEAK
Post by rtr2 on Jun 14th, 2015, 5:04pm

on Jun 14th, 2015, 3:02pm, Lubomyr wrote:
Does "SPEAK.BBC" provide the answer

Have you tried it (it's an example program supplied with BB4W in the EXAMPLES\SOUNDS folder)? Using the PROCspeak procedure in that program you should be able to do:

Code:
      PROCspeak("Hello", 0, 0, "") 

which seems to fit the bill.

Richard.
Re: Simplest SPEAK
Post by Lubomyr on Jun 14th, 2015, 5:28pm

When I saw online references to SPEAK.BBC, I made the mistake of imagining that it was to be found online, but understand now that it was included in the downloaded materials.

Thanks very much!