Download
windows 8 1 pip ev n.
Skip this Video
Loading SlideShow in 5 Seconds..
Windows 8.1 Äpipäev PowerPoint Presentation
Download Presentation
Windows 8.1 Äpipäev

Windows 8.1 Äpipäev

187 Vues Download Presentation
Télécharger la présentation

Windows 8.1 Äpipäev

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Windows 8.1 Äpipäev • Ondrej Stastny • Microsoft Premier Field Engineer

  2. Agenda • Speech Synthesis • AR Parrot Drone UI • 3D printing

  3. Speech Synthesis

  4. Speech Synthesis Markup Language (SSML) • XML based language • W3 standard for speech synthesis

  5. Mark • Notify app that certain point has been reached • Phoneme • Phonetic pronounciation • Say-as • Aid the synthesis processor • P, Break, …

  6. // createthe data stream SpeechSynthesisStreamsynthesisStream; synthesisStream= awaitthis.synthesizer.SynthesizeSsmlToStreamAsync(text); // start this audio stream playing this.media.AutoPlay= true; this.media.SetSource(synthesisStream,synthesisStream.ContentType); this.media.Play();

  7. AR Drone 2.0

  8. Initialize connection to the drone publicstaticasyncTaskConnectToDrone() {       // Set up the UDP connection stringremotePort = "5556"; HostNamedroneIP = newHostName("192.168.1.1"); udpSocket = newDatagramSocket(); awaitudpSocket.BindServiceNameAsync(remotePort); awaitudpSocket.ConnectAsync(droneIP, remotePort); udpWriter = newDataWriter(udpSocket.OutputStream); }

  9. Send a command publicstaticasyncTaskSendDroneCommand(stringcommand) { udpWriter.WriteString(command); awaitudpWriter.StoreAsync(); } AT*REF – takeoff/landing,reset AT*PCMD -airborn manipulation [sequence, flag,  roll, pitch, vertical speed, angular speed]

  10. // Strafedrone forward orbackwardatvelocity in range [-1,1] publicstaticstringGetDroneStrafeForwardBackward(uintsequenceNumber, doublevelocity) { // Convertthe ratio into a valuethedroneunderstands intvalue = FloatConversion(velocity); returnCreateATPCMDCommand(sequenceNumber, "0,"+ value + ",0,0"); } // Return a full ATPCMD command privatestaticstringCreateATPCMDCommand(uintsequenceNumber, stringcommand) { return"AT*PCMD="+ sequenceNumber + ",1,"+ command + Environment.NewLine; }

  11. 3D printing

  12. Intro • 3D printing will go mainstream • Similar to printing 2D content • Print Preview • Print Ticket XML

  13. 3D Builder

  14. 1. Register for Print contract protectedvirtualvoidRegisterForPrinting() { // CreatethePrintDocument. printDocument = newPrintDocument(); // SavetheDocumentSource. printDocumentSource = printDocument.DocumentSource; // Addaneventhandlerwhichcreatespreviewpages. printDocument.Paginate += CreatePrintPreviewPages; // Addaneventhandlerwhichprovides a specifiedpreviewpage. printDocument.GetPreviewPage += GetPrintPreviewPage; // Addaneventhandlerwhichprovidesallfinalprintpages. printDocument.AddPages += AddPrintPages; // Create a PrintManager and add a handlerforprintinginitialization. PrintManagerprintMan = PrintManager.GetForCurrentView(); printMan.PrintTaskRequested += PrintTaskRequested; // Initializeprintcontentforthisscenario PreparePrintContent(); }