pub enum PitchRange {
Strength(PitchStrength),
Frequency(f32),
RelativeChange((f32, Sign, Unit)),
}
Expand description
Although the exact meaning of “pitch range” will vary across synthesis processors, increasing/decreasing this value will typically increase/decrease the dynamic range of the output pitch.
“Speech Synthesis Markup Language (SSML) Version 1.1” Copyright © 2010 W3C® (MIT, ERCIM, Keio), All Rights Reserved.
Variants§
Strength(PitchStrength)
Specifies the range in terms of a strength enum
Frequency(f32)
Specify it in terms of absolute frequencies
RelativeChange((f32, Sign, Unit))
Specifies the range in terms of relative changes between an existing pitch.
Trait Implementations§
Source§impl Clone for PitchRange
impl Clone for PitchRange
Source§fn clone(&self) -> PitchRange
fn clone(&self) -> PitchRange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PitchRange
impl Debug for PitchRange
Source§impl Display for PitchRange
impl Display for PitchRange
Source§impl FromStr for PitchRange
impl FromStr for PitchRange
Source§impl PartialEq for PitchRange
impl PartialEq for PitchRange
Source§impl PartialOrd for PitchRange
impl PartialOrd for PitchRange
impl Copy for PitchRange
impl StructuralPartialEq for PitchRange
Auto Trait Implementations§
impl Freeze for PitchRange
impl RefUnwindSafe for PitchRange
impl Send for PitchRange
impl Sync for PitchRange
impl Unpin for PitchRange
impl UnwindSafe for PitchRange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more