This plugin integrates Web Speech API's speech synthesis capabilities, allowing text-to-speech functionalities and speech recognition within VisualNEO Web applications.
V: 1.3

neoTalkSpeak

Purpose:

Speak the provided text using the specified voice, rate, and pitch.

Category:

neoTalk

Syntax:

neoTalkSpeak "text" "voice" rate pitch

 

text

Text to speak

voice

Voice name (left empty for default voice)

rate

Speech rate (0.1 to 10) Default 1

pitch

Speech pitch (0 to 2) Default 1

 

neoTalkPause

Purpose:

Pause ongoing speech synthesis.

Category:

neoTalk

Syntax:

neoTalkPause

 

 

neoTalkResume

Purpose:

Resume paused speech synthesis.

Category:

neoTalk

Syntax:

neoTalkResume

 

 

neoTalkCancel

Purpose:

Cancel all speech synthesis.

Category:

neoTalk

Syntax:

neoTalkCancel

 

 

neoTalkGetVoices

Purpose:

Retrieve all available voices and store them in the specified array.

Category:

neoTalk

Syntax:

neoTalkGetVoices returnVar

 

returnVar

Array variable to store voice names

 

neoTalkStartRecognition

Purpose:

Start speech recognition (requires user consent to record microphone). It can't work simultaneously with audio recording.

Category:

neoTalk

Syntax:

neoTalkStartRecognition returnVar continuous lang callBack

 

returnVar

Variable to store recognized text

continuous

Continuous recognition (if false stops on silence)

lang

Language code (default 'en-US')

callBack

Callback subroutine (optional)

 

neoTalkStopRecognition

Purpose:

Stop speech recognition.

Category:

neoTalk

Syntax:

neoTalkStopRecognition

 

 

neoTalkAudioRecord

Purpose:

Start recording audio from the user's microphone (requires user consent to record microphone). It can't work simultaneously with speech recognition.

Category:

neoTalk

Syntax:

neoTalkAudioRecord saveToVariable callbackSubroutine

 

saveToVariable

Variable to store the recorded sound (Base64 encoded)

callbackSubroutine

Callback subroutine (optional)

 

neoTalkAudioStopRecording

Purpose:

Stop the current audio recording session and save the recording.

Category:

neoTalk

Syntax:

neoTalkAudioStopRecording

 

 

neoTalkAudioPlay

Purpose:

Play the recorded audio.

Category:

neoTalk

Syntax:

neoTalkAudioPlay variableName

 

variableName

Variable with stored recorded audio

 

neoTalkAudioDownload

Purpose:

Save the last recorded audio as a .webm audio file.

Category:

neoTalk

Syntax:

neoTalkAudioDownload "fileName" variableName

 

fileName

File name (.webm will be added automatically)

variableName

Variable with stored recorded audio

 

Created with the Personal Edition of HelpNDoc: Streamline Your Documentation Creation with a Help Authoring Tool