| 数据搜索系统,热门电子元器件搜索 |
|
NSAM266SAA/V 数据表(PDF) 41 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
NSAM266SAA/V 数据表(HTML) 41 Page - National Semiconductor (TI) |
|
41 / 52 page ![]() 20 Software (Continued) SF Skip Forward time length Skips forward in the current message time length units each of 02s duration and causes message playback to pause time length is a 2-byte parameter that can have any value up to 320 ie 64s The skip accuracy is 5% This command is meaningful only in the PLAY state The RES command must be issued to continue playback If the end of the message is detected during execution of SF execution of the command is terminated the EV NORMAL END bit in the status register is set the MWRQST signal is activated and the CompactSPEECH switches to the IDLE state If time length is greater than 320 ERR PARAM is set in the error word Playback speed does not affect the behavior of this com- mand Example SF 19 Byte sequence Microcontroller 22 00 19 CompactSPEECH 22 00 19 Description Skip forward five seconds from the current position in the message being played SMT Set Message Tag message tag Sets the tag of the current message The 2-byte message tag can be used to implement mailbox functions by including the mailbox number in the tag or to handle old and new messages differently by using one bit in the tag to mark the message as old or new See Section 261 To change the tag of a message we recommend that you read the message tag modify it and write it back Note 1 Message tag bits can only be cleared Message tag bits are set only when a message is first created Note 2 If the current message is undefined ERR INVALID is reported Note 3 Bit 15 of the message tag is used to select the voice compression algorithm and should not be modified after recording Example SMT FF F7 Byte sequence Microcontroller 05 FF F7 CompactSPEECH 05 FF F7 Description Mark the current message as old in a system where the message tag is encoded as described in the example of the DMS command Note that the CompactSPEECH ignores bits in the tag which are set to 1 only bit 3 is modified in the message tag SO Say One Word word number Plays the word number word number in the current vocab- ulary The 1-byte word number may be any value from 0 through the index of the last word in the vocabulary When playback of the selected word has been completed the CompactSPEECH sets the EV NORMAL END bit in the status word and activates the MWRQST signal If word number is not defined in the current vocabulary or if it is an IVS control or option code ERR PARAM is set in the error word If the current vocabulary is undefined ERR INVALID is re- ported Example SO 00 Byte sequence Microcontroller 07 00 CompactSPEECH 07 00 Description Announce the first word in the word table of the currently selected vocabulary SPS Set Playback Speed speed Sets the speed of message playback as specified by speed The new speed applies to all recorded messages and syn- thesized messages (only if synthesized using external voice synthesis) until changed by another SPS command If this command is issued while the CompactSPEECH is in the PLAY state the speed also changes for the message cur- rently being played speed may be one of 13 values from b6to a6 A value of 0 represents normal speed Note that a negative speed value represents an increase in speed a positive value represents a decrease in speed The change in speed is approximate and depends on the recorded data If speed is not in the b6to a6 range ERR PARAM is set in the error word Example SPS FB Byte sequence Microcontroller 16 FB CompactSPEECH 16 FB Description Set playback speed to b5 SS Say Sentence sentence n Say sentence number sentence n of the currently selected vocabulary sentence n is 1-byte long If the sentence has an argument 0 is passed as the value for this argument When playing has been completed the CompactSPEECH sets the EV NORMAL END bit in the status word and activates the MWRQST signal If sentence n is not defined in the current vocabulary ERR PARAM is set in the error word If the current vocabulary is undefined ERR INVALID is re- ported Example SS 00 Byte sequence Microcontroller 1F 00 CompactSPEECH 1F 00 Description Announce the first sentence in the sentence table of the currently selected vocabulary http www nationalcom 41 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |