| Electronic Components Datasheet Search |
|
RC8650 Datasheet(PDF) 22 Page - List of Unclassifed Manufacturers |
|
|
|||||||||||||||||||||||||||||
RC8650 Datasheet(HTML) 22 Page - List of Unclassifed Manufacturers |
|
22 / 48 page ![]() 22 RC8650 VOICE SYNTHESIZER RC SYSTEMS TTS COMMANDS This section describes the software commands that affect the text-to- speech synthesizer. Text Mode/Delay (T/nT) This command places the RC8650 in the Text operating mode. The optional delay parameter n is used to create a variable pause between words. The shortest, and default delay of 0, is used for normal speech. For users not accustomed to synthetic speech, the synthesizer’s intel- ligibility may be improved by introducing a delay. The longest delay that can be specified is 15. If the delay parameter is omitted, the cur- rent (last set) value will be used and the exception dictionary will be disabled. This feature is useful for returning from another operating mode or disabling the exception dictionary (see Enable Exception Dictionary command). Character Mode/Delay (C/nC) This command puts the RC8650 in the Character operating mode. The optional delay parameter n is used to create a variable pause between characters. Values between 0 (the default) and 15 provide pauses from shortest to longest, respectively. Values between 16 and 31 provide the same range of pauses, but control characters will not be spoken. If the delay parameter is omitted, the current value will be used and the exception dictionary will be disabled. Phoneme Mode (D) This command disables the text-to-phonetics translator, allowing the RC8650’s phonemes to be accessed directly. Table 2.1 lists the pho- nemes that can be produced by the RC8650. When concatenating two or more phonemes, each phoneme must be delimited by a space. For example, the word “computer” would be represented phonetically as K AX M P YY UW DX ER Phonemeattributetokens The RC8650 supports a number of phoneme attribute tokens that can be used in addition to the standard commands. These tokens do not require the command character or any parameters, but can only be used in Phoneme mode and exception dictionaries. As indicated in Table 2.2, the / and \ tokens temporarily increase and decrease the pitch by m steps. Besides being temporary, the differ- ence between using the pitch tokens and the Pitch command is that the effective pitch range is extended beyond the normal 0-99 range by approximately ±20 steps, and if the pitch should fall out of range, it will always saturate, regardless of the Protocol Options Register SAT setting. All other phoneme attribute token commands remain in effect until explicitly changed. If two or more commands are to be used together, each must be pref- aced with the command character. This is the only way the RC8650 knows to treat the remaining characters as a command, rather than text that should be spoken. For example, the following commands program pitch level 40 and volume level 7 (CTRL+A is the default command character): CTRL+A “40P” CTRL+A “7V” Thecommandcharacter The default RC8650 command character is CTRL+A (ASCII code 01). The command character itself can be spoken by the RC8650 by send- ing it twice in a row: CTRL+A CTRL+A. This special command allows the command character to be spoken without affecting the operation of the RC8650, and without having to change to another command character and then back again. Changingthecommandcharacter The command character can be changed to another control character (ASCII 01-26) by sending the current command character, followed by the new character. To change the command character to CTRL+D, for example, issue the command CTRL+A CTRL+D. To change it back, issue the command CTRL+D CTRL+A. It’s generally a good idea to change the command character if the text to be read contains charac- ters which may otherwise be interpreted as command characters (and hence commands). The command character can be unconditionally reset to CTRL+A by sending CTRL+^ (ASCII 30) to the RC8650. Commandparameters Command parameters are composed of one to four digit number strings. The RC8650 supports two types of parameters: absolute and relative. Absolute parameters explicitly specify the parameter’s new value, such as 9S or 3B. Relative parameters specify a displacement from a parameter’s current value, not the actual new value itself. Relative parameters can specify either a positive or negative displace- ment from a parameter’s current value. For example, the Volume com- mand +2V increases the volume level by two (V+2 →V). If the current volume is 4, the volume will increase to 6 after the command has ex- ecuted. The command –2V will have a similar effect, except the volume will be decreased by two. If the value of a parameter falls outside the command’s range, the val- ue will either wrap around or saturate, depending on the setting of the SAT bit of the Protocol Options Register. For example, if parameters are programmed to wrap, the current volume is 7 and the command +4V is issued, the resultant volume will be (7+4)–10 = 1, since the volume range is 0-9. If parameters are programmed to saturate, the resultant volume would be 9 instead. When writing application programs for the RC8650, it is recommended that relative parameters be used for temporarily changing voice attri- butes (such as raising the pitch of a word), using absolute-parameter commands only once in the program’s initialization routine. This way, if the base value of an attribute needs to be changed, it only needs to be changed in the initialization routine. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |