javascript   1106546

« earlier    

TOAST UI :: Make Your Web Delicious!
TOAST UI Grid is a powerful widget which allows you to visualize and edit data via its table representation. (table)
data  excel  javascript  software  library  ui 
1 hour ago by dstelow
Web apps that talk - Introduction to the Speech Synthesis API  |  Web  |  Google Developers
The most basic use of the synthesis API is to pass the speechSynthesis.speak() and utterance:

var msg = new SpeechSynthesisUtterance('Hello World');
window.speechSynthesis.speak(msg);

However, you can also alter parameters to effect the volume, speech rate, pitch, voice, and language:

var msg = new SpeechSynthesisUtterance();
var voices = window.speechSynthesis.getVoices();
msg.voice = voices[10]; // Note: some voices don't support altering params
msg.voiceURI = 'native';
msg.volume = 1; // 0 to 1
msg.rate = 1; // 0.1 to 10
msg.pitch = 2; //0 to 2
msg.text = 'Hello World';
msg.lang = 'en-US';

msg.onend = function(e) {
console.log('Finished in ' + event.elapsedTime + ' seconds.');
};

speechSynthesis.speak(msg);

Setting a voice

The API also allows you to get a list of voice the engine supports:

speechSynthesis.getVoices().forEach(function(voice) {
console.log(voice.name, voice.default ? voice.default :'');
});

Then set a different voice, by setting .voice on the utterance object:

var msg = new SpeechSynthesisUtterance('I see dead people!');
msg.voice = speechSynthesis.getVoices().filter(function(voice) { return voice.name == 'Whisper'; })[0];
speechSynthesis.speak(msg);
speech  Javascript  howto  +++++  nmd305 
1 hour ago by jonippolito
Firefly | A Simple Javascript App Boilerplate
Firefly is a learner-focused modern web-app Javascript boilerplate and development guide based on Create React App and Firebase

react  javascript 
2 hours ago by jhafner

« earlier    

related tags

+++++  3d  accelerated  algorithm  algorithms  angular  animation  api  articles  assembler  automation  aws  bestpractices  book  browser  bundle  canvas  career  cheatsheet  cheatsheets  chrome  code  coding  collaboration  constructor  css  curriculum  data  datascience  date-input  date  datepicker  debugging  deep  dev  development  documentation  dzone  editor  electron  engineering  example  excel  fast  field  floss  form  framework  frameworks  freeware  frontend  functional  functionalprogramming  gallery  generator  gfr-week-links  github  google  googledocs  googledrive  graph  grid  hemingway  hosting  howto  html  http  i18n  images  inspiration  j-menu  jake.archibald  jquery  js  lambda  learning  libraries  library  line  machine  management  maps  markdown  menu  microservice  mocha  modal  modules  navigation  networking  nmd305  node.js  node  nodejs  npm  off  offline  opensource  paper  patternmatching  patterns  pdf  performance  photos  plugins  productivity  programming  progressive  promise  pug  rails  react.js  react  reactive  reactivity  reactjs  readlater  record-replay  redux  reference  remote  research  roadmap  ruby  rust  scraping  screencast  script  scripting  security  seo  serverless  settimeout  sharing  shell  sliding-drawer  software-development  software  speech  spreadsheet  spreadsheets  standard  startup  statistics  storytelling  study  svg  t-tech  template  tensorflow  terminal  testing  text-parsing  time  tips  toc  tool  tools  trend  tutorial  ui  unicode  video  vue  web  webdesign  webdev  webdevelopment  webgl  webhosting  windows  wysiwyg 

Copy this bookmark:



description:


tags: