Home
German Text To Speech Ver 1.0 User`s Manual
Contents
1. is always considered as a punctuation mark if it is not preceded by an abbreviation or by a number 4 6 Acronyms and abbreviations 4 6 1 Acronyms The system does not deal with acronyms It will try to pronounce the acronym as a normal word 10See chapter Sentence 11 See chapter Ordinal numbers OKI SCP middle ware German Text To Speech User s Manual 4 6 2 Abbreviations List of abbreviations See the ABREVIAT RGS ASCII file Adding or modifying an abbreviation See the chapter Abbreviations lexicon Note At the end of the sentence if the last point is a full stop it must be separated from the abbreviation by a space character 4 7 Numeration 4 7 1 Numbers e Integers Examples 12 will be pronounced minus zw lf 123343 or 123 343 will be pronounced 123 Tausend 343 2 1912 will be pronounced eintausendneunhundertzw lf 123 456 567 678 678 will be pronounced 123 456 567 678 678 123 78 890 556 will not be processed as an integer because the groups separated by are not composed of 3 digits It will be pronounced digit per digit 012 will be pronounced null eins zwei Remark It is possible to pronounce integers digit per digit using the control t 3 12 The full stop can be used to separate groups of 3 digits in large numbers 13 See chapter Switches OKI SCP middle ware German Text To Speech User s Manual e Decimal numbers They are correct if there is
2. pen Gsmalleter o gt meng smalletter wora smalletter wora i sasa y small letter O capital letter OKI SCP middle ware German Text To Speech User s Manual Decimal ASCII IBM extended ISO 8859 1 code Character translated by Character translated by C on p ce posi past ignoro wes LL nes Y ignored e re ERR west men OKI SCP middle ware German Text To Speech User s Manual Decimal ASCII IBM extended Recognised as ISO 8859 1 Recognised as code Character translated by Character translated by ignored capital letter s i ignored i small letter i 7 ignored x lt Taa i o 199 ignored P ignored H ignored x x small letter LJ ee OKI SCP middle ware German Text To Speech User s Manual code Character translated by Character translated by U capital letter U capital letter U capital letter i T B Y capital letter ignored ignored German sz o ignored a small letter a ee Se German sz a small letter a a small letter a small letter o small letter small letter s a small letter a ignored I B f 2 U ignored small letter e i small letter e lt ignored amp small letter e small letter i i small letter i small letter i n small letter n small letter o 9
3. 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 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 HOST SCP Specify user dictionary read mode User dictionary read mode Dictionary Data BCC check ACK 06H NACK 15H Text to Speech synthesis mode Figure 3 3 OKI SCP middle ware German Text To Speech User s Manual Note The BCC code 1 byte is for the exclusive OR of all data in the dictionary management table and the dictionary Data Length Dictionary Management Table and Dictionary BCC code note Figure 3 4 3 1 3 Hardware sound output busy signal Busy signal should be given while sound output Busy signal is active low level MSM7630 UPORT 50mS DAO1 Figure 3 5 OKI SCP middle ware German Text To Speech User s Manual 3 2 Control Codes Specifications
4. file Abb ab_bildung Hbf H aupt bahn hof ISDN ih_ess dee enn Mme mad amm End of file Remark After modifications the abbreviations lexicon file must be reloaded in the memory OKI SCP middle ware German Text To Speech User s Manual 6 APPENDIX A List of ALLVOC phonetic codes and IPA symbols 6 1 Vowels DTT I N see e er een ae te m Set Tomate OKI SCP middle ware German Text To Speech User s Manual 6 2 Nasal vowels ALLVOC Phonetic Code IPA Symbol an Restaurant a gt e 6 3 Diphthongs vowel combinations o ar dell risse 6 4 Glottals ALLVOC Phonetic Code IPA Symbol vowel code vowel code E I O RO I OKI SCP middle ware German Text To Speech User s Manual 6 5 Semi consonants ALLVOC Phonetic Code IPA Symbol Lage E 6 6 Consonants OKI SCP middle ware German Text To Speech User s Manual 6 7 Affricate consonants ALLVOC Phonetic Code IPA Symbol ts 6 8 Syllabic consonants ALLVOC Phonetic Code IPA Symbol 6 9 Stress ALLVOC Phonetic Code IPA Symbol JIL seen OKI SCP middle ware German Text To Speech User s Manual 7 APPENDIX B List of ASCII codes translated 7 1 7 bits ASCII characters Decimal ASCII code Character Recognised as translated by NUL A mme O A A A SOH marker exclamation point mark pause HT J LF M CR D punctuation pause or se
5. no space character between the and the numbers for instance 36 55 is correct but 36 55 is not Examples 4 56 will be pronounced 4 komma 56 3 4 will be pronounced minus drei komma vier 0 456 will be pronounced null komma 456 1 234 456 123 will be pronounced 7 Million 234 Tausend 456 komma einhundertdreinundzwanzig 1912 123 will be pronounced eintausendneunhundertzw lf pause 123 e Ordinal numbers An ordinal number is a number terminated by a point or by er Examples 20 will be pronounced zwanzigsten 40er will be pronounced vierziger Remark At the end of the sentence if the last point is a full stop it must be separated from the number by a space blank character 4 7 2 Time Examples 5h 5 h 5Uhr and 5 Uhr will be pronounced f nf Uhr 5 45 5h45 and 5 Uhr 45 will be pronounced f nf Uhr f nfundvierzig 5 45 Uhr 5 45Uhr 5 45 h and 5 45h will be pronounced f nf Uhr f nfundvierzig 5 45 Uhr and 5 45 h will be pronounced f nf Uhr f nfundvierzig OKI SCP middle ware German Text To Speech User s Manual 4 7 3 Date The date format is as follow three numbers separated by points or slashes Examples 16 03 1994 and 16 03 1994 will be pronounced 16er pause 3er pause 1994 16 03 94 and 16 03 94 will be pronounced 16er pause 3er pause 94 45 9 1989 will not be processed as a date because 45 gt 31 and wil
6. only maximum 256 characters One exception can consist of one word or several consecutive words maximum 5 words It is necessary to put the same number of pronunciation words than of exception words Using punctuation marks in an exception is forbidden Therefore it is impossible to write abbreviations in this file It is not necessary to respect the alphabetic order The look up words are case sensitive But if you add the option i the look up words are not case sensitive Key characters list The character indicates the end of the exception The codes between lt and gt indicate orthographic codes The codes between and indicate phonetic codes The codes between and indicate the word categories optional The two characters indicate phonetic word boundaries The two characters indicate comments The two characters i are optional and indicate to ignore case Example Beginning of file Fotoladen f o t 0 1 A A d N X i ungehalten U n g h A 1 t N A ASCII Files HA s k i 4HFf AI l z N X ELAN informatique e l an en f O r m A t i k i French Company Clinton lt Clington gt N i End of file Remark After modifications the exceptions lexicon file must be reloaded in the memory 19 Depending on the platform OKI SCP middle ware German Text To Speech User s Manual 5 1 3 Correspondence between German phonetic codes and IPA sym
7. pause like a comma Example Mein Name hallt von kriegerischen Echos der Satz stammt von Herrn Ferri e Hyphen The hyphen is correct if directly connected to the first part of the word and just before a carriage return 8 Depending on the platform OKI SCP middle ware German Text To Speech User s Manual Example Between lines demons tration e Ignored When the dash is directly connected to the words it is ignored and translated like a space character Example Baby Haut will be pronounced Baby Haut 4 4 2 Between digits The dash between two digits is pronounced strich when the dash is directly connected to the first digit Example 34 35 will be pronounced drei vier strich drei f nf 34 35 will be pronounced vierunddreissig pause f nfunddreissig The dash will be pronounced Minus with the control s 4 5 Punctuation 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 9 See chapter Switches OKI SCP middle ware German Text To Speech User s Manual 4 5 1 List of pronunciations recognised by the system and their effects Table 4 1 hg ae age tg rg ea Se Ca se E dee e n O fa A di lt gt 4 5 2 Automatic breaks If a sentence contains too many words or too many characters without punctuation the system automatically inserts a full stop 0 4 5 3 Full stop A
8. 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 Levelli 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 3 Level 1 Control Code 1 Code format Synthesis termination code 3 2 1 1 Code format Specifies the code format of input text The word dos refers to IBM extended characters Table 3 4 Code format Desen ESC CO IBM dos default ESC C1 ISO 8859 1 2 ESC CD Return to default OKI SCP middle ware German Text To Speech User s Manual 3 2 1 2 Operating mode specification Specifies the MSM7630 s operating mode Table 3 5 EEE ESC MO Text to Speech synthesis mode default ESC M1 Phonetic to Speech synthesis mode ESC M2 ESC M3 Exception dictionary read mode 3 2 1 3 Phonetic to Speech synthesis mode In this mode Phonetic to Speech synthesis mode Example Guten tag in ESC M1 e l an en f O r m A t 1 k ESC MO 3 2 1 4 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 speec
9. Guten tag p1000ms meine Guten tag p1s meine Guten tag p2mn meine 3 2 3 5 Modulated sound output Output modulated sounds Table 3 14 ea B3 Chime 1 short long B4 Chime 2 rising tone short short short long e B5 Chime 3 falling tone short short short long OKI SCP middle ware German Text To Speech User s Manual 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 3 2 4 1 Stop Stops the current text to speech synthesis process Table 3 15 4C 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 3 2 4 2 Initialize Stops processing of the current operating mode Returns all Level 1 to 3 Code settings including mode specification to their defaults Table 3 16 4R 12H Stop processing of the current operating mode OKI SCP middle ware German Text To Speech User s Manual 4 Rules to be applied 4 1 Sentence 4 1 1 Number of characters A sentence must not be more than 1024 char
10. OKI SCP middle ware German Text To Speech User s Manual FEXLTTS SOFGE 01 03 Ver 1 3 OKI OKI middle ware for Speech Control Processor German Text To Speech Ver 1 0 User s Manual July 12 2001 DS OKI SCP middle ware German Text To Speech User s Manual Modification History 1 30 Mar 2000 modify of speed rate range OKI SCP middle ware German Text To Speech User s Manual NOTICE 1 The information contained herein can change without notice owing to product and or technical improvements Before using the product please make sure that the information being referred to is up to date The outline of action and examples for application circuits described herein have been chosen as an explanation for the standard action and performance of the product When planning to use the product please ensure that the external conditions are reflected in the actual circuit assembly and program designs When designing your product please use our product below the specified maximum ratings and within the specified operating ranges including but not limited to operating voltage power dissipation and operating temperature Oki assumes no responsibility or liability whatsoever for any failure or unusual or unexpected operation resulting from misuse neglect improper installation repair alteration or accident improper handling or unusual physical or electrical stress including but not limited to exposure to parameters bey
11. acters long markers and control codes included Longer sentences will be truncated between two words to produce two or several sentences which will be less than 1024 characters ong 4 1 2 Number of words A sentence must not be more than 60 words long markers and control codes excluded If a sentence contains more than 60 words without punctuation the system automatically inserts a full stop 4 2 Word A word must not be more than 150 characters long Longer words will be truncated to 150 characters to produce two or several words of less than 150 characters 3See chapter Markers 4See chapter Switches gt An 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 6 See chapter Markers 7 See chapter Switches OKI SCP middle ware German Text To Speech User s Manual 4 3 Character A character must be coded in IBM extended ASCII or in ISO 8859 18 Refer to appendix B for the translation of ASCII codes 4 4 Dash The presence of a dash between two words is used by the system to recognize a hyphenated word or to apply a liaison between the two words The presence of a dash between two digits is used to recognize a scientific expression The correct use of the dash is therefore very important 4 4 1 Between words e Pause When the dash is separated from the words by a space it is translated by a
12. bols See appendix A 5 1 4 Using German phonetic codes The German phonetic codes are always 3 characters long except when a special stress or lengthening code is added just before the 3 characters of the basic code Coding a glottal To code a glottal the rule of the 3 characters is respected It is necessary to concatenate the H code with the vowel code For example the glottal coded HA is the result of H with A However regarding phonemic vowels ae oe and OE it is not possible to write Hae for example because there are 4 characters The F code takes the place of ae q the place of oe and Q the place of OE Here is the translation H ae HF H oe Hq H OE HQ For the diphthongs the glottals are coded like the diphthong but with lower case letters and without H code For the AR vowel and nasal vowels there are not glottals in German It is possible to accentuate a glottal with 5 1 5 Word categories Adverbs Definite articles Indefinite articles Possessive pronouns and possessive adjectives Personal pronouns nm OO WwW gt Demonstrative pronouns and demonstrative adjectives 20See chart in chapter Correspondence between ALLVOC phonetic codes and IPA symbols OKI SCP middle ware German Text To Speech User s Manual G Relative pronouns H Interrogative pronouns Prepositions with pause J Prepositions without pause L Conjunctions of co ordi
13. ch User s Manual 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 Reset Applied Read Configuration Decide start program Initialize Memory SIO Driver TMR Read Configuration Status Check Initialize Open SIO 8bit serial Initialize Open PIO Micro controller Start DA Output Output DAO1 To TTS Main Program Figure 2 6 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 OKI SCP middle ware German Text To Speech User s Manual 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 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 in
14. ecutive words Some german and foreign words which are not pronounced in accordance with the basic rules for german pronunciation can be stored in this user lexicon It contains a list of exception words with their corresponding pronunciation The pronunciation writing uses either an pseudo orthographic method or a phonetic method The pseudo orthographic method consists of writing the pronunciation with german alphabetical codes For example the pronunciation in german of the english word Clinton can be written lt Clington gt The phonetic method consists of writing the pronunciation with ALLVOC phonetic codes For example the pronunciation in german of the french word ELAN can be written e l an This method is easier than the previous one It requires finding in a dictionary the phonetic translation of a word and to change it into ALLVOC phonetic writing Generally the phonetic alphabet used in the dictionaries is the one of IPA Also it is possible to indicate the grammatical categories of the word 17See chapter Correspondence between ALL VOC phonetic codes and IPA symbols 18 International Phonetic Alphabet OKI SCP middle ware German Text To Speech User s Manual 5 1 2 Adding an entry to the lexicon file With a text editor you can add a new entry to the file called EXCEPT TRI in the installation directory The maximum length of this file depends on RAM resources Each exception must be written on one line
15. gleich eins the numeric value after the decimal comma digit per digit s 456 1234 u will be pronounced vierhundertsechsundf nfzig komma eins zwei drei vier 3 2 2 3 Commercial pronunciation c The Switch Name is c there is not Switch Information To disable this control it is necessary to use an other control usual scientific date telephone address because these control codes are exclusive This control permits to pronounce the numeric value after the decimal comma digit per digit Example c 456 1234 u will be pronounced vierhundertsechsundf nfzig komma eins zwei drei vier the dash after the decimal comma like Mark Example c 12 u will be pronounced zw lf Mark OKI SCP middle ware German Text To Speech User s Manual 3 2 2 4 Pronunciation of dates d This control permits to pronounce the thousands in hundreds The Switch Name is d there is not Switch Information To disable this control it is necessary to use an other control usual scientific commercial telephone address because these control codes are exclusive Example d 1912 u will be pronounced neunzehnhundertzwolf 3 2 2 5 Pronunciation of telephone numbers t This control permits to pronounce the telephone numbers digit per digit The Switch Name is t there is not Switch Information To disable this control it is necessary to use an other control usual scientific comme
16. h 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 6 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 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 request code is appended after the text s terminating character OKI SCP middle ware German Text To Speech User s Manual 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 7 Level Control Code numeric form pro
17. l be pronounced vier f nf pause neun pause eins neun acht neun 4 7 4 Currency Examples 5 13 DM 5 13DM DM 5 13 and DM5 13 will be pronounced f nf Mark dreizehn 5 DM will be pronounced f nf Mark null 5 56 FF will be pronounced 5 franzosische franc 56 4 7 5 Telephone numbers It is possible to pronounce the numbers digit per digit in using the control t 14See chapter Switches OKI SCP middle ware German Text To Speech User s Manual 4 7 6 Combination of digits and others characters Examples 02 123454 will be pronounced null zwei pause eins zwei pause drei vier pause f nf vier 12 2345 456 will be pronounced eins zwei pause zwei drei pause vier f nf strich vier f nf sechs ab12xy will be pronounced ah beh zw lf ix Upsilon 0001 will be pronounced doppelkreuz null null null eins 12 13 14 39 will be pronounced eins zwei plus eins drei plus eins vier ist gleich drei nein S 13 12 1 will be pronounced eins drei strich eins zwei ist gleich eins 0 15 See chapter Switches for a scientific pronunciation 16 See chapter Switches for a scientific pronunciation OKI SCP middle ware German 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 exceptions lexicon permits to change the pronunciation of a word or a group of cons
18. lected 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 OKI SCP middle ware German Text To Speech User s Manual Table 2 2 x Don t care For example to access from a host CPU connect as shown in the falling diagram HOST Parallel Interface E Figure 2 3 In the above case PIBF write buffer bit and POBF read buffer bit are connected wire OR to data port bits 7 and 0 respectively so the relation between address status and data is as follows OKI SCP middle ware German Text To Speech User s Manual Address Data 8bit xxx0 PIBF don t care POBF xxx1 parallel data Figure 2 4 The data transfer process is as follows The xxx indicates a MSM7630 parallel port address Open Port Read xxx0 Address Status Read xxx0 Address Status Status Check no Bit0 1 Port Busy Port Busy G Port Ready K Port Ready PIBF 1 yes PIBF 0 POBF 0 yes POBF 1 Write xxx1 Address Data Write xxx1 Address Data when receiving when synthesis termination code reply specified Figure 2 5 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 OKI SCP middle ware German Text To Spee
19. may be reprinted or reproduced without our prior permission MS DOS Microsoft Windows and WindowsNT are registered trademarks of Microsoft Corporation Copyright 2001 Oki Electric Industry Co Ltd OKI SCP middle ware German Text To Speech User s Manual 1 introductio EE 5 2 User interface description sicsiiccindciceciaiesncreadccccindeianseadeenswinivineveadsenwdadwinee 6 2 1 Reading the configuration register ii 6 2 2 Individual Interface description n 7 2 24 Serial port interace T 7 2 2 2 Micro controller Interface AA 8 2 2 3 MSM7630 Start up Sequence manner nenn 11 3 Text To Speech program Specification 200000000000000000nnnnnnnnnnnnnnnn 13 3 1 Operating Mode eee eee 12 3 1 1 Text To Speech synthesis mode i 14 3 1 2 Exception Dictionary Read Mode A 15 3 1 3 Hardware sound output busy sonal 17 3 2 Control Codes Specifications papi iii 18 3 2 1 Levelt Control Eder rue eek Hehe 18 IR 22T A Control Code ee ek 20 32 3 LevellS COMO eae LT 23 3 2 4 Command Specification ii 26 4 Rules to be applied nn 27 4 1 SOONG su oti ea eatin tetas ca ces atm satin Metadata aan tlt 27 4 1 1 Number of characters aria 27 4 1 2 Number of word EE 27 GE 27 4 3 E ET 28 dii 2s a RE 28 4 4 1 Between e ne ei 28 4 4 2 Between La TrsT 29 4 57 PUNGEUAlON EE 29 4 5 1 List of pronunciations recognised by the s
20. nation M Conjunctions of subordination that go together with a verb in final position N Proper names Prepositions linked to the preceding context particles P Indicative of genitive Verbs Words in capital letter X Not classified word categories same as no category at all 5 2 Abbreviations lexicon 5 2 1 Using the lexicon If the abbreviation is listed in the left column of the abbreviations file it will be pronounced as indicated in the right column The translation writing uses a pseudo orthographic method For example the translation of the abbreviation MwSt Can be written m ehr_wert steuer 5 2 2 Adding an entry to the lexicon file With a text editor you can add a new entry to the file called ABREVIAT RGS in the installation directory The maximum length of this file depends on RAM resources Each abbreviation must be written on one line only maximum 256 characters It is not necessary to respect the alphabetic order The look up words are case sensitive 21 Depending on the platform OKI SCP middle ware German Text To Speech User s Manual Key characters list The character indicates the primary stress The hyphen indicates word boundaries The underscore _ indicates the end of prefix The blank characters or the tabulations indicate the separation between the abbreviation and its translation The two characters indicate comments Example Beginning of
21. nterface 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 Control The diagram below shows a serial port interface example SCP HOST Figure 2 1 Be sure that the ports have sufficient drive capability The transmit receive process from the host is as follows OKI SCP middle ware German Text To Speech User s Manual Open Port Check Status Check Status no OK yes Transfer Data Transfer Data when receiving when synthesis termination code reply specified Figure 2 2 The RTS pin will output 0 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 0 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 22 Micro controller Interface When a micro controller interface is se
22. nunciation 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 Table 3 8 Control Code INFORMATION VALUE u To restore the default mode No information value fs To pronounce scientific expressions No information value c To pronounce Commercial No information value expressions o an Te pronounce the dates No information vale fal Fre pronounce the numberofaderess No information value 3 2 2 1 Usual pronunciation u This control restores the default mode The Control Name is u there is not Control Information Example OKI SCP middle ware German Text To Speech User s Manual 3 2 2 2 Scientific pronunciation s This control permits to pronounce the scientific expressions with the characters The Switch Name is s there is not Switch Information To disable this control it is necessary to use an other control as usual commercial date or telephone address because these control codes are exclusive Examples This control permits to pronounce the numeric value into a word or an expression like a number e 12 13 14 39 u will be pronounced zw lf plus dreizehn plus vierzehn ist gleich neununddreissig always the minus sign s 13 12 1 u and s 13 12 1 u will be pronounced dreizehn minus zw lf ist
23. ond the specified maximum ratings or operation outside the specified operating range Neither indemnity against nor license of a third party s industrial and intellectual property right etc is granted by us in connection with the use of the product and or the information and drawings contained herein No responsibility is assumed by us for any infringement of a third party s right which may result from the use thereof The products listed in this document are intended for use in general electronics equipment for commercial applications e g office automation communication equipment measurement equipment consumer electronics etc These products are not authorized for use in any system or application that requires special or enhanced quality and reliability characteristics nor in any system or application where the failure of such system or application may result in the loss or damage of property or death or injury to humans Such applications include but are not limited to traffic and automotive equipment safety devices aerospace equipment nuclear power control medical equipment and life support systems Certain products in this document may need government approval before they can be exported to particular countries The purchaser assumes the responsibility of determining the legality of export of these products and will take appropriate and necessary steps at their own expense for these No part of the contents contained herein
24. parator of phone number punctuation pause or separator of phone number o OKI SCP middle ware German Text To Speech User s Manual Decimal ASCII code Recognised as translated by sign estrella 42 a 44 punctuation pause or decimal comma coma 45 punctuation pause or hyphen or sign menos 46 punctuation pause or date separation AJA date or phone number separation digit zero gt Co oi CH o1 x 91 0 01 AJOJN Wu On 7 Wu O digit eight colon pause or time separation Wu Y ol co SE a e gen map O Oo WE O N C C capital letter D capital letter E E capital letter F capital letter N CH OKI SCP middle ware German Text To Speech User s Manual GQ N sech ea ignored o 00 Qn 1 E lG COIN o O D sech ie se Te emmer E E e small letter f f small letter OKI SCP middle ware German Text To Speech User s Manual Decimal ASCII code Recognised as translated by fe I g small letter LL get geg ignored i igneed OKI SCP middle ware German Text To Speech User s Manual 7 2 8 bits ASCII characters code Character translated by Character translated by lt a small letter a ignored small letter a small letter a x o A i small letter o S small letter i ignored small letter o 7 ignored zeng
25. rcial date address because these control codes are exclusive Example t 1234567 u will be pronounced eins zwei pause drei vier pause f nf sechs sieben 3 2 2 6 Pronunciation of roman numbers R This control permits to pronounce the roman numbers The roman numbers are composed with the capital letters VX L C DM The Switch Name is R the Switch Information is to enable and to disable The control usual permits also to disable it Example R IV R will be pronounced vier 3 2 2 7 Pronunciation of address a Example a Zum Junen Str 7 9 u the number will be pronounced sieben bis neun a Zum Junen Str 7 9 u the number will be pronounced sieben bis neun a Zum Junen Str 7 9 u the number will be pronounced sieben bis neun OKI SCP middle ware German Text To Speech User s Manual 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 9 Level 3 Control Code 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 10 Code format n From 100 low to 100 high The default value is 0 HD Return to default setting This control permits to change the pitch in the tex
26. s the majority of German 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 OKI SCP middle ware German Text To Speech User s Manual 2 User interface description Data 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 table 2 1 Therefore the serial port and parallel port cannot be used in parallel Table 2 1 Register Value Interface om 2400bps serial port 4800bps serial port 9600bps serial port 19200bps serial port 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 OKI SCP middle ware German Text To Speech User s Manual 2 2 Individual Interface description 2 2 1 Serial port i
27. small letter o small letter o o small letter small letter 247 x ignored ignored as moa o Les ignored vusmaliererio small letter i ignored OKI SCP middle ware German Text To Speech User s Manual ISO 8859 1 Recognised as code Character translated by Character translated by goed small letter small letter ignored y y small letter
28. st appends the response request 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 sequence when return of synthesis termination codes has been specified and Fig 3 2 shows the format of the synthesis termination code Error location is 2 Byte binary data 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 Location Error code is data that indicates the cause of the error It will be FFFFH for normal termination Figure 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 OKI SCP middle ware German Text To Speech User s Manual 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
29. t The Switch Name is pitch the Switch Information is a value ranging from 100 to 100 surrounded with brackets Example Guten tag H 10 herr Schmidt H 10 N I Not supported by all the platforms OKI SCP middle ware German Text To Speech User s Manual 3 2 3 2 Speed rate modification This control permits to modify the speech rate of the text Table 3 11 1 T n n From 100 slow to 10 fast male voice O fast female voice The default value is 0 TD Return to default setting This control permits to change the speech rate in the text The Switch Name is duree the Switch Information is a value ranging from 10 fast male voice O fast female voice to 100 slow surrounded with brackets Example Guten tag T 10 herr Schmidt T 10 S 3 2 3 3 Voice volume Specifies the loudness of voice Table 3 12 n From 100 min to O max The default value is 0 PD Return to default setting 2 Not supported by all the platforms OKI SCP middle ware German Text To Speech User s Manual 3 2 3 4 Pause Control This control allows a pause in the text Table 3 13 p1000ms 1000 millisecond pause in the text 2 p1s 1 second pause in the text p2mn 2 minute pause in the text This control allows a pause in the text The Switch Name is pause the Switch Information is a duration either in millisecond or in second or in minute surrounded with brackets Example
30. ted Valid except in exception dictionary read mode These control codes codes primarily control speech quality Commands Control codes Valid in text to speech synthesis mode Commands control the speech synthesis sequence 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 Returning 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 Figure 3 1 OKI SCP middle ware German Text To Speech User s Manual 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 request code D 04H not the termination characters will be recognized as a terminator The ho
31. ternal 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 German Text To Speech User s Manual 3 Text To Speech program specification 3 1 Operating Mode 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 O an Text To Speech synthesis mode BER Phonetic To Speech synthesis mode 1 2 Unused 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 OKI SCP middle ware German Text To Speech User s Manual Table 3 2 Levelt Escape codes Valid except in exception dictionary read mode These control codes codes primarily set the initial operating state of MSM7630 Level2 Text related Valid in text to speech synthesis mode These code control codes primarily control how sentences are read Level3 Text rela
32. ystem and their effects 30 eu Le el E 20 woo UE EE 20 4 6 Acronyms and abbreviations eee eee eee 30 4 6 1 LAS Ko EE 20 4 6 2 ee te EE 31 4 7 lan Te E EN 4 7 1 lie 31 OKI SCP middle ware German Text To Speech User s Manual dT2 ANIM CN 32 e Dale en aaa Eni aa i E Seite ead 33 ATA QUITO EE 33 4 7 5 Telephone numbers annsan nnn nanesene ennn 33 4 7 6 Combination of digits and others characters 34 B USEF E e uil 35 5 1 Exceptions Ee 35 5 1 1 Using the lexicon suana a a a aa aaia eraa TE aS 35 5 1 2 Adding an entry to the lexicon le 36 5 1 3 Correspondence between German phonetic codes and IPA symbolSs 37 5 1 4 Using German phonetic codes eee eee 37 5 1 5 Word categories en Rs eisen 37 5 2 1 9 e eT HEIEREN 38 5 2 1 Usma BAC EE EE 38 5 2 2 Adding an entry to the lexicon le 38 6 APPENDIX A List of ALLVOC phonetic codes and IPA symbols 40 We EEN A0 6 2 Ee 41 6 3 Diphthongs vowel combinatons eee 41 e Ee 41 8 5 ue Ee EE 42 6 6 Consonants EE 42 nde e Ee EE 43 8 8 oVllabIG CONSONGING ee 43 T EE 43 7 APPENDIX B List of ASCII codes translated 11 44 e F ll G sl 1216 T Ee Te EE 44 7 2 8 bits ASCII characherg ii 48 OKI SCP middle ware German Text To Speech User s Manual 1 Introduction The German Text To Speech system correctly synthesise
Download Pdf Manuals
Related Search
Related Contents
Hama Platinum Edition inSentry II User's Guide Sirion - Siemens Victor Reader Stream 4.4 User Guide Copyright © All rights reserved.
Failed to retrieve file