Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

TWC9: IE 9 PP3, Windows Live Essentials Beta, God's Own Machine

Download

Right click “Save as…”

This week on Channel 9, Dan and Brian discuss the week's top developer news, including:

Picks of the week!

  • Brian's pick: Rory Primrose who shows how to add custom types in TFS Build 2010 Build Definition Editor with the help of Reflector
  • Dan's pick: Rudi Grobler's cool Windows Phone app, 7mc-gofer, that enables you to control your Windows Media Center including music, TV, photos and videos

 

Follow the Discussion

  • Wayne TaylorKryptos Backup People!

    The video is a podcast?

  • Adam SpeightAdam​Speight2008 The Bandito Coder

    Dan, you're usually eager to get to the tips of the week, that I'm not amused you forgot twice. It better be a couple of damn fine tips, or we'll digitally disown you.  You'll never work in show business again. 

    What's a suitable penance?  Only code in J# for a week.

  • I've been interested in knowing just how much latency there is when using a Windows Phone 7 device as a remote like that Media Center example or the T-Shirt Canon.

    I'm assuming it would be possible to have a knob or slider on the phone send info about it's position to an app on a computer that has the same controls so they move at the same time then have the computer send back the information to the phone and measure how many milliseconds it took for the whole process.

     

    Touch OSC seems to react remarkably fast for example.

  • Dan FernandezDan

    @Kryptos - What do you mean?

     

    @Adam - I didn't forget this time, I just didn't know I had to bring two picks of the week this week. *Please* don't make me code in J#, if I do that, the user base will double Smiley

     

     

  • Dan FernandezDan

    Since the command is over HTTP, there are a couple of things you have to factor in - connection type, throughput (what are you sending), network traffic, how many commands you're sending, etc. Since our cannon was using accelerometer changes and since the accelerometer was firing ~50-60x/second, we added a filter to only fire 10x/second, and the time to build a http request and send it was pretty fast where you felt like driving it was responsive (maybe 150ms total)? The one thing I'd call out is that the initial lookup took a little more time as it would do a lookup via name (ex: http://betty/) instead of via IP address, but after that it was pretty fast. For TV, I think the only pain is that for things like HD channels, the TV takes a little bit of time to load the channel so it may feel a bit more sluggish than it actually is.

     

  • Yup, for Media Center, changing channels is probably the bottleneck so I doubt the latency of the whole setup would be noticeable at all.

     

    For controlling anything music related it's really not acceptable to have latencies above what your standard game controller would have so it would probably need to be done slightly differently (more like the wayTouchOSC communicates with OSCulator).

    TouchOSC works on iPhone and will be available on iPad and Android soon but I have a feeling they're just going to ignore Windows Phone 7.

     

    I know it's possible to get completely un-noticeable latencies with an XBOX 360 controller because I've controlled MIDI devices with one before with the help of a little GlovePIE script I made which translates game controller info (usually Wii-Motes but it works with any kind of controller) into MIDI and sends to to a virtual midi port.

  • Best line of the week: "It's funny because you're fired."

     

    LOL

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.