here is a good example of how you can use the VR of the kinect plugin, and leverage the Kinect microphone array to use it as skype microphone.
Prerequisites: you need to have skype and the kinect installed on your HS machine. In skype go to Tools > Options > Audio settings, and choose "Microphone Array (Kinect USB Audio)"
Then configure an event similar to the one below (replace Bob, Alice, BobId and AliceId, by real names and skype ids)
here is the content of Skype.vb
the important part is System.Diagnostics.Process.Start(skypeURI) this is the line which is going to tell Skype to place the call.
It uses the skype URI API: https://developer.skype.com/skype-uris/reference
so with this event you can grab a beer, sit in your couch, and ask: "Computer, call Bob" (or "Computer, call Bob and Alice" for a conference call) and let the magic happen.
Prerequisites: you need to have skype and the kinect installed on your HS machine. In skype go to Tools > Options > Audio settings, and choose "Microphone Array (Kinect USB Audio)"
Then configure an event similar to the one below (replace Bob, Alice, BobId and AliceId, by real names and skype ids)
here is the content of Skype.vb
Code:
Sub Main(ByVal parm as object) Dim var0 as String = hs.GetVar("kinectvar0") Dim var1 as String = hs.GetVar("kinectvar1") Dim skypeURI = "skype:" If Not String.IsNullOrEmpty(var0) Then skypeURI = skypeURI & GetSkypeId(var0) If Not String.IsNullOrEmpty(var1) Then skypeURI = skypeURI & ";" skypeURI = skypeURI & GetSkypeId(var1) End If System.Diagnostics.Process.Start(skypeURI) End If End Sub Function GetSkypeId(ByVal name As String) As String Dim skypeId As String If name = "Bob" Then skypeId = "BobId" Else If name = "Alice" Then skypeId = "AliceId" End If GetSkypeId = skypeId End Function
It uses the skype URI API: https://developer.skype.com/skype-uris/reference
so with this event you can grab a beer, sit in your couch, and ask: "Computer, call Bob" (or "Computer, call Bob and Alice" for a conference call) and let the magic happen.
Comment