Difference between revisions of "Component: Speech (Phoneme) (Audio Output)"
Line 14: | Line 14: | ||
==Speech (Phoneme) component== | ==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. | 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 Pack== | ||
+ | |||
+ | STORAGE | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 26: | Line 32: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Revision as of 16:25, 7 January 2022
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 Pack
STORAGE
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
Example of Real Speak Speech (simulation only)
Speech2
Adding additional language packs to the Real Speak engine.
Downloadable macro reference
![]() |
ReadPhonemeLength |
Function to return the number of bytes used in a single phoneme array. | |
![]() |
Phoneme |
Specifies a single Phoneme | |
![]() |
Return |
![]() |
EnableOutput |
Sets up the output to allow the speech data to be streamed out. | |
![]() |
Return |
![]() |
DisableOutput |
Disables the output to prevent any buzzing etc while not speaking. | |
![]() |
Return |
![]() |
OutputPhoneme |
Streams a single Phoneme or string of comma seperated Phonemes. OutputPhoneme("OY") OutputPhoneme("OY,AY,OY") | |
![]() |
DataString |
![]() |
Return |