Artyom.js 中文翻译
  • Artyom
  • FAQ
  • 翻译相关
  • 开始
    • 简介
    • 必要条件
    • Changelog
  • API
    • isObeying
    • addCommands
    • clearGarbageCollection
    • debug
    • detectErrors
    • device
    • emptyCommands
    • fatality
    • getAvailableCommands
    • getLanguage
    • getProperties
    • getVoices
    • initialize
    • isRecognizing
    • isSpeaking
    • newDictation
    • newPrompt
    • obey
    • on
    • recognizingSupported
    • redirectRecognizedTextOutput
    • remoteProcessorService
    • removeCommands
    • repeatLastSay
    • restart
    • say
    • sayRandom
    • setDebug
    • Shutup
    • simulateInstruction
    • speechSupported
    • when
Powered by GitBook
On this page
  • 官方网站
  • 官方仓库
  • 通过 NPM 下载
  • 通过 Bower 下载
  • 通过视频学习

Was this helpful?

Artyom

Artyom.js 包中文翻译

NextFAQ

Last updated 5 years ago

Was this helpful?

官方网站

官方仓库

通过 NPM 下载

$ npm install artyom.js

通过 Bower 下载

bower install artyom.js

Artyom 是对 Google Chrome SpeechSynthesis 和 SpeechRecognition 的强健封装工具包,通过调用其API可以帮助开发者构建属于自己的虚拟援助。通过使用 Artyom, 你有机会在你的应用中创造出属于自己的 Siri, Google Now, Cortana。

需要注意,SpeechSynthesis 和 SpeechRecognition 的官方API 只支持 Google Chrome 浏览器(因为使用了 Google Recognition 和 Synthesis 服务)。Artyom 同时也支持 Android Chrome。

使用 Artyom 需要 HTTP 或者 HTTPS, 其无法与本地文件中使用(file://)。如果你需要一个持续不断的虚拟支持,考虑到某些安全因素,你必须将你的项目部署于一个拥有 https 认证的站点。如果你只需要单次的虚拟支持(以 非持续运行 的模式使用 artyom),则不要求 https 链接。

通过视频学习

https://ourcodeworld.com/articles/read/44/how-to-add-voice-commands-to-your-webpage-with-javascript
https://docs.ourcodeworld.com/projects/artyom-js
GitHub - sdkcarlos/artyom.js: A voice control - voice commands - speech recognition and speech synthesis javascript library. Create your own siri,google now or cortana with Google Chrome within your website.GitHub
Logo