Touchdevelop api api sound & microphone record sound Disclaimer: This document is provided...
-
Upload
chrystal-harmon -
Category
Documents
-
view
212 -
download
0
Transcript of Touchdevelop api api sound & microphone record sound Disclaimer: This document is provided...
![Page 1: Touchdevelop api api sound & microphone record sound Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.](https://reader036.fdocuments.in/reader036/viewer/2022072010/56649dd25503460f94ac7fba/html5/thumbnails/1.jpg)
touchdevelop api
api sound & microphonerecord 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.
![Page 2: Touchdevelop api api sound & microphone record sound Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.](https://reader036.fdocuments.in/reader036/viewer/2022072010/56649dd25503460f94ac7fba/html5/thumbnails/2.jpg)
touchdevelop api
microphone
o usage: explicit sound stream recording(continuous recording in background not possible)
![Page 3: Touchdevelop api api sound & microphone record sound Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.](https://reader036.fdocuments.in/reader036/viewer/2022072010/56649dd25503460f94ac7fba/html5/thumbnails/3.jpg)
touchdevelop api
soundo record, download, playo volumeo pan: left-right (stereo)o pitch: distort speed of replay
![Page 4: Touchdevelop api api sound & microphone record sound Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.](https://reader036.fdocuments.in/reader036/viewer/2022072010/56649dd25503460f94ac7fba/html5/thumbnails/4.jpg)
touchdevelop api
apiso Senses→record microphone
Records audio using the microphoneo Languages→record text
Converts the microphone dictation to text using Project Hawaii from Microsoft Research
![Page 5: Touchdevelop api api sound & microphone record sound Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.](https://reader036.fdocuments.in/reader036/viewer/2022072010/56649dd25503460f94ac7fba/html5/thumbnails/5.jpg)
touchdevelop api
apiso Sound→play
Plays the sound effecto Sound→play special
Plays the song with different volume (0 to 1), pitch (-1 to 1) and pan (-1 to 1).
o Sound→durationGets the duration in seconds.
o Sound→set volumeSets the volume from 0 (silent) to 1 (full volume).
o Sound→volumeGets the volume from 0 (silent) to 1 (full volume)
![Page 6: Touchdevelop api api sound & microphone record sound Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.](https://reader036.fdocuments.in/reader036/viewer/2022072010/56649dd25503460f94ac7fba/html5/thumbnails/6.jpg)
touchdevelop api
apiso Sound→set pan
Sets the panning, ranging from -1.0 (full left) to 1.0 (full right).o Sound→pan
Gets the panning, ranging from -1.0 (full left) to 1.0 (full right).o Sound→set pitch
Sets the pitch adjustment, ranging from -1 (down one octave) to 1 (up one octave).
o Sound→pitchGets the pitch adjustment, ranging from -1 (down one octave) to 1 (up one octave).
o Sound→post to wallDisplays a player on the wall
![Page 7: Touchdevelop api api sound & microphone record sound Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.](https://reader036.fdocuments.in/reader036/viewer/2022072010/56649dd25503460f94ac7fba/html5/thumbnails/7.jpg)
touchdevelop api
apiso Web→download sound
Downloads a WAV sound file from internet
![Page 8: Touchdevelop api api sound & microphone record sound Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.](https://reader036.fdocuments.in/reader036/viewer/2022072010/56649dd25503460f94ac7fba/html5/thumbnails/8.jpg)
touchdevelop api
exampleso record & play
☁ http://touchdevelop.com/ovfe o voice robotizer
☁ http://touchdevelop.com/ucmk o beat board
☁ http://touchdevelop.com/xxnu
![Page 9: Touchdevelop api api sound & microphone record sound Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.](https://reader036.fdocuments.in/reader036/viewer/2022072010/56649dd25503460f94ac7fba/html5/thumbnails/9.jpg)
touchdevelop api
exercises►record sound, play when tapping on screen, change pitch depending on phone orientation
![Page 10: Touchdevelop api api sound & microphone record sound Disclaimer: This document is provided “as-is”. Information and views expressed in this document, including.](https://reader036.fdocuments.in/reader036/viewer/2022072010/56649dd25503460f94ac7fba/html5/thumbnails/10.jpg)
touchdevelop api
homework►finish exercise at home