Speech Synthesis

Version
2 - 30 Aug 2003
Authors:
Nicholas Christopoulos

Abstract

This paper are a purpose for integrate a speach synthesizer to SB

Introduction

There are several GPL / PD speech synthesizer engines. SB can include one of those engines to produce speech.

Interface

Integrate speach engine to SB.

Dictionaries

OPTION PREDEF SPDICT language-dictionary

This declaration, it must be used to redefine the default phonetic-dictionary. The default, if we can't determinate it from locale, it is the English one.

Words to phonems

retstr = SPGET(lingtext [, dict])

The SPGET function returns the speach pattern that corresponds to lingtext.

Sound phonems

SPOUT text [{;|,} text [...]]

The SPOUT command causes the computer to speak the parameters. The parameters are results of SPGET() function (that means the parameters are phonetic strings).

Its syntax is similar to PRINT command. The ';' separator meaning a comma pause. The ',' separator meaning a period pause.

Speak

SPEAK text [{;|,} text [...]]

The SPEAK command causes the computer to speak the parameters. The parameters will replaced by SPGET() to phonetic-equals strings and then a call to SPOUT will produce the sounds.

Its syntax is similar to PRINT command. The ';' separator meaning a comma pause. The ',' separator meaning a period pause.