Hello everyone.
The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
The Mixed Reality Forums here are no longer being used or maintained.
There are a few other places we would like to direct you to for support, both from Microsoft and from the community.
The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.
For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.
If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.
And always feel free to hit us up on Twitter @MxdRealityDev.
Options
KeywordAction don't work at Device?
In Holograms 211 Chapter 4, i have the correctly code in my Script. And with audio Input "Move Astonaut" can the Program at Unity perfect work. By if i develop the file through VS on my Hololens, that don't worked anymore. Followed is the code. If someone know the reason, that help me a lot. Thanks!
KeywordRecognizer keywordRecognizer; // Defines which function to call when a keyword is recognized. delegate void KeywordAction(PhraseRecognizedEventArgs args); Dictionary<string, KeywordAction> keywordCollection; void Start() { keywordCollection = new Dictionary<string, KeywordAction>(); // Add keyword to start manipulation. keywordCollection.Add("Move Astronaut", MoveAstronautCommand); // 5.a: Add keyword Reset Model to call the ResetModelCommand function. //keywordCollection.Add("Rotate Astronaut", ResetModelCommand); // Initialize KeywordRecognizer with the previously added keywords. keywordRecognizer = new KeywordRecognizer(keywordCollection.Keys.ToArray()); keywordRecognizer.OnPhraseRecognized += KeywordRecognizer_OnPhraseRecognized; keywordRecognizer.Start(); }
private void MoveAstronautCommand(PhraseRecognizedEventArgs args)
{
GestureManager.Instance.Transition(GestureManager.Instance.ManipulationRecognizer);
}
0
Answers
@Samfer
Do you have the Microphone selected in the Capabilities
section
Windows Holographic User Group Redmond
WinHUGR.org - - - - - - - - - - - - - - - - - - @WinHUGR
WinHUGR YouTube Channel -- live streamed meetings
@HoloSheep You are right. I don't know at all before. Thank you very much.