pub struct EmphasisAttributes {
pub level: Option<EmphasisLevel>,
}Expand description
“Speech Synthesis Markup Language (SSML) Version 1.1” Copyright © 2010 W3C® (MIT, ERCIM, Keio), All Rights Reserved.
Fields§
§level: Option<EmphasisLevel>the optional level attribute indicates the strength of emphasis to be applied. Defined values are “strong”, “moderate”, “none” and “reduced”. The default level is “moderate”. The meaning of “strong” and “moderate” emphasis is interpreted according to the language being spoken (languages indicate emphasis using a possible combination of pitch change, timing changes, loudness and other acoustic differences). The “reduced” level is effectively the opposite of emphasizing a word. For example, when the phrase “going to” is reduced it may be spoken as “gonna”. The “none” level is used to prevent the synthesis processor from emphasizing words that it might typically emphasize. The values “none”, “moderate”, and “strong” are monotonically non-decreasing in strength.
Trait Implementations§
Source§impl Clone for EmphasisAttributes
impl Clone for EmphasisAttributes
Source§fn clone(&self) -> EmphasisAttributes
fn clone(&self) -> EmphasisAttributes
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more