Component: Speech (Phoneme) (Audio Output)
Author | Matrix Ltd |
Version | 1.2 |
Category | Audio Output |
Contents
Speech (Phoneme) component
Speech component allowing Phoneme based speech for use on an embedded platform. The simulation also has an advanced speech engine allowing realistic text to speech in multiple languages using the RealSpeak voice engine.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_speech.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_speech.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Example of Phoneme Speech (download and simulation) Speech The Phoneme based speech can be output on Microcontroller hardware using a number of methods.
PWM - Outputs using a single PWM pin, a simple external RC low pass filter can be used to remove the high frequency PWM to create an audio signal.
Parallel - Outputs using a 8-bit port, a simple 8-bit R2R DAC circuit can be used to combine the bits into an audio signal.
Other - A third option is to use the ReadByteFromPhoneme macro to pull out the phoneme values a byte at a time which can be used to pass on to an external DAC etc.
Another example of Phoneme Speech, taking a reading from an analogue channel and speaking the Voltage. (download and simulation)
Talking Volt Meter
Macro reference
DisableOutput
DisableOutput | |
Disables the output to prevent any buzzing etc while not speaking. | |
- VOID | Return |
EnableOutput
EnableOutput | |
Sets up the output to allow the speech data to be streamed out. | |
- VOID | Return |
OutputPhoneme
OutputPhoneme | |
Streams a single Phoneme or string of comma seperated Phonemes. OutputPhoneme("OY") OutputPhoneme("OY,AY,OY") | |
- STRING | DataString |
- VOID | Return |
ReadByteFromPhoneme
ReadPhonemeLength
ReadPhonemeLength | |
Function to return the number of bytes used in a single phoneme array. | |
- STRING | Phoneme |
Specifies a single Phoneme | |
- UINT | Return |