View Single Post
Old 04-15-2025, 10:00 AM   #20
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,355
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by JSWolf View Post
What is the CSS to change <em> so it's different from <i> when read by TTS but the same visually?
Same visually, different in voice:
Code:
i {font-style:italic}
em {
  font-style:italic;
  voice-stress: moderate;
}
But it could be different:
Code:
em {
  font-variant:small-caps;
  font-style:normal;
  font-family:serif;
  color:purple;
  text-decoration:underline;
  voice-family: female;
  voice-pitch: medium;
  voice-stress: moderate;
  voice-rate: fast;
  voice-volume: soft;
  pause-after: strong;
  voice-balance: left;
}
Of course these are just examples. You can find more in the CSS Speech Spec (https://www.w3.org/TR/css-speech-1/)

Quote:
Originally Posted by JSWolf View Post
Also, what TTS software reads <em> and <i> differently?
Read the other responses in this thread, and the responses in every other thread where you ask this question.
Turtle91 is offline   Reply With Quote