Softanza
DémarrerEnglish
Softanza
La bibliothèque se documente elle-même · Son

stzListener

23 méthodes propres · 2 formes avec extensions, rangées sous leur méthode

la source: base/sound/stzListener.ring(s'ouvre dans un nouvel onglet) · Toutes les classes · La référence du domaine : Son

Sous chaque méthode, ses extensions (Q CS XT Z ZZ IB W U) : en gras et cochée, elle existe ; barrée, elle n'existe pas. Les extensions et leur sens

Aucune méthode de cette classe n'est exécutée sur cette page : la classe touche aux fichiers, au réseau, aux processus, à l'horloge, au hasard ou au son, et un exemple exécuté ici ne serait que l'exemple de ses effets. Chaque méthode porte l'explication que la bibliothèque donne d'elle-même.

Méthode
Explication, telle que la source la porte
init
(sans commentaire dans la source : le nom se lit comme une phrase) initaucune extension
Release
(sans commentaire dans la source : le nom se lit comme une phrase) releaseaucune extension
IsUsable
can this machine hear at all?aucune extension
LastError
(sans commentaire dans la source : le nom se lit comme une phrase) last erroraucune extension
Refusals
(sans commentaire dans la source : le nom se lit comme une phrase) refusalsaucune extension
RecognizerCount
what it can hear, as DATAaucune extension
Languages
The BCP-47 tags this machine can HEAR. Compare with stzVoice's Languages(), which is what it can SPEAK -- on the machine this was built on the two lists differ, and an application that assumes otherwise will offer a control surface nobody can drive.aucune extension
ToRecognizerList
(sans commentaire dans la source : le nom se lit comme une phrase) to recognizer listaucune extension
HasLanguage
(sans commentaire dans la source : le nom se lit comme une phrase) has languageaucune extension
Accept
THE GRAMMAR: what it is allowed to hear ----------------------------- Declare every phrase this listener will accept. Anything else is a no-match, which is a RESULT rather than a failure -- "somebody said something that is not a command" is information a control surface needs.QCSXTZZZIBWU
AcceptedPhrases
(sans commentaire dans la source : le nom se lit comme une phrase) accepted phrasesaucune extension
AcceptMeanings
THE AUTHOR STILL DECLARES THE MEANING. Nothing here infers one from the words -- "disk full" is a danger because somebody said so, not because a classifier guessed. That is the plane's standing rule: do not compute meanings the author should declare. What the face contributes is carrying the declaration, not making it.QCSXTZZZIBWU
MeaningHeard
The meaning of what was just heard, or "" -- and "" is a RESULT, not a failure. A no-match means somebody said something that is not a command, which is information a control surface needs; the dangerous alternative is a confident wrong meaning.aucune extension
AcceptedMeanings
(sans commentaire dans la source : le nom se lit comme une phrase) accepted meaningsaucune extension
PhraseCount
(sans commentaire dans la source : le nom se lit comme une phrase) phrase countaucune extension
HearSound
LISTENING ----------------------------------------------------------- Hear a stzSound -- which is what makes this testable with no microphone, and what lets a spoken phrase from stzVoice be fed straight back.aucune extension
HearMicrophoneFor
Hear the MICROPHONE. This is the consent boundary of the library: it opens an input device and listens. Local only -- nothing leaves this machine -- but a caller should still tell the operator it is listening, because an open microphone the operator cannot see is indefensible (Rule 82, visible state).aucune extension
HeardText
what came backaucune extension
Confidence
A SEPARATE CALL, on purpose: a recognised string without its confidence is a guess wearing a fact's clothes.aucune extension
HeardSomething
(sans commentaire dans la source : le nom se lit comme une phrase) heard somethingaucune extension
WasNoMatch
A no-match is a RESULT, not an error: somebody said something that was not in the grammar, and a control surface needs to know that happened.aucune extension
Recognitions
countersaucune extension
NoMatches
(sans commentaire dans la source : le nom se lit comme une phrase) no matchesaucune extension