Announcement

Collapse
No announcement yet.

Skype + Kinect = ultimate hands free phone

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Skype + Kinect = ultimate hands free phone

    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)
    Click image for larger version

Name:	skype.jpg
Views:	1
Size:	49.8 KB
ID:	1205849

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


    #2
    also, it's possible to use the Kinect camera to do some video calls with skype, but you will need to install this:
    http://piotrsowa.eu/2013/03/17/kinec...ans-kinectcam/

    unfortunately only one process can access the kinect camera at a time, so you can't use the HS Kinect plugin, and have the video in skype at the same time. However it works well for audio, you can use the kinect microphone for VR and for a skype call at the same time.

    Comment

    Working...
    X