MaxMEllon/comelon

View on GitHub
app/utils/Talker.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict';

import Itako from 'itako';
import ItakoTextReaderSpeechSynthesis from 'itako-text-reader-speech-synthesis';

const reader = new ItakoTextReaderSpeechSynthesis('text', {
  volume: 1,
  pitch: 1,
  speed: 1,
  lang: 'ja-JP',
  speaker: 'Kyoko'
});

const itako = new Itako([reader]);

export default itako;