N64® Functions Menu

al - Audio Library Functions
gDP - DP GBI Macros
gdSP - General GBI Macros
gSP - SP GBI Macros
gt - Turbo Microcode RDP
gu - Graphics Utilities
Math - Math Functions
nuSys - NuSystem
os - N64 Operating System
sp - Sprite Library Functions
uh - Host to Target IO
64DD - N64 Disk Drive

Nintendo® Confidential

## osVoiceCheckWord

Syntax

    #include <ultra64.h>

    s32 osVoiceCheckWord(u8 *word);

Explanation
The osVoiceCheckWord() function is for checking whether or not a specified word can be registered in the Voice Recognition System. Use this when the words to be registered will be input during debugging or by the game player.

"word" specifies the word (SJIS) to be registered.

An error will be returned if a word is specified which contains a character combination which does not satisfy the conditions listed in the table below.

Usage | Character
No limitation on use |
Can be used only after specified characters (Combinable characters) |
Cannot be used at the beginning of a word |
Cannot be used at the end of a word |
Cannot be used in front of "—" |
Cannot be used after "tsu" or "tsu" |
Combinations which cannot be used |

The returned value is an error code. A 0 (zero) is returned when processing ends normally. If an error occurs, this function has the following error codes.

CONT_ERR_VOICE_WORD
The word cannot be registered. This word cannot be registered in the voice recognition dictionary.

See Also
osVoiceClearDictionary
osVoiceControlGain
osVoiceCountSyllables
osVoiceGetReadData
osVoiceInit
osVoiceMaskDictionary
osVoiceSetWord
osVoiceStartReadData
osVoiceStopReadData

Nintendo® Confidential Warning: all information in this document is confidential and covered by a non-disclosure agreement. You are responsible for keeping this information confidential and protected. Nintendo will vigorously enforce this responsibility.
Copyright © 1998
Nintendo of America Inc. All rights reserved
Nintendo and N64 are registered trademarks of Nintendo
Last updated March 1998