Home

English Text To Speech User`s Manual

image

Contents

1. POBF Z DSR CTS no PIBF Z Active yes Start DA Output Output DAO1 To TTS Main Program fig 2 1 ROM accesses are granted immediately after reset A 23 1 will fluctuate at this time Cache reads are performed so in particular the three low order bits will continuously change Active signals at this time will be as follows A 23 1 especially A 3 1 ROM RD Next the configuration register value will be read and the DRAM used will be set This starts DRAM refresh so the following signals will become active RAS CASO CAS1 Next the SIO drive will be initialized For male phoneme simplex data the mode will be set OKI SCP middle ware English Text To Speech User s Manual the configuration register value will be read again and the interface used will be set Based on these settings the following signals will become active 8 Bit serial interface RTS TXD Micro controller interface POBF PIBF PD However these signals might not be seen as active for data Finally initialization of DA register internal values will begin and DAO1 pin output voltage will become active 1 5Volt Control will then jump to the main routine After this the individual interface will wait for input The above start up sequence needs about 700mSec MSM7630 does not perform self diagnostic as part of its start up process OKI SCP middle ware English Text To Speech User s Manual 3 Text To Speech program specification 3 1 Operating Mod
2. Pitch modification Speed rate modification Modulated sound output 3 2 3 1 Pitch modification This control permits to change the pitch in the text table 3 1 n From 100 low to 100 high The default value is 0 HD Return to default setting This control permits to modify the pitch of the synthetic voice The Control Name value is pitch the Control Information value is surrounded with brackets and ranging from 100 low to 100 high OKI SCP middle ware English Text To Speech User s Manual Example Good morning H 10 mister Lester H 10 3 2 3 2 Speed rate modification This control permits to modify the speech rate of the text table 3 1 1 T n n From 100 slow to O fast male voice 10 female voice The default value is 0 TD Return to default setting This control permits to modify the speech rate of the text The Control Name value is duree the Control Information value is surrounded with brackets and ranging from 100 fast to 100 slow Example Good morning T 30 mister Lester T 30 Dupont 3 2 3 3 Voice volume Specifies the loudness of voice table 3 1 n From 100 min to O max The default value is O PD Return to default setting 3 2 3 4 Pause Control This control allows a pause in the text table 3 1 Code format p1000ms 1000 millisecond pause in the text E p1s 1 second pause in the text 2 p2mn 2 minute pause i
3. Control The diagram below shows a serial port interface example fig 2 1 Be sure that the ports have sufficient drive capability The transmit receive process from the host is as follows Check Status no OK yes Transfer Data Transfer Data when receiving when synthesis termination code reply specified fig 2 2 The RTS pin will output O during reset and immediately after its release When the serial port cannot accept data or in other words when the serial port buffer 1Kbyte has become full the RTS pin output will change to 1 When the serial port can accept data the RTS pin will output O NI OKI SCP middle ware English Text To Speech User s Manual Because RTS is controlled by software tens of clock may pass from output of the stop bit until RTS rises However RTS is set to become invalid when 128 bytes remain in the receive buffer so there will be no worry about overrun There is no standard time interval from the rise of RTS to the fall of the start bit 2 2 2 Micro controller Interface When a micro controller interface is selected by the configuration register when register value is set to 100 the data transmit receive specification is as follows 8 Bit data port PD Status PIBF POBF Control PCS PA PWR PRD table 2 1 PCS PA PWR PRD Operation 1xxx Not operating 0010 PIBF POBF output PD high impedance For example to access from a host CPU connect as shown in
4. NEY ieu 30 4 7 6 Telephone riumbets 5 votre tego vespa A ii 30 4 7 7 Scientific CXPFESSIONS M 30 4 7 8 Combination of digits and others characters eee eee 31 5 User IexIC ONS oio aca YR CL NE YNGANU RE CER NU NY Er GA Tn REA CREAR On iR 32 5 1 Exceptions TACO eine cates neck atte betae t ketch hie tise tt intet Od RO e LEE 32 5 1 1 Using the IexiGOL scie Lote ate tero a Aia 32 5 1 2 Adding an entry to the lexicon nile eee eee ee eee 32 5 2 Abbreviations Te XIGOLTS acci E MR dL OY TNG o 33 5 2 1 USING the Le Um FFF CH NEF FRYN FFF FFR REN EF 33 5 2 2 Adding an entry to the lexicon HIG aaa cece cece nrnna RA Taa E 944A TZ aeiy IANT 334 Ta Oaia 33 6 APPENDIX A List of ASCII codes translated eese 35 6 1 7 bits ASCII eln fc Lc cs Co ce 35 6 2 VE Dis ASCII characters uento cie petant Iaceo etu teneat Y fuut Sant oet ite reped 38 Al OKI SCP middle ware English Text To Speech User s Manual 1 Introduction The English Text To Speech system correctly synthesises the majority of English texts It is sometimes necessary however to modify the text to make it compatible with the constraints given in the following paragraphs before submitting it to the Text To Speech process al OKI SCP middle ware English Text To Speech User s Manual 2 User interface description Da
5. between character transmissions When the interval timer times out about one second MSM7630 will transfer to text to speech synthesis mode It will not inform the host OKI SCP middle ware English Text To Speech User s Manual HOST SCP Specify user dictionary read mode User dictionary read mode Dictionary Data ACK 06H NACK 15H Text to Speech synthesis mode fig 3 1 Note The BCC code 1 byte is for the exclusive OR of all data in the dictionary managemant table and the dictionary Data Length Dictionary Management Table and Dictionary BCC code note fig 3 2 3 1 3 Hardware sound output busy signal Busy signal should be given while sound output Busy signal is active low level OKI SCP middle ware English Text To Speech User s Manual MSM7630 UPORT IS 50mS fig 3 1 OKI SCP middle ware English Text To Speech User s Manual 3 2 Control Codes Specifications Control codes are sent by the host to control MSM7630 s speech synthesis operations before starting Some are sent alone and some are sent inserted anywhere between sentences or words in the text 3 2 1 Level1 Control Code Level 1 control codes are output before the text file to set the operating state of MSM7630 Text characters are specified in half size capitals to follow the escape code 1BH Lists the Level 1 control code table 3 1 Operating mode Synthesis termination code a Code format Specifies the code forma
6. exception field from the field of its pronunciation The field between the characters lt and gt is the pronunciation field The characters indicate a word boundary in the exception pronunciation field The characters i are optional and permit to ignore case Example Beginning of the file Toulouse lt toollooze gt i ELAN Informatique lt elan informatic gt i french company End of the file Note 5 2 Abbreviations lexicon After modifications the exception lexicon must be reloaded in memory 5 2 1 Using the lexicon If the abbreviation is written in the left column of the file it will be translated as indicated in the right column The translation writing of abbreviations uses a pseudo orthographic method For example the translation of the abbreviation U S A can be written United States of America 5 2 2 Adding an entry to the lexicon file With a text editor the user can add a entry to the abbreviation lexicon The abbreviation lexicon is a file called ABBREVIA RGS in the installation directory The maximum length of the lexicon depends on the available RAM resources An abbreviation and its translation must be written on one line less than 256 characters long It is not necessary to respect the alphabetic order Finally the look up words are case sensitive 10 Depending on the platform OKI SCP middle ware English Text To Speech User s Manual Key characters list T
7. 25 or 1 25 will be pronounced one pound twenty five 1 25 or 1 25 or 1 25 will be pronounced one dollar twenty five 4 7 6 Telephone numbers Examples 535 39 35 will be pronounced quinientos treinta y cinco pause treinta y nueve pause treinta y cinco 91 535 39 35 and 91 535 39 35 will be pronounced noventa y uno pause quinientos treinta y cinco pause treinta y nueve pause treinta y cinco 4 7 7 Scientific expressions The scientific expressions with the characters V are processed only if the controls Vs is activated 8 See chapter Control code specification OKI SCP middle ware English Text To Speech User s Manual Examples 104 5 15 will be pronounced ten plus five equals fifteen 10 5 5 will be pronounced ten minus five equals five 10 5 50 will be pronounced ten multiplied by five equals fifty 10 5 2 will be pronounced ten divided by five equals two 4 7 8 Combination of digits and others characters Examples 02 123454 will be pronounced oh two one two three four five four 12 2345 456 will be pronounced one two two three four five four five six ab12xy will be pronounced a b one two x y OKI SCP middle ware English Text To Speech User s Manual 5 User lexicons 5 1 Exceptions lexicon The characters in the user lexicon files must be coded in IBM extended ASCII 5 1 1 Using the lexicon The exception lexicon permits the user to mod
8. 3 2 4 Commarid SpecificatiOr 235 cie lianas 22 4 Rulesto be applied rerit pacti LWY RAN caca Ema WAN DWRW YRR ua oae daa d ae 24 1 cT aiae state ier tcn taco crac ute Mesue A a Me IM a 24 4 1 1 Number of characters oane erret ie ei ie Pelee 24 4 1 2 Number of WOrds einem ine c tede codec crie ine Ydw YTT eL cave Ine dU ao Vx Lay stv VU lee CU Yo diy det 24 227 AN YO ee A Gu a eg T NN drn ne ne UE ne ey renee ap nl ee 24 S e A tome ctis so ite EDU Ne I eters LL 25 Z4 AS Nes oe dto cett I ARES M EE 25 4 4 1 between UG P x 25 4 4 2 between digit Zero eee eit ene ce mee reete etu he Ende cea e Er tatty 26 2357 SEUnOIBallolbus o Tn rore noe e S Dog doe E ovs ed Sd 0 NND cU 26 4 5 1 List of pronunciations recognised by the system and their ehiecie eee eee ee 26 4 5 2 Automatic breaks ien bte ti a tuse Ada ies 27 4 5 3 Ul FE 27 4 6 Acronyms and abbreviations eia ects i e Y GN O io Y O etc 27 4 6 1 List of acronyms and abbreviations of the Savate e e e e e 27 4 6 2 List of acronyms and abbreviations of the US OT e e ee e menn 27 Gr ANUS AU OU ay Ere de o eo tc obedit DU e Moda 28 4 7 1 Numbers mee nonu 28 4 7 2 Hil TA EF 29 4 7 3 IBN AREE 29 4 7 4 Pccm 29 OKI SCP middle ware English Text To Speech User s Manual 4 7 5 CUNO
9. D 04H will be recognized as the end of text note 2 ESC ED Return to default setting Note 1 fig 3 2 shows the format of synthesis termination codes Note 2 The response reguest code is appended after the text s terminating character 3 2 2 Level 2 Control Code Level 2 control codes not only set the operating state prior to sending a text but can also used between sentences in a text They are specified with characters and affect text following the control code table 3 1 Level 2 Control Code numeric form pronunciation These controls allow the numeric forms to be pronounced in several ways depending on the context The default mode is usual There are 6 control codes usual scientific commercial date telephone roman OKI SCP middle ware English Text To Speech User s Manual table 3 2 Control Code INFORMATION VALUE u To restore the default mode No information value s To pronounce scientific expressions No information value c To pronounce Commercial No information value expressions t To pronounce telephone numbers No information value To pronounce roman numbers to enable and to disable 3 2 2 1 Usual pronunciation u This control restores the default mode The Control Name value is u there is no Control Information value Example 3 2 2 2 Scientific pronunciation s This control permits to pronounce the scientific expressions with the characters 1 Th
10. OKI SCP middle ware English Text To Speech User s Manual OKI OKI middle ware for Speech Control Processor English Text To Speech User s Manual 31 March 2000 Version 1 2 OKI SCP middle ware English Text To Speech User s Manual 1 31 Mar 2000 modify of speed rate range NI OKI SCP middle ware English Text To Speech User s Manual n Ta cs Te ee rrr es AAN 5 2 User interface description nue Wir ie a dd AR 6 2 1 Reading the configuration register seene 6 2 2 Individual Interface descripta 6 2 2 1 Sonal POr interface coii iacorsequicndassescendiatacwsdegaeensacnsterdacande necks COLERA ER aniones 7 2 2 2 Micro controller TTG nuns H aa 2 Ra E E AA EAT K Eaa NE E 02 8 2 2 3 MSM7630 Start up SCQUENGCE 0 a Sa TL cece eadair na ittia aie n nennen nnns ern nennen 9 9 3 Text To Speech program specification ceres eee en enne tnnt 12 93 Operating MO dG 3 Scene ua Ni G0 Nacsa aces testor es boris hope tin ar 12 3 1 1 Text To Speech synthesis MOda eea AAE A aAa KAE hne en ehh nnns a h eterne 13 3 1 2 Exception Dictionary Read Mode sss men mee nme n nhe nre nnns 14 3 1 3 Hardware sound output busy signal sse ee eee eee 15 3 2 Control Codes Specifications 2 ee eeceeeeeccceeeeeeceseeeeeceseeeesceseeecueeseeaceaeseeaeeaneesseeaeeeseeteeeseates 17 3 2 1 Level Control Code circo 17 3 2 2 Level 2 Control Coda nres ee ee te Gs 18 3 2 3 Level 3 COntrol Coda ici lada 20
11. ation Punctuation plays an important part in the texts analysed by the system It is necessary to put a space character just after the punctuation mark 4 5 1 List of pronunciations recognised by the system and their effects table 4 1 PUNCTUATION INTONATION PAUSE 7 rising small ENT ENIM rising small See chapter Control code specification OKI SCP middle ware English Text To Speech User s Manual 4 5 2 Automatic breaks If a sentence contains too many words or too many characters without punctuation mark the system automatically inserts a break 4 5 3 Full stop A full stop is always considered as a punctuation mark if it is not proceeded by an abbreviation or by a number 4 6 Acronyms and abbreviations 4 6 1 List of acronyms and abbreviations of the system The system does not deal with acronyms and abbreviations It will try to pronounce the acronym or the abbreviation as a normal word 4 6 2 List of acronyms and abbreviations of the user List of abbreviations See the ABREVIAC RGS ASCII file Adding or modifying an abbreviation See the chapter Abbreviations lexicon Note At the end of the sentence the last point must be separated from the abbreviation by a space character 6 See chapter Sentence 7 See chapter Numeration OKI SCP middle ware English Text To Speech User s Manual 4 7 Numeration 4 71 Numbers e Integers Examples 12 will be pronounced minus twelve 12 will
12. be pronounced twelve 123 343 or 123343 will be pronounced one hundred and twenty three thousand three hundred and forthy three 1 000 000 000 will be pronounced one thousand million 123 78 890 556 will not be processed as an integer because the groups separated by a comma are not composed of 3 digits It will be pronounced digit per digit with a break at the comma e Decimal numbers There are correct if there is no space character between the point and the numbers for instance 36 55 is correct but 36 55 and 36 55 are not Examples 4 56 will be pronounced four point five six 8 4 will be pronounced minus three point four 456 or 0 456 will be pronounced oh point four five six 1 234 456 123 will be pronounced one million two hundred and thirty four thousand four hundred and fifty six point one two three 1912 123 will be pronounced one thousand nine hundred and twelve pause one hundred and twenty three e Ordinal numbers An ordinal number is a number terminated by 1st 2nd 3rd or 4 5 6 7 8 9 O th OKI SCP middle ware English Text To Speech User s Manual Examples 21st or 21 st will be pronounced twenty first 22nd or 22 nd will be pronounced twenty second 23rd or 23 rd will be pronounced twenty third 24th or 24 th will be pronounced twenty forth 4 72 Time Examples 5h or 5h00 or 5 00 will be pronounced five o clock 5h46 or 5 46 w
13. e MSM7630 has the operating modes shown in the table below The operating mode is selected by an operating mode specification refer to the control code command listing in Appendix Table The default mode is text to speech synthesis mode When in this mode input sentences can be output as synthesized speech table 3 1 Function Text To Speech synthesis mode Exception dictionary read mode Control codes and commands are provided to control MSM7630 operation The validity of control codes and commands differs depending on the operating mode The table below gives a summary of control codes and commands table 3 2 Category Function Level1 control Escape codes Valid except in exception dictionary read mode These codes codes primarily set the initial operating state of MSM7630 Level2 control Text related Valid in text to speech synthesis mode These code primarily codes control how sentences are read Level3 control Text related Valid except in exception dictionary read mode These codes codes primarily control speech guality Commands Control codes Valid in text to speech synthesis mode Commands control the speech synthesis seguence OKI SCP middle ware English Text To Speech User s Manual 3 1 1 Text To Speech synthesis mode IN this mode sentences are input and then speech synthesised MSM7630 detects a termination in the input text by a termination character and starts the speech synthesizing operation Returni
14. e Control Name value is s there is no Control Information value To disable this control it is necessary to use another control as usual Example s 12 13 14 39 u will be pronounced twelve plus thirteen plus fourteen equals thirty nine 3 2 2 3 Commercial pronunciation c This control is not supported by this version 3 2 2 4 Pronunciation of dates d This control is not supported by this version 3 2 2 5 Pronunciation of telephone numbers t This control permits to pronounce some British English telephone numbers like 0 6789 345677 The Control Name value is t there is no Control Information value OKI SCP middle ware English Text To Speech User s Manual Example t 0 6789 345677 u will be pronounced oh six seven eight nine three four five six seven seven 3 2 2 0 Pronunciation of roman numbers R This control permits to pronounce the roman numbers The roman numbers are composed with the capital letters I V X L C D M The Control Name value is R the Control Information value is to enable and to disable The control usual also permits to disable it Example R XI R will be pronounced eleven 3 2 3 Level 3 Control Code Level 3 control codes can be inserted anywhere between words in the text not just between sentence They primarily voice quality enabling fine control of voice quality for each word table 3 1 Level 3 Control Code
15. e a hyphenated word or to apply liaisons between the two words The presence of a dash between two digits is used to recognise a scientific expression The correct use of the dash is therefore very important 4 4 1 between words e Hyphen When the dash is directly connected to the words it is recognized as the hyphen in a hyphenated word Example anti nuclear will be pronounced anti nuclear When the dash is directly connected to the first word and just before a carriage return it is used to apply a liaison between the two words Example Between lines demons tration will be pronounced demonstration e Ignored When the dash is preceded or followed by a space character it is ignored and translated as a space character 4 Depending on the platform OKI SCP middle ware English Text To Speech User s Manual Example anti nuclear will be pronounced anti nuclear 4 4 2 between digits When the dash is preceded by a space character and directly connected to the second digit it is pronounced minus In all the other cases it is ignored and translated as a space character Examples 84 35 will be pronounced thirty four minus thirty five 34 35 will be pronounced three four thirty five 84 35 will be pronounced thirty four thirty five 34 35 will be pronounced three four three five In this last example the dash will be pronounced minus if the control s is activated 4 5 Punctu
16. he characters indicate a comment which stop at the end of the line The space character or the tabulation separates the abbreviation field from the field of its translation The character indicates a word boundary in the abbreviation translation field Example Beginning of the file G B Great Britain U S A United States of America End of the file Note After modifications the abbreviation lexicon must be reloaded in memory OKI SCP middle ware English Text To Speech User s Manual 6 APPENDIX A List of ASCII codes translated 6 1 7 bits ASCII characters o em Wd s om mod o H separatoroword s om Reed bom e 82 eparatorofwed Lo AX 23 4I exclamation point mark pause m med NI 385 sgnlddar E AAA zz E lt lt A punctuation pause or separator of phone number punctuation pause or E s of phone number sign estrella estrella Y punctuation pause or decimal comma coma punctuation pause or hyphen or sign menos OKI SCP middle ware English Text To Speech User s Manual 1 emm date separation 48 0 digit zero time separation OKI SCP middle ware English Text To Speech User s Manual w ea ac Gebr O wg R Rete S T s OKI SCP middle ware English Text To Speech User s Manual 126 se ignored 6 2 8 bits ASCII characte
17. ify the pronunciation of a word or a group of consecutive words Some English or foreign words which are badly pronounced in accordance with the basic rules for English pronunciation can be added in the exception lexicon The pronunciation writing uses a pseudo orthographic method it consists of writing the pronunciation with English alphabetical codes For example the pronunciation of the French word Toulouse can be written toollooze 5 1 2 Adding an entry to the lexicon file With a text editor the user can add an entry to the exception lexicon The exception lexicon is a file called USERENG EXC in the installation directory The maximum length of the lexicon depends on the available RAM resources An exception and its pronunciation must be written on one line less than 256 characters long An exception can contain five words and it is necessary to write the same number of words in the exception field than in the pronunciation field Writing punctuation marks in the exception field is forbidden It is therefore impossible to add an abbreviation or an acronym in the exception lexicon It is not necessary to respect the alphabetic order Finally the look up words are case sensitive unless the option i is specified Depending on the platform OKI SCP middle ware English Text To Speech User s Manual Key characters list The characters indicate a comment which stop at the end of the line The character separates the
18. ill be pronounced five forty six 5h15 or 5 15 will be pronounced a quarter past five 5h30 or 5 30 will be pronounced half past five 5h45 or 5 45 will be pronounced a quarter to six 23h45 or 11 45 p m will be pronounced a guarter to midnight 4 7 3 Duration Examples 5h45mn will be pronounced five hours forty five minutes 1h1mn will be pronounced one hour one minute 4 7 4 Date In British English the date format is as follow three or two numbers separated by points or slashes OKI SCP middle ware English Text To Speech User s Manual Examples of British English dates 16 03 1994 or 16 3 1994 or 16 03 1994 or 16 3 1994 will be pronounced the sixteenth of March nineteen ninety four 16 03 94 will be pronounced the sixteenth of March ninety four 16 03 will be pronounced the sixteenth of March 45 09 1989 will not be processed as a date because 45 gt 31 and will be pronounced four five oh nine one nine eight nine Examples of American English dates 03 16 1994 or 3 16 1994 or 03 16 1994 or 3 16 1994 will be pronounced the sixteenth of March nineteen ninety four 03 16 94 will be pronounced the sixteenth of March ninety four 03 16 will be pronounced the sixteenth of March 09 45 1989 will not be processed as a date because 45 gt 31 and will be pronounced four five oh nine one nine eight nine 4 7 5 Currency Examples 1 25 or 1
19. n the text OKI SCP middle ware English Text To Speech User s Manual This control allows a pause in the text The Control Name is pause the Control Information is a duration either in millisecond or in second or in minute surrounded with brackets Example Good morning p1000ms Sir Good morning p1s Sir Good morning p2mn Sir 3 2 3 5 Modulated sound output Output modulated sounds table 3 1 oemi ox OS 1 Gg IH sinewave 3 ete Tos sine wave B3 Chime 1 short long B4 Chime 2 rising tone short short short long B5 Chime 3 falling tone short short short long 3 2 4 Command Specification Commands are interrupting processes that are completely asynchronous with MSM7630 s internal processes Synthesis Stop pause and restart are provided by commands Commands are invalid in text to speech synthesis used primarily to control the sequence of speech synthesis Commands are allocated to control codes below 0x20 a Stop Stops the current text to speech synthesis process table 3 1 C 03H Stop the current Text to Speech synthesis process The stop command causes MSM7630 to discard all text captured so far during synthesis including speech synthesis parameters MSM7630 will then return to an input wait state OKI SCP middle ware English Text To Speech User s Manual 3 2 4 1 Initialize Stops processing of the current operating mode Returns all Level 1
20. ng synthesis termination code HOST SCP Specify synthesis termination codes to be returned Speech synthesis Synthesis termination code Speech synthesis Synthesis termination code Specify no synthesis termination codes to be returned Speech synthesis fig 3 1 In the text to speech synthesis process MSM7630 normally just synthesizes speech from accepted test and does not return anything so a host cannot inspect MSM7630 software status For these case MSM7630 can be made to return a synthesis termination code each time synthesis processing of s sentence completes each time the synthesized sound is output by specifying that a synthesis termination code is to be returned refer to Control Codes Commands 1 Level 1 When a synthesis termination code has been specified to be returned only the response reguest code D 04H not the termination characters will be recognized as a terminator The host appends the response reguest code D 04H to each sentence of text and sends the sentence to MSM7630 The host then must not send further text or Level 1 control codes until MSM7630 returns the synthesis termination code MSM7630 will return the synthesis termination code when output of synthesized sound ends After the synthesis termination code has been returned the host can immediately send the next text Fig 3 1 shows the seguence when return of synthesis termination codes has been specified and fig 3 2 shows the format of
21. nored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 52 B U ignored 3 ignored OKI SCP middle ware English Text To Speech User s Manual oa deed pb goed les
22. rs rE gt o moen code Character translated by Character translated by S 1 f i e WE 144 ignored i ignored m OKI SCP middle ware English Text To Speech User s Manual rere A mee gau 2000 mem wee e wee wee o wee rones wee wem x wee mee mee oe ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored A HIE reee Seber ignored Y ignored ignored ignored ignored ignored ignored OKI SCP middle ware English Text To Speech User s Manual S o mee ga o mee wes wee Tama Taa gae gwe ga gwe mew go S S oo mee x mee ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored o ignored ignored ignored ignored X ignored ignored O ignored N ignored ignored ignored ignored ignored ignored ignored ignored ignored ignored OKI SCP middle ware English Text To Speech User s Manual s 3 j 3 l ignored ignored ignored ig
23. t of input text The word dos refers to IBM extended characters table 3 1 oemi owm 3 2 1 1 Operating mode specification Specifies the MSM7630 s operating mode table 3 1 Code format 1 ESC MO Text to Speech synthesis mode default OKI SCP middle ware English Text To Speech User s Manual ESCM ESCM ESC M3 Exception dictionary read mode 3 2 1 2 Synthesis termination codes returned not returned This feature specifies whether or not a synthesis termination code is to be returned after synthesis ends for each sentence Since MSM7630 normally speech synthesizes the text it receives without returning anything the host cannot inspect its status Therefore while the host shows text one character at a time on its display and sends the text to the MSM7630 for speech synthesis processing the display and synthesized sounds may not be synchronized since there is a process delay from text input to synthesis start Synthesis termination codes are used to synchronize the host and MSM7630 processes table 3 1 Code format 1 ESC EO Do not return synthesis termination codes default note 1 The terminating character will be recognized as the end of text If text analysis is not possible then the portion of text that cannot be analyzed will be skipped but the speech synthesis process will be performed 2 ESC E1 Return synthesis termination code Instead of a terminating character only the response request code
24. ta transmission receipt between MSM7630 and the host processor is called the user interface Section of interface type is determined by the settings of the configuration register explained below Data means text data dictionary data and control codes 2 1 Reading the configuration register When MSM7630 starts up it reads external configuration register values and makes user interface and other environment settings The user interface to be used is determined by the configuration register value see Therefore the serial port and parallel port cannot be used in parallel table 2 1 Register Value interface 000 2400bps serial port 001 4800bps serial port 010 9600bps serial port 011 19200bps serial port 100 Micro controller interface The configuration register is connected to pins D 26 24 Pull up 10K register gives register value 1 also Pull down 10K register gives value 0 when the bus capacitance is 100pF Determine the value of each register so that the bus will stabilize within 18micro second 2 2 Individual Interface description o OKI SCP middle ware English Text To Speech User s Manual 2 2 1 Serial port interface When a serial port interface is selected by the configuration register when register value is set to 000 001 010 or 011 the data transmit receive specification is as follows Data Format 8bit no parity 1stop bit Transfer Rate Selectable from 2400 4800 9600 or 19200bps Busy Control RTS
25. the falling diagram fig 2 1 In the above case PIBF write buffer bit and POBF read buffer bit are connected wire OR to data port bits 7 and O respectively so the relation between address status and data is as follows o OKI SCP middle ware English Text To Speech User s Manual Address Data 8bit XXX0 PIBF don t care POBF xxx1 parallel data fig 2 2 The data transfer process is as follows The xxx indicates a MSM7630 parallel port address Read xxx0 Address Read xxx0 Address Status Status Status Check no Port Busy Port Busy Bito 1 PIBF 1 yes a o POBF 0 yes ECHO Write xxx1 Address Data Write xxx1 Address Data when receiving when synthesis termination code reply specified fig 2 3 For a parallel port when a synthesis termination code replay is specified the termination code might be missed unless the port is polled until a sentence has been transferred and the termination code accepted 2 2 3 MSM7630 Start up Sequence MSM7630 operates under the following sequence when reset is applied Make reference to the flow chart when designing a text to speech synthesiser device that uses MSM7630 OKI SCP middle ware English Text To Speech User s Manual Reset Applied Read Configuration Decide start program Initialize Memory SIO Driver TMR Read Configuration Status Check MH Initialize Open PIO Initialize Open SIO Micro controller 8bit serial
26. the synthesis termination code OKI SCP middle ware English Text To Speech User s Manual 74 0 Error location is 2 Byte binary data Error Location FFFFH normal termination not equal FFFFH indicates location where text analysis failed as number of bytes from start of text or from Error Code previous D Error code is data that indocates the coause of the error It will be FFFFH for normal termination fig 3 2 3 1 2 Exception Dictionary Read Mode In this mode an exception dictionary created by a utility that runs on the host is downloaded into the devices An exception dictionary is not appended to the previously sent user dictionary but entirely overwrites it An exception dictionary that has been sent cannot then be read 3 1 2 1 Dictionary transfer procedure for serial and microcontroller interfaces After the host has specified exception dictionary read mode refer to Control Codes Commands 1 Level 1 it will receive an ACK 06H code from MSM7630 and then will send the exception dictionary After MSM7630 receives the exception dictionary it performs a BCC check and based on the result sends a termination response of ACK 06H for normal termination or NACK 15H for abnormal termination After it sends the termination response MSM7630 will automatically transfer to its default operating mode text to speech synthesis mode 3 1 2 2 Time out In exception dictionary read mode MSM7630 will monitor the time interval
27. to 3 Code settings including mode specification to their defaults table 3 1 R 12H Stop processing of the current operating mode OKI SCP middle ware English Text To Speech User s Manual 4 Rules to be applied 4 1 Sentence 4 1 1 Number of characters A sentence contains less than 400 characters including control codes If a sentence contains more than 400 characters without puntuation mark it is truncated between two words to produce two or several sentences which will be less than 400 characters long 4 1 2 Number of words A sentence contains less than 40 words control codes If a sentence contains more than 40 words without punctuation mark it is truncated between two words to produce two or several sentences which will be less than 40 words long 4 2 Word A word contains less than 35 characters Longer words will be truncated after the 35th character 1 See chapter Control code specification 2 Overflow may be caused by the translation of numbers and acronyms For example the number 033544628 which has 9 characters will have 46 characters after translation 3 See chapter Control code specification OKI SCP middle ware English Text To Speech User s Manual 4 3 Character A character must be coded in IBM extended ASCII or in ISO 8859 14 Refer to appendix A for the translation of ASCII codes recognized by the system 4 4 Dash The presence of a dash between two words is used by the system to recognis

Download Pdf Manuals

image

Related Search

Related Contents

BA_MAZ_010_06_00_4spr.p65 Kopie  TLZ11  SAMSUNG  Description de fonctionnement Régulateur pH/mV  Tubing Cutters for 1.660 in.  PolyD - User`s Manual  User Manual  INSTRUCTIONS  Bosch 2609256243  Chamberlain 349544 Garage Door Opener User Manual  

Copyright © All rights reserved.
Failed to retrieve file