Presentation is loading. Please wait.

Presentation is loading. Please wait.

Touchdevelop api api sound & microphone record sound Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.

Similar presentations


Presentation on theme: "Touchdevelop api api sound & microphone record sound Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including."— Presentation transcript:

1 touchdevelop api api sound & microphone record sound Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and Windows Live are trademarks of the Microsoft group of companies. All other trademarks are property of their respective owners.

2 touchdevelop api microphone o usage: explicit sound stream recording (continuous recording in background not possible)

3 touchdevelop api sound o record, download, play o volume o pan: left-right (stereo) o pitch: distort speed of replay

4 touchdevelop api apis o Senses→record microphone Records audio using the microphone Senses→record microphone o Languages→record text Converts the microphone dictation to text using Project Hawaii from Microsoft Research Languages→record text

5 touchdevelop api apis o Sound→play Plays the sound effect Sound→play o Sound→play special Plays the song with different volume (0 to 1), pitch (-1 to 1) and pan (-1 to 1). Sound→play special o Sound→duration Gets the duration in seconds. Sound→duration o Sound→set volume Sets the volume from 0 (silent) to 1 (full volume). Sound→set volume o Sound→volume Gets the volume from 0 (silent) to 1 (full volume) Sound→volume

6 touchdevelop api apis o Sound→set pan Sets the panning, ranging from -1.0 (full left) to 1.0 (full right). Sound→set pan o Sound→pan Gets the panning, ranging from -1.0 (full left) to 1.0 (full right). Sound→pan o Sound→set pitch Sets the pitch adjustment, ranging from -1 (down one octave) to 1 (up one octave). Sound→set pitch o Sound→pitch Gets the pitch adjustment, ranging from -1 (down one octave) to 1 (up one octave). Sound→pitch o Sound→post to wall Displays a player on the wall Sound→post to wall

7 touchdevelop api apis o Web→download sound Downloads a WAV sound file from internet Web→download sound

8 touchdevelop api examples o record & play ☁ http://touchdevelop.com/ovfehttp://touchdevelop.com/ovfe o voice robotizer ☁ http://touchdevelop.com/ucmkhttp://touchdevelop.com/ucmk o beat board ☁ http://touchdevelop.com/xxnuhttp://touchdevelop.com/xxnu

9 touchdevelop api exercises ►record sound, play when tapping on screen, change pitch depending on phone orientation

10 touchdevelop api homework ►finish exercise at home


Download ppt "Touchdevelop api api sound & microphone record sound Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including."

Similar presentations


Ads by Google