音声合成ライブラリは、スマーデバイス上で動作するアプリケーションに、音声合成機能を提供します。
cordova plugin add adf-plugin-text-to-speech
- Android
- iOS
- Windows
<!DOCTYPE html>
<html>
<head>
<!-- UTF-8を指定してください。 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<script type='text/javascript' src='cordova.js'></script>
<script type='text/javascript' src='index.js'></script>
</body>
</html>
document.addEventListener("deviceready", function () {
ftts.speak("こんにちは");
});