Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

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.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. 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. And always feel free to hit us up on Twitter @MxdRealityDev.

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

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