A Pen by guyfedwards

Tutorials of (A pen by guyfedwards) by Guyfedwards

<!DOCTYPE html>
<html >
  <meta charset="UTF-8">
  <title>A Pen by  guyfedwards</title>
      <link rel="stylesheet" href="css/style.css">


  <button>Speak to me</button>
    <script  src="js/index.js"></script>

/* Downloaded from https://www.codeseek.co/ */
@import "lesshat";

/* Downloaded from https://www.codeseek.co/ */

function speak(){

  var msg = new SpeechSynthesisUtterance('Tally ho old chap, bloody good show');
  /*msg.voice = speechSynthesis.getVoices().filter(function(voice) { 
    return voie.name == 'Google UK English Male'; 
  var voices = window.speechSynthesis.getVoices();
  msg.default = false;
  msg.voice = voices[8]; 
  msg.voiceURI = 'native';


document.querySelector('button').addEventListener("click", speak, false);

This awesome code ( A Pen by guyfedwards ) is write by guyfedwards, you can se more from this user in the personal repository

You can find the original code on Codepen.io

2018 © guyfedwards