pub fn synthesize(&mut self, text: &str) -> Result<Vec<i16>> {        
        let audio_buffer: AudioBuffer = Mutex::new(Vec::<i16>::new());
        self._synthesize(text, Some(&audio_buffer))?;
        Ok(audio_buffer.into_inner())
    }
/// Processes the given text into WAV audio data.
/// 
/// # Errors
/// If the internal espeak synthesis fails, see [`ESpeakNgError`]
Processes the given text into WAV audio data.
Processes the given text into WAV audio data .
pub fn synthesize(&mut self, text: &str) -> Result<Vec<i16>> {        
        let audio_buffer: AudioBuffer = Mutex::new(Vec::<i16>::new());
        self._synthesize(text, Some(&audio_buffer))?;
        Ok(audio_buffer.into_inner())
    }
pub fn synthesize ( & mut self , text : & str ) -> Result < Vec < i16 > > { let audio_buffer : AudioBuffer = Mutex :: new ( Vec :: < i16 > :: new ( ) ) ; self . _synthesize ( text , Some ( & audio_buffer ) ) ? ; Ok ( audio_buffer . into_inner ( ) ) }
Processes the given text into WAV audio data.
Processes the given text into WAV audio data .
&mut self
text
&str
&mut self
text
&str
errors
If the internal espeak synthesis fails, see [`ESpeakNgError`]
If the internal espeak synthesis fails see [ ` ESpeakNgError ` ]