Gopikanth123 commited on
Commit
6498f7b
·
verified ·
1 Parent(s): ff17190

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +2 -2
templates/index.html CHANGED
@@ -589,11 +589,11 @@
589
  voice = 'Sanskrit Female'; // Use ResponsiveVoice voice name
590
  break;
591
  default:
592
- voice = 'Engish Female'; // Use ResponsiveVoice default voice name
593
  break;
594
  }
595
 
596
- responsiveVoice.speak(text, voice); // Call ResponsiveVoice speak function with the determined voice
597
  }
598
 
599
  // // Test voices and log them
 
589
  voice = 'Sanskrit Female'; // Use ResponsiveVoice voice name
590
  break;
591
  default:
592
+ voice = 'UK English Male'; // Use ResponsiveVoice default voice name
593
  break;
594
  }
595
 
596
+ responsiveVoice.speak(text, voice, {pitch: 2}); // Call ResponsiveVoice speak function with the determined voice
597
  }
598
 
599
  // // Test voices and log them