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.
Options

Store Cortana speech commands inside a variable

I'm working on a Hololens project using Unity where i want to make a Skype call from within Unity. I didn't find any other way than using Cortana for this.

Unfortunately Cortana sometimes has struggles to understand some people here in Germany because of their strong accent.

Is it possible to actually store the voice command in a string inside a variable and use this to speak to Cortana? For example instead of saying "Call Dinesh" i'd like to have a variable

string dinesh = "Call Dinesh";
and then tell cortana to 'listen' to this string variable on a button click.

That would be awesome.

Ps: Is there actually any cortana API for C# Unity Hololens development available?

CEO UniVRsitas

Answers

  • Options
    dbarrettdbarrett ✭✭✭
    edited November 2017

    @DineshPunni I tried doing something like a TextToSpeech but, sadly Cortana doesn't hear the audio

    EDIT: I found this API not sure if it will help though: Windows.ApplicationModel.VoiceCommands

    The only other thing I could come up with is saying Launch Skype instead. It is less cumbersome and then the user would just have to pick who they want to call through Skype.

    AR Developer

Sign In or Register to comment.