Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
web_speech_api.pdf
Search
cha1ra
January 19, 2019
430
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
web_speech_api.pdf
cha1ra
January 19, 2019
Transcript
17 slides
0 2 1 9
7 K M GB D n K M 8 51
AC E 1 ( 1 - o bO meg d T @ k C b i L JHP _ c 4 77 4 ) 4 4 2 R @ rsa
& & &
& & &
const recognition = new
webkitSpeechRecognition() recognition.lang = 'ja-JP’ recognition.start() recognition.onresult = (event) => { onsole.log(event.results[0][0].transcript) recognition.stop() }
. 1 . 1 # interface SpeechRecognition : EventTarget {
// recognition parameters attribute SpeechGrammarList grammars; attribute DOMString lang; attribute boolean continuous; attribute boolean interimResults; attribute unsigned long maxAlternatives; attribute DOMString serviceURI; // methods to drive the speech interaction void start(); void stop(); void abort(); // event methods attribute EventHandler onaudiostart; attribute EventHandler onsoundstart; attribute EventHandler onspeechstart; attribute EventHandler onspeechend; attribute EventHandler onsoundend; attribute EventHandler onaudioend; attribute EventHandler onresult; attribute EventHandler onnomatch; attribute EventHandler onerror; attribute EventHandler onstart; attribute EventHandler onend; }; 33 -3 -/ - / 3-/. / .-3-/.
& & &
const recognition = new
webkitSpeechRecognition() recognition.lang = 'ja-JP’ recognition.start() recognition.onresult = (event) => { onsole.log(event.results[0][0].transcript) recognition.stop() }
. . # 33 -3 -/ - / 3-/. interface
SpeechSynthesis : EventTarget { readonly attribute boolean pending; readonly attribute boolean speaking; readonly attribute boolean paused; attribute EventHandler onvoiceschanged; void speak(SpeechSynthesisUtterance utterance); void cancel(); void pause(); void resume(); sequence<SpeechSynthesisVoice> getVoices(); }; interface SpeechSynthesisUtterance : EventTarget { attribute DOMString text; attribute DOMString lang; attribute SpeechSynthesisVoice? voice; attribute float volume; attribute float rate; attribute float pitch; attribute EventHandler onstart; attribute EventHandler onend; attribute EventHandler onerror; attribute EventHandler onpause; attribute EventHandler onresume; attribute EventHandler onmark; attribute EventHandler onboundary; }; .3 - .3 - 33 .
1
: F A D
(0 ) ) . 1 . 2 6 9 1
/ C I / 4 P AS 1 : ./ / / . -: / / //-1
))( 0 ). . 12 96 A / 5 5
: . 1 5 /
/ . -
More Decks by cha1ra
See All by cha1ra
生成AIと読み解くLaravelの進化史:コミットメッセージからの洞察
cha1ra
0
670
githubハンズオン_vscodeから作成_.pdf
cha1ra
0
350
githubハンズオン_リポジトリclone_.pdf
cha1ra
0
540
Puppeteer Introduction and my original command "dk"
cha1ra
0
140
Introduction of Babel
cha1ra
0
130
ProgWrap 企画書 v1.2.1
cha1ra
0
110
はじめてのスクレイピング!- bs4 と Selenium を 使ってみよう! -
cha1ra
0
1.8k
Web Service Hackathon @Dec. 6, 2018
cha1ra
0
43
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Speed Design
sergeychernyshev
33
2.2k
We Have a Design System, Now What?
morganepeng
55
8.4k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
640
How to make the Groovebox
asonas
2
2.6k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Writing Fast Ruby
sferik
630
63k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
How to build a perfect <img>
jonoalderson
1
6.2k
Into the Great Unknown - MozCon
thekraken
41
2.8k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.9k