A B C D E F G H I J L M N O P Q R S T U V W

A

acceptBytes(byte[], int, int) - Method in class com.cloudgarden.audio.AudioServerSource
An RMI method called by the remote client to send data to this class.
acceptBytes(byte[], int, int) - Method in interface com.cloudgarden.audio.AudioInputServerI
 
ADD_REMOVE_WORD_UI - Static variable in class com.cloudgarden.speech.CGEngineProperties
 
addAudioListener(AudioListener) - Method in class com.cloudgarden.speech.CGAudioManager
 
addClient(String) - Method in class com.cloudgarden.audio.AudioServer
 
addClientListener(ClientListener) - Method in class com.cloudgarden.audio.AudioServer
 
addDataSinkListener(DataSinkListener) - Method in class com.cloudgarden.audio.CGDataSink
 
addImport(RuleName) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
addPropertyChangeListener(PropertyChangeListener) - Method in class com.cloudgarden.speech.CGEngineProperties
 
addRecognizer(RecognizerNode) - Method in class com.cloudgarden.speech.userinterface.SpeechEngineTree
 
addResultListener(ResultListener) - Method in class com.cloudgarden.speech.CGResult
 
addServerListener(ServerListener) - Method in class com.cloudgarden.audio.AudioClientSource
 
addSink(AudioSink) - Method in class com.cloudgarden.audio.AudioSplitter
Starts a thread which gets data from the source and writes (copies) it to all the sinks added using the addSink method.
addSynthesizer(SynthesizerNode) - Method in class com.cloudgarden.speech.userinterface.SpeechEngineTree
 
addTransferListener(TransferListener) - Method in class com.cloudgarden.speech.CGAudioManager
 
addTransferListener(TransferListener) - Method in class com.cloudgarden.audio.DefaultAudioObject
 
addTransferListener(TransferListener) - Method in interface com.cloudgarden.audio.AudioObject
Adds a TransferListener to receive notification when data is passed to or from this AudioObject
addTransferListener(TransferListener) - Method in class com.cloudgarden.audio.AudioServer
 
allowGuessingOfSpeaker(boolean) - Method in class com.cloudgarden.speech.CGEngineProperties
If set to "true" allows SAPI4 Recognizers to "guess" the current SpeakerProfile, so that subsequent calls to SpeakerManager.getCurrentSpeaker will return the profile that the engine is currently using.
areUniqueGuessesAccepted() - Method in class com.cloudgarden.speech.CGRuleGrammar
 
AUDIO_PROPS_UI - Static variable in class com.cloudgarden.speech.CGEngineProperties
 
AUDIO_VOL_UI - Static variable in class com.cloudgarden.speech.CGEngineProperties
 
AudioClientSink - class com.cloudgarden.audio.AudioClientSink.
This class provides an AudioSink wrapper around a handle to a remote AudioServerSource RMI object.
AudioClientSink(String, String, int) - Constructor for class com.cloudgarden.audio.AudioClientSink
Creates new AudioClientSink, and connects to the remote AudioInputSocketI identified by the server, port and remoteName parameters.
AudioClientSource - class com.cloudgarden.audio.AudioClientSource.
This class provides an AudioSource wrapper around a handle to a remote AudioOutputSocket.
AudioClientSource(String, String, int) - Constructor for class com.cloudgarden.audio.AudioClientSource
Creates new AudioClientSource, and connects to the remote AudioOutputSocketI identified by the server, port and remoteName parameters.
AudioConnector - interface com.cloudgarden.audio.AudioConnector.
An interface to identify AudioObjects which implement both an AudioSink and an AudioSource.
AudioConverter - interface com.cloudgarden.audio.AudioConverter.
An interface to identify AudioObjects which implement both an AudioSink and an AudioSource and have different input and output formats
AudioFileSink - class com.cloudgarden.audio.AudioFileSink.
AudioSink wrapper for a File, enabling audio data to be written to a File.
AudioFileSink(File, AudioFileFormat) - Constructor for class com.cloudgarden.audio.AudioFileSink
 
AudioFileSink(File, AudioFormat, AudioFileFormat.Type) - Constructor for class com.cloudgarden.audio.AudioFileSink
 
AudioFileSink(File, AudioSource, AudioFileFormat.Type) - Constructor for class com.cloudgarden.audio.AudioFileSink
Creates an AudioFileSink to receive data from the given AudioSource, with the same AudioFormat as the AudioSource, and the given fileType.
AudioFileSource - class com.cloudgarden.audio.AudioFileSource.
AudioSource wrapper for a File, enabling audio data to be read from a File.
AudioFileSource(File) - Constructor for class com.cloudgarden.audio.AudioFileSource
Creates new AudioFileSource
AudioFormatConverter - class com.cloudgarden.audio.AudioFormatConverter.
Basic audio format converter, which is guaranteed to convert between any two javax.sound.sampled.AudioFormats - this is unlike the javax.sound.sampled.AudioSystem conversion, which sometimes can't provide the needed conversions.
AudioFormatConverter() - Constructor for class com.cloudgarden.audio.AudioFormatConverter
 
AudioFormatConverter(AudioSource, AudioFormat) - Constructor for class com.cloudgarden.audio.AudioFormatConverter
Creates a AudioConverterSource with an output AudioFormat specified by the AudioFormat fmt parameter.
AudioFormatConverter(AudioSource, AudioFormat, boolean) - Constructor for class com.cloudgarden.audio.AudioFormatConverter
Creates a AudioConverterSource with an output AudioFormat specified by the AudioFormat fmt parameter.
AudioFormatConverter(AudioSource, AudioFormat, boolean, boolean) - Constructor for class com.cloudgarden.audio.AudioFormatConverter
Creates a AudioConverterSource with an output AudioFormat specified by the AudioFormat fmt parameter.
AudioFormatConverter(AudioSource, AudioSink) - Constructor for class com.cloudgarden.audio.AudioFormatConverter
Converts from the src's AudioFormat to the sink's AudioFormat, with no interpolation or smoothing
AudioFormatConverter(AudioSource, AudioSink, boolean) - Constructor for class com.cloudgarden.audio.AudioFormatConverter
Converts from the src's AudioFormat to the sink's AudioFormat, with no smoothing
AudioFormatConverter(AudioSource, AudioSink, boolean, boolean) - Constructor for class com.cloudgarden.audio.AudioFormatConverter
Converts from the src's AudioFormat to the sink's AudioFormat, with interpolation and smoothing as specified.
AudioInputServerI - interface com.cloudgarden.audio.AudioInputServerI.
Remote interface for obtaining audio data from a client.
audioLevel(RecognizerAudioEvent) - Method in class examples.TestAudioListener
 
AudioLineSink - class com.cloudgarden.audio.AudioLineSink.
AudioSink wrapper for a SourceDataLine.
AudioLineSink(AudioFormat) - Constructor for class com.cloudgarden.audio.AudioLineSink
 
AudioLineSink(AudioSource) - Constructor for class com.cloudgarden.audio.AudioLineSink
Creates an AudioLineSink to receive data from the given AudioSource, with the same AudioFormat as the AudioSource.
AudioLineSink(int, int, int, boolean, boolean) - Constructor for class com.cloudgarden.audio.AudioLineSink
 
AudioLineSink(SourceDataLine) - Constructor for class com.cloudgarden.audio.AudioLineSink
Creates new AudioLineSink
AudioLineSource - class com.cloudgarden.audio.AudioLineSource.
AudioSource wrapper for a TargetDataLine.
AudioLineSource(AudioFormat) - Constructor for class com.cloudgarden.audio.AudioLineSource
Creates a TargetDataLine with the given AudioFormat, opens and starts it.
AudioLineSource(AudioSink) - Constructor for class com.cloudgarden.audio.AudioLineSource
Creates an AudioLineSource to push data to the given AudioSink, with the same AudioFormat as the AudioSink.
AudioLineSource(int, int, int, boolean, boolean) - Constructor for class com.cloudgarden.audio.AudioLineSource
Creates a TargetDataLine with the given AudioFormat parameters and opens it.
AudioLineSource(TargetDataLine) - Constructor for class com.cloudgarden.audio.AudioLineSource
Creates new AudioLineSource using the given line, opens and starts the line.
AudioMediaFormatConverter - class com.cloudgarden.audio.AudioMediaFormatConverter.
Basic audio format converter, which is guaranteed to convert between any two AudioFormats provided both are 16-bit - this is unlike the javax.sound.sampled.AudioSystem conversion, which sometimes can't provide the needed conversions.
AudioMediaFormatConverter() - Constructor for class com.cloudgarden.audio.AudioMediaFormatConverter
 
AudioMediaFormatConverter(AudioSource, AudioSink) - Constructor for class com.cloudgarden.audio.AudioMediaFormatConverter
 
AudioMediaFormatConverter(AudioSource, String) - Constructor for class com.cloudgarden.audio.AudioMediaFormatConverter
 
AudioMediaLineSink - class com.cloudgarden.audio.AudioMediaLineSink.
AudioSink wrapper for a javax.media playback device, enabling audio data to be played to speakers etc (avoiding the bugs encountered by the javax.sound.sampled playback devices when a TargetDataLine is running at the same time).
AudioMediaLineSink(AudioFormat) - Constructor for class com.cloudgarden.audio.AudioMediaLineSink
 
AudioMediaLineSink(AudioSource) - Constructor for class com.cloudgarden.audio.AudioMediaLineSink
Creates an AudioLineSink to receive data from the given AudioSource, with the same AudioFormat as the AudioSource.
AudioMediaLineSink(int, int, int, boolean, boolean) - Constructor for class com.cloudgarden.audio.AudioMediaLineSink
 
AudioMediaLineSource - class com.cloudgarden.audio.AudioMediaLineSource.
AudioSource wrapper for a javax.media capture device, enabling audio data to be captured from a microphone etc (avoiding the bugs encountered by the javax.sound.sampled capture devices when a SourceDataLine is running at the same time).
AudioMediaLineSource(AudioFormat) - Constructor for class com.cloudgarden.audio.AudioMediaLineSource
Creates new AudioMediaFileSource.
AudioMediaURLSink - class com.cloudgarden.audio.AudioMediaURLSink.
Writes audio data to a URL using the JMF packages, with content type defined by one of the FileTypeDescriptor String fields, eg MPEG_AUDIO, QUICKTIME etc
AudioMediaURLSink(URL, String) - Constructor for class com.cloudgarden.audio.AudioMediaURLSink
contentType should be one of the FileTypeDescriptor String fields, eg MPEG_AUDIO, QUICKTIME etc
AudioMediaURLSource - class com.cloudgarden.audio.AudioMediaURLSource.
AudioSource wrapper for a URL, enabling audio data to be read from a URL.
AudioMediaURLSource(URL, AudioFormat) - Constructor for class com.cloudgarden.audio.AudioMediaURLSource
Creates new AudioMediaFileSource.
AudioObject - interface com.cloudgarden.audio.AudioObject.
Basic interface which is extended by AudioSource and AudioSink.
AudioOutputServerI - interface com.cloudgarden.audio.AudioOutputServerI.
Remote interface for allowing a client to obtain audio data from a server.
AudioPipe - class com.cloudgarden.audio.AudioPipe.
A class which has an internal buffer, which it uses to store data read from it's source (set using the setSource method) before being sent to it's sink (set using the setSink method).
AudioPipe() - Constructor for class com.cloudgarden.audio.AudioPipe
 
AudioServer - class com.cloudgarden.audio.AudioServer.
This class allows an AudioSink (eg a Recognizer's CGAudioManager) to receive audio input from a remote machine.
AudioServer() - Constructor for class com.cloudgarden.audio.AudioServer
 
AudioServer(String, InetAddress, int) - Constructor for class com.cloudgarden.audio.AudioServer
Creates, initializes and binds an AudioSocket to the given remoteName in the local registry.
AudioServerI - interface com.cloudgarden.audio.AudioServerI.
Remote interface for allowing a client to connect to and disconnect from a server, and to get/set it's AudioFormat.
AudioServerSink - class com.cloudgarden.audio.AudioServerSink.
This class sends audio output to a remote (client) machine.
AudioServerSink() - Constructor for class com.cloudgarden.audio.AudioServerSink
 
AudioServerSink(String, InetAddress, int) - Constructor for class com.cloudgarden.audio.AudioServerSink
Creates, initializes and binds an AudioOutputSocket to the given remoteName in the local registry.
AudioServerSource - class com.cloudgarden.audio.AudioServerSource.
This class receives audio input from a remote (client) machine.
AudioServerSource(String, InetAddress, int) - Constructor for class com.cloudgarden.audio.AudioServerSource
Creates, initializes and binds an AudioInputSocket to the given remoteName in the local registry.
AudioSink - interface com.cloudgarden.audio.AudioSink.
An interface representing a class which accepts audio data, and which can be connected to an AudioSource.
AudioSource - interface com.cloudgarden.audio.AudioSource.
An interface representing a class which generates audio data, and which can be connected to an AudioSink.
AudioSplitter - class com.cloudgarden.audio.AudioSplitter.
A class designed to allow a single AudioSource to supply the same audio data to multiple AudioSinks (useful, say, to broadcast speech to multiple remote clients).
AudioSplitter() - Constructor for class com.cloudgarden.audio.AudioSplitter
Creates new SynthesizerAudioStream
AudioStreamSource - class com.cloudgarden.audio.AudioStreamSource.
AudioSource wrapper for an AudioInputStream
AudioStreamSource(AudioInputStream) - Constructor for class com.cloudgarden.audio.AudioStreamSource
 
AudioStreamSourceTest - class examples.audio.AudioStreamSourceTest.
Demonstrates copying an mp3 file to a gsm file, then playing the gsm file to an AudioLineSink
AudioStreamSourceTest() - Constructor for class examples.audio.AudioStreamSourceTest
 

B

blockWhilePaused() - Method in class com.cloudgarden.audio.DefaultAudioObject
Blocks while paused is true - should be used by classes extending this class to block in the write method.
blockWhileWaiting() - Method in class com.cloudgarden.audio.DefaultAudioObject
Blocks while isWaiting returns false
BYTES_TRANSFERRED - Static variable in class com.cloudgarden.audio.ClientEvent
 
BYTES_TRANSFERRED - Static variable in class com.cloudgarden.audio.TransferEvent
 
bytesTransferred(byte[], int, int, int) - Method in class com.cloudgarden.speech.CGAudioManager
 
bytesTransferred(byte[], int, int, int) - Method in class com.cloudgarden.audio.DefaultAudioObject
Notifies any TransferListeners that bytes are about to be transferred (either read or written).
bytesTransferred(byte[], int, int, int) - Method in class com.cloudgarden.audio.AudioServer
 
bytesTransferred(ClientEvent) - Method in class com.cloudgarden.audio.ClientAdapter
 
bytesTransferred(ClientEvent) - Method in interface com.cloudgarden.audio.ClientListener
Called when bytes are about to be transferred to or from a client.
bytesTransferred(ClientEvent) - Method in class examples.remote.TestClientListener
 
bytesTransferred(ClientEvent) - Method in class examples.remote.WhatTimeIsItServer
 
bytesTransferred(String, byte[], int, int, int) - Method in class com.cloudgarden.audio.AudioServer
 
bytesTransferred(TransferEvent) - Method in interface com.cloudgarden.audio.TransferListener
Issued when bytes are about to be transferred.
bytesTransferred(TransferEvent) - Method in class examples.remote.TestTransferListener
Issued when bytes are about to be transferred.

C

canSetAudioFormat() - Method in class com.cloudgarden.speech.CGAudioManager
Used to test whether the AudioFormat of the Synthesizer or Recognizer can be set using the setAudioFormat method.
canSetAudioFormat() - Method in class com.cloudgarden.audio.DefaultAudioObject
 
canSetAudioFormat() - Method in class com.cloudgarden.audio.AudioLineSource
The AudioFormat is set when the AudioLineSource is created and cannot be changed, since the TargetDataLine cannot change its format once created.
canSetAudioFormat() - Method in interface com.cloudgarden.audio.AudioObject
Returns false if the AudioFormat cannot be set - eg some Recognizers may not be able to change their input format, so the CGAudioManager (which is an AudioSink) for that Recognizer will return false here.
canSetAudioFormat() - Method in class com.cloudgarden.audio.AudioServer
 
canSetAudioFormat() - Method in class com.cloudgarden.audio.AudioServerSource
 
canSetAudioFormat() - Method in class com.cloudgarden.audio.AudioServerSink
 
canSetAudioFormat() - Method in class com.cloudgarden.audio.AudioLineSink
The AudioFormat is set when the AudioLineSink is created and cannot be changed
CaptureAndPlay - class examples.rtp.CaptureAndPlay.
This class opens two RTP steams - one receives audio data from the url "rtp://:12346/audio" and plays it to the local output device, and the other sends audio data (captured from the local audio capture device) to the url "rtp://:12344/audio".
CaptureAndPlay(String, double, int, int, String, String) - Constructor for class examples.rtp.CaptureAndPlay
 
CGAudioManager - class com.cloudgarden.speech.CGAudioManager.
In addition to the functions offered by the javax.speech.AudioManager class, this class provides several methods for redirecting audio input/output.
CGDataSink - class com.cloudgarden.audio.CGDataSink.
This class should only be created by the JSAPI implementation - a new instance is created and returned by a call to CGAudioManager.getDataSink
CGDataSink(AudioPipe) - Constructor for class com.cloudgarden.audio.CGDataSink
Creates new CGDataSink
CGEngineCentral - class com.cloudgarden.speech.CGEngineCentral.
This class provides the standard methods of the EngineCentral interface, but also allows synchronization with the AWT EventQueue to be turned on or off.
CGEngineCentral() - Constructor for class com.cloudgarden.speech.CGEngineCentral
 
CGEngineProperties - class com.cloudgarden.speech.CGEngineProperties.
This class provides the standard methods of the EngineProperties interface, but also allows UI components specific to the Microsoft speech API to be displayed.
CGPullBufferDataSource - class com.cloudgarden.audio.CGPullBufferDataSource.
This class should only be created by the JSAPI implementation - a new instance is created and returned by a call to CGAudioManager.getDataSource
CGPullBufferDataSource(AudioSource) - Constructor for class com.cloudgarden.audio.CGPullBufferDataSource
Creates new CGDataSource
CGResult - class com.cloudgarden.speech.CGResult.
Implements both the FinalRuleResult and FinalDictationResult interfaces, as described in the JSAPI documentation, but adds two methods allowing the user to obtain the recognizer's confidence in it's estimate of the current result.
CGResultAudioClip - class com.cloudgarden.speech.CGResultAudioClip.
Allows audio data from a recognized utterance to be played back or saved to a WAVE file.
CGResultAudioClip(CGRecognizer, long, CGResult) - Constructor for class com.cloudgarden.speech.CGResultAudioClip
Creates new CGResultAudioClip
CGResultAudioClip(CGRecognizer, long, int, int, CGResult) - Constructor for class com.cloudgarden.speech.CGResultAudioClip
 
CGRuleGrammar - class com.cloudgarden.speech.CGRuleGrammar.
 
CGRuleGrammar(String, int, CGRecognizer) - Constructor for class com.cloudgarden.speech.CGRuleGrammar
 
CGSpeakableAdapter - class com.cloudgarden.speech.CGSpeakableAdapter.
Provides default implementations of the CGSpeakableAdapter methods.
CGSpeakableAdapter() - Constructor for class com.cloudgarden.speech.CGSpeakableAdapter
 
CGSpeakableEvent - class com.cloudgarden.speech.CGSpeakableEvent.
Extends SpeakableEvent to provide information on lip-sync events.
CGSpeakableEvent(Object, int, int, int) - Constructor for class com.cloudgarden.speech.CGSpeakableEvent
 
CGSpeakableListener - interface com.cloudgarden.speech.CGSpeakableListener.
Adds methods to the SpeakableListener interface to allow lip-sync events to be passed from a synthesizer.
changesCommitted(RecognizerEvent) - Method in class examples.TestEngineListener
 
checkClient() - Method in class com.cloudgarden.audio.AudioServer
 
checkSelection() - Method in class com.cloudgarden.speech.userinterface.SpeechControlPanel
Returns false unless you have selected a Profile and/or Voice, depending on the mode of this panel - ie, if the mode is SHOW_SYNTHESIZERS | SHOW_RECOGNIZERS both a SpeakerProfile and Voice will need to be selected for this method to return true.
cleanup() - Method in class com.cloudgarden.speech.userinterface.SynthesizerPropertyPanel
Deallocates the synthesizer.
cleanup() - Method in class com.cloudgarden.speech.userinterface.SpeechEngineTree
Deallocates all Recognizers and Synthesizers which were allocated while the SpeechTree was opened - must be called on exit.
cleanup() - Method in class com.cloudgarden.speech.userinterface.RecognizerPropertyPanel
Deallocates the recognizer
cleanup() - Method in class com.cloudgarden.speech.userinterface.SpeechControlPanel
Should be called when this panel is destroyed - deallocates any Recognizers/Synthesizers which were allocated.
CLIENT_ADDED - Static variable in class com.cloudgarden.audio.ClientEvent
 
CLIENT_REMOVED - Static variable in class com.cloudgarden.audio.ClientEvent
 
ClientAdapter - class com.cloudgarden.audio.ClientAdapter.
Used to recieve notices that a client has attached or removed itself to or from an AudioSocketSource.
ClientAdapter() - Constructor for class com.cloudgarden.audio.ClientAdapter
 
clientAdded(ClientEvent) - Method in class com.cloudgarden.audio.ClientAdapter
 
clientAdded(ClientEvent) - Method in interface com.cloudgarden.audio.ClientListener
Issued when a client attaches itself to an AudioSocketSource - the Thread is the thread handling the client request.
clientAdded(ClientEvent) - Method in class examples.remote.TestClientListener
 
clientAdded(ClientEvent) - Method in class examples.remote.WhatTimeIsItServer
 
clientAddress - Variable in class com.cloudgarden.audio.AudioServer
 
ClientEvent - class com.cloudgarden.audio.ClientEvent.
Class to hold information when a ClientListener signals an event.
ClientEvent(Object, String, Thread, int, byte[], int, int, int) - Constructor for class com.cloudgarden.audio.ClientEvent
Creates a new instance of ClientEvent
ClientListener - interface com.cloudgarden.audio.ClientListener.
Used by a server to receive notices that a client has attached or removed itself to or from an AudioSocketSource, and also to be informed of the bytes transferred to or from a specific client.
clientListeners - Static variable in class com.cloudgarden.audio.AudioServer
 
clientRemoved(ClientEvent) - Method in class com.cloudgarden.audio.ClientAdapter
 
clientRemoved(ClientEvent) - Method in interface com.cloudgarden.audio.ClientListener
 
clientRemoved(ClientEvent) - Method in class examples.remote.TestClientListener
 
clientRemoved(ClientEvent) - Method in class examples.remote.WhatTimeIsItServer
 
clients - Static variable in class com.cloudgarden.audio.AudioServer
 
clientToServer() - Method in class examples.remote.FileToLineRemote
 
close() - Method in class com.cloudgarden.audio.AudioLineSource
Closes the line
close() - Method in class com.cloudgarden.audio.CGDataSink
 
close() - Method in class com.cloudgarden.audio.AudioLineSink
Closes the line
close() - Method in class examples.rtp.RTPDictationVoiceServer
 
close() - Method in class examples.rtp.RTPCommandVoiceServer
 
closeConnection() - Method in class com.cloudgarden.audio.AudioClientSource
Informs the AudioServerSink that this client has finished with it's connection - causes the AudioServer to send a CLIENT_REMOVED signal.
closeConnection() - Method in class com.cloudgarden.audio.AudioServer
 
closeConnection() - Method in class com.cloudgarden.audio.DefaultAudioClient
Informs the AudioServerSource that this client has finished with it's connection
closeConnection() - Method in interface com.cloudgarden.audio.AudioServerI
 
closeConnection() - Method in class com.cloudgarden.audio.AudioClientSink
Informs the AudioServerSource that this client has finished with it's connection - causes the AudioServer to send a CLIENT_REMOVED signal.
closed - Variable in class com.cloudgarden.audio.AudioServer
 
closeInput() - Method in class com.cloudgarden.speech.CGAudioManager
Closes the input stream - and allows the CGAudioManager.drain() method (as well as the drain method of any sinks/sources connected to it) to exit.
closeOutput() - Method in class com.cloudgarden.speech.CGAudioManager
Closes the output stream - causes the read method to return END_OF_DATA when the current synthesized speech has finished.
closeOutputFile() - Method in class com.cloudgarden.speech.CGAudioManager
Closes the wave audio file opened in a preceding setOutputFile call.
closeServer() - Method in class com.cloudgarden.audio.AudioServer
Closes the socket and unbinds it from the registry.
com.cloudgarden.audio - package com.cloudgarden.audio
This package provides classes originally intended for redirecting output from a Synthesizer to a File, a SourceDataLine, a remote client or a custom AudioSink, and providing audio data to a Recognizer from a File, TargetDataLine, remote client or a custom AudioSource.
com.cloudgarden.speech - package com.cloudgarden.speech
The com.cloudgarden.speech package provides public access to a few classes which implement interfaces in the javax.speech packages but add a few additional functions.
com.cloudgarden.speech.userinterface - package com.cloudgarden.speech.userinterface
The com.cloudgarden.speech.userinterface package provides classes for drawing a mouth shape as defined by a CGSpeakableEvent displaying speech engines in an extension of a JTree (a SpeechEngineTree), with the SpeechEngineChooser class providing various dialogs for selecting speech engines, SpeakerProfiles and Voices.
COMMAND - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
CommandsFromFile - class examples.recognition.CommandsFromFile.
Tests out recognition of various words or phrases (programmed as rules in a RuleGrammar) from a wave file.
CommandsFromFile() - Constructor for class examples.recognition.CommandsFromFile
 
compress(boolean) - Method in class examples.remote.FileToLineRemote
 
connect() - Method in class com.cloudgarden.audio.CGPullBufferDataSource
 
contentType - Variable in class com.cloudgarden.audio.DefaultAudioObject
 
contentType - Variable in class com.cloudgarden.audio.CGDataSink
 
contentType - Variable in class com.cloudgarden.audio.AudioServer
 
controllerUpdate(ControllerEvent) - Method in class com.cloudgarden.audio.CGDataSink
 
controllerUpdate(ControllerEvent) - Method in class com.cloudgarden.audio.AudioMediaURLSink
 
controllerUpdate(ControllerEvent) - Method in class com.cloudgarden.audio.AudioMediaFormatConverter
 
controllerUpdate(ControllerEvent) - Method in class com.cloudgarden.audio.AudioMediaLineSink
 
controllerUpdate(ControllerEvent) - Method in class examples.synthesis.MPEGFileWriter
 
controllerUpdate(ControllerEvent) - Method in class examples.synthesis.ReadAliceToMPEGFile
 
ConversionTest - class examples.audio.ConversionTest.
Demonstrates the AudioFormatConverter's capabilities, converting from 8 to 16kHz with and without linear interpolation.
ConversionTest() - Constructor for class examples.audio.ConversionTest
 
convert(byte[], byte[], int, int, boolean, boolean) - Method in class com.cloudgarden.audio.AudioFormatConverter
Converts an array of bytes of audio data from the source and fills the given destination array with bytes converted to the sink's audio format.
convertToLittleEndian(AudioFormat) - Static method in class com.cloudgarden.audio.AudioFileSource
Utility method which returns an AudioFormat which has the same sampleRate, sampleSize and channels as the original, but with littleEndian format.
convertToLittleEndian(AudioInputStream) - Static method in class com.cloudgarden.audio.AudioFileSource
Utility method which returns an AudioInputStream which has the same sampleRate, sampleSize and channels as the original, but with littleEndian format.
convertToMouthShapeEvent() - Method in class com.cloudgarden.speech.CGSpeakableEvent
If this event was a VISEME event, generate mouth-shape parameters corresponding to the viseme.
createEngineList(EngineModeDesc) - Method in class com.cloudgarden.speech.CGEngineCentral
 

D

dataSinkUpdate(DataSinkEvent) - Method in class com.cloudgarden.audio.AudioMediaURLSink
 
dataSinkUpdate(DataSinkEvent) - Method in class com.cloudgarden.audio.AudioMediaLineSink
 
dataSinkUpdate(DataSinkEvent) - Method in class examples.synthesis.MPEGFileWriter
 
dataSinkUpdate(DataSinkEvent) - Method in class examples.synthesis.ReadAliceToMPEGFile
 
DeadlockTest - class examples.DeadlockTest.
Demonstrates how to produce deadlock via the waitEngineState method and the CGEngineCentral setEventsInNewThread method.
DeadlockTest() - Constructor for class examples.DeadlockTest
 
DEBUG - Static variable in class com.cloudgarden.audio.CGPullBufferDataSource
 
DefaultAudioClient - class com.cloudgarden.audio.DefaultAudioClient.
The base class which connects to an AudioServerI and handles communication of AudioFormat information with the server.
DefaultAudioClient(String, String, int) - Constructor for class com.cloudgarden.audio.DefaultAudioClient
Creates new AudioClientSink, and connects to the remote AudioInputSocketI identified by the server, port and remoteName parameters.
DefaultAudioConnector - class com.cloudgarden.audio.DefaultAudioConnector.
 
DefaultAudioConnector() - Constructor for class com.cloudgarden.audio.DefaultAudioConnector
 
DefaultAudioConverter - class com.cloudgarden.audio.DefaultAudioConverter.
 
DefaultAudioConverter() - Constructor for class com.cloudgarden.audio.DefaultAudioConverter
 
DefaultAudioObject - class com.cloudgarden.audio.DefaultAudioObject.
The base class which implements the functionality of a generic AudioObject.
DefaultAudioObject() - Constructor for class com.cloudgarden.audio.DefaultAudioObject
 
DefaultAudioSink - class com.cloudgarden.audio.DefaultAudioSink.
The base class which implements all the functionality of a generic AudioSink except the write method.
DefaultAudioSink() - Constructor for class com.cloudgarden.audio.DefaultAudioSink
Creates new AudioSink
DefaultAudioSink(AudioSource) - Constructor for class com.cloudgarden.audio.DefaultAudioSink
Creates a DefaultAudioSink and calls setSource(src).
DefaultAudioSource - class com.cloudgarden.audio.DefaultAudioSource.
The base class which implements all the functionality of a generic AudioSource except the read method.
DefaultAudioSource() - Constructor for class com.cloudgarden.audio.DefaultAudioSource
Creates new AudioSource
deleteRule(String) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
DictationFromAudioStreamSource - class examples.recognition.DictationFromAudioStreamSource.
Receives input from a filtered line (demonstrates the AudioFilterSource for reducing power-line hum).
DictationFromAudioStreamSource() - Constructor for class examples.recognition.DictationFromAudioStreamSource
 
DictationFromFile - class examples.recognition.DictationFromFile.
Tests running a dictation grammar against input from a wave file.
DictationFromFile() - Constructor for class examples.recognition.DictationFromFile
 
DictationFromFileToFile - class examples.recognition.DictationFromFileToFile.
Reads audio data from a file, and uses an AudioSplitter to send the data to a recognizer as well as another file, saving the audio data in the same format as the recognizer, which may be different from the input file.
DictationFromFileToFile() - Constructor for class examples.recognition.DictationFromFileToFile
 
DictationFromLine - class examples.recognition.DictationFromLine.
Receives input from a filtered line (demonstrates the AudioFilterSource for reducing power-line hum).
DictationFromLine() - Constructor for class examples.recognition.DictationFromLine
 
DictationFromMPEGFile - class examples.recognition.DictationFromMPEGFile.
Tests dictation using audio data obtained from an mp3 file
DictationFromMPEGFile() - Constructor for class examples.recognition.DictationFromMPEGFile
 
DictationFromRTP - class examples.rtp.DictationFromRTP.
Allocates a recognizer, listening on an RTP port, and sends the contents of a WAV file to the RTP port the recognizer is listening on.
DictationFromRTP() - Constructor for class examples.rtp.DictationFromRTP
 
DictationTest - class examples.recognition.DictationTest.
Tests out basic dictation from the default audio device (usually the microphone) - also demonstrates getting the list of speaker profiles and setting the current speaker.
DictationTest() - Constructor for class examples.recognition.DictationTest
 
disconnect() - Method in class com.cloudgarden.audio.CGPullBufferDataSource
 
DLL_NAME - Static variable in class com.cloudgarden.speech.Version
 
drain() - Method in class com.cloudgarden.speech.CGAudioManager
 
drain() - Method in class com.cloudgarden.audio.DefaultAudioObject
 
drain() - Method in class com.cloudgarden.audio.DefaultAudioSource
 
drain() - Method in class com.cloudgarden.audio.AudioLineSource
Calls DefaultAudioSource.drain, then drains and stops the line.
drain() - Method in class com.cloudgarden.audio.AudioSplitter
 
drain() - Method in interface com.cloudgarden.audio.AudioObject
Blocks until END_OF_DATA is written to or read from this AudioObject.
drain() - Method in class com.cloudgarden.audio.AudioServerSource
 
drain() - Method in class com.cloudgarden.audio.AudioServerSink
 
drain() - Method in class com.cloudgarden.audio.AudioLineSink
Calls super.drain() then drains the line and stops it.
DuplexTest - class examples.recognition.DuplexTest.
Tests whether a duplex sound card is being used - keep saying one of the five commands ("Nice day", "Hello", "How are you" etc) while the computer is replying - the computer should hear what you said while it was still talking and reply when it has finished it's current reply.
DuplexTest() - Constructor for class examples.recognition.DuplexTest
 

E

EMPHASIS - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
END_OF_DATA - Static variable in interface com.cloudgarden.audio.AudioObject
sent as a value for length of data when there is no more data available to be read or written.
ENGINE_PROPS_UI - Static variable in class com.cloudgarden.speech.CGEngineProperties
 
engineAllocated(EngineEvent) - Method in class examples.TestEngineListener
 
engineAllocatingResources(EngineEvent) - Method in class examples.TestEngineListener
 
engineDeallocated(EngineEvent) - Method in class examples.TestEngineListener
 
engineDeallocatingResources(EngineEvent) - Method in class examples.TestEngineListener
 
engineError(EngineErrorEvent) - Method in class examples.TestEngineListener
 
enginePaused(EngineEvent) - Method in class examples.TestEngineListener
 
engineResumed(EngineEvent) - Method in class examples.TestEngineListener
 
examples - package examples
 
examples.audio - package examples.audio
 
examples.recognition - package examples.recognition
 
examples.remote - package examples.remote
 
examples.rtp - package examples.rtp
 
examples.synthesis - package examples.synthesis
 
examples.userinterface - package examples.userinterface
 
examples.vocab - package examples.vocab
 
exception - Variable in class com.cloudgarden.audio.DefaultAudioObject
 
EXCLAMATION - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 

F

FileToFiles - class examples.audio.FileToFiles.
Demonstrates reading from one file and writing to two different ones with different formats.
FileToFiles() - Constructor for class examples.audio.FileToFiles
 
FileToFileToLine - class examples.audio.FileToFileToLine.
Demonstrates copying an mp3 file to a gsm file, then playing the gsm file to an AudioLineSink
FileToFileToLine() - Constructor for class examples.audio.FileToFileToLine
 
FileToLineRemote - class examples.remote.FileToLineRemote.
Demonstrates network transmission of audio data in compressed (GSM) and uncompressed (RAW) formats - for ease of demonstration incorporates both server and client since both run on the localhost.
FileToLineRemote() - Constructor for class examples.remote.FileToLineRemote
 
FileToRTP - class examples.rtp.FileToRTP.
Plays file to RTP stream - to hear output stream, start up CaptureAndPlay class, then start this class.
FileToRTP() - Constructor for class examples.rtp.FileToRTP
 
focusGained(RecognizerEvent) - Method in class examples.TestEngineListener
 
focusLost(RecognizerEvent) - Method in class examples.TestEngineListener
 
format - Variable in class com.cloudgarden.audio.DefaultAudioObject
 
format - Variable in class com.cloudgarden.audio.CGDataSink
 
format - Variable in class com.cloudgarden.audio.AudioServer
 
FROM_CLIENT - Static variable in class com.cloudgarden.audio.ClientEvent
 

G

getAllEnginesDialog() - Static method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Returns a modal SpeechEngineChooser initialized to display all available Recognizers and Synthesizers.
getAllEnginesDialog(Frame) - Static method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Returns a modal SpeechEngineChooser initialized to display all available Recognizers and Synthesizers.
getAllEnginesDialog(Frame, RecognizerModeDesc, SynthesizerModeDesc) - Static method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Returns a modal SpeechEngineChooser initialized to display all available Recognizers that match the reqRec parameter and all Synthesizers that match the reqSyn parameter..
getAllEnginesDialog(RecognizerModeDesc, SynthesizerModeDesc) - Static method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Returns a modal SpeechEngineChooser initialized to display all available Recognizers that match the reqRec parameter and all Synthesizers that match the reqSyn parameter..
getAlternativeTokens(int) - Method in class com.cloudgarden.speech.CGResult
 
getAlternativeTokens(ResultToken, ResultToken, int) - Method in class com.cloudgarden.speech.CGResult
 
getAudio() - Method in class com.cloudgarden.speech.CGResult
 
getAudio(ResultToken, ResultToken) - Method in class com.cloudgarden.speech.CGResult
 
getAudioFormat() - Method in class com.cloudgarden.speech.CGAudioManager
Used to obtain the AudioFormat of the Synthesizer or Recognizer from which this CGAudioManager was obtained.
getAudioFormat() - Method in class com.cloudgarden.audio.DefaultAudioObject
 
getAudioFormat() - Method in class com.cloudgarden.audio.AudioClientSource
Constructs and returns an AudioFormat using calls to the remote underlying AudioOutputSocket.
getAudioFormat() - Method in class com.cloudgarden.audio.AudioLineSource
 
getAudioFormat() - Method in interface com.cloudgarden.audio.AudioObject
Returns the AudioFormat for this AudioObject.
getAudioFormat() - Method in class com.cloudgarden.audio.AudioServer
 
getAudioFormat() - Method in class com.cloudgarden.audio.DefaultAudioClient
Constructs and returns an AudioFormat using calls to the remote underlying AudioOutputSocket.
getAudioFormat() - Method in class com.cloudgarden.audio.AudioStreamSource
 
getAudioFormat() - Method in class com.cloudgarden.audio.AudioClientSink
Constructs and returns an AudioFormat using calls to the remote underlying AudioOutputSocket.
getAudioFormat() - Method in class com.cloudgarden.audio.AudioLineSink
 
getAWTSynchronization() - Static method in class com.cloudgarden.speech.CGEngineCentral
Returns true if speech events will be synchronized with the AWT EventQueue.
getBestToken(int) - Method in class com.cloudgarden.speech.CGResult
 
getBestTokens() - Method in class com.cloudgarden.speech.CGResult
 
getBottomLip() - Method in class com.cloudgarden.speech.userinterface.Mouth
Returns the polygon of points in this Component outlining the lower lip.
getBufferSize() - Method in class com.cloudgarden.audio.AudioPipe
 
getBytes(int) - Method in interface com.cloudgarden.audio.AudioOutputServerI
 
getBytes(int) - Method in class com.cloudgarden.audio.AudioServerSink
An RMI method called by the remote client to receive audio data from this class.
getCancelButton() - Method in class com.cloudgarden.speech.userinterface.SpeechControlPanel
 
getChannels() - Method in class com.cloudgarden.audio.AudioServer
 
getChannels() - Method in interface com.cloudgarden.audio.AudioServerI
 
getClientName() - Method in class com.cloudgarden.audio.ClientEvent
Returns ip address of client
getClients() - Static method in class com.cloudgarden.audio.AudioServer
 
getCompTO() - Method in class com.cloudgarden.speech.userinterface.RecognizerPropertyPanel
Returns the value of complete timeout set using a slider in this panel.
getConfidence() - Method in class com.cloudgarden.speech.userinterface.RecognizerPropertyPanel
Returns the value of confidence set using a slider in this panel.
getConfidence(int) - Method in class com.cloudgarden.speech.CGResult
Returns a confidence value from 0 to 100, indicating the degree of confidence the recognizer has in a certain alternate result (0 for the set of best tokens).
getContentType() - Method in class com.cloudgarden.speech.CGAudioManager
 
getContentType() - Method in class com.cloudgarden.audio.DefaultAudioObject
 
getContentType() - Method in class com.cloudgarden.audio.AudioClientSource
 
getContentType() - Method in interface com.cloudgarden.audio.AudioObject
 
getContentType() - Method in class com.cloudgarden.audio.CGDataSink
 
getContentType() - Method in class com.cloudgarden.audio.AudioServer
 
getContentType() - Method in class com.cloudgarden.audio.CGPullBufferDataSource
 
getContentType() - Method in class com.cloudgarden.audio.DefaultAudioClient
 
getContentType() - Method in interface com.cloudgarden.audio.AudioServerI
 
getContentType() - Method in class com.cloudgarden.audio.AudioClientSink
 
getControl(String) - Method in class com.cloudgarden.audio.CGDataSink
 
getControl(String) - Method in class com.cloudgarden.audio.CGPullBufferDataSource
 
getControlComponent() - Method in class com.cloudgarden.speech.CGEngineProperties
Obtain the AWT Component that provides the default user interface for setting the properties of this Engine.
getControlComponent(int) - Method in class com.cloudgarden.speech.CGEngineProperties
Method allowing Microsoft-specific user-interfaces which are not available using the getControlComponent() method to be displayed.
getControls() - Method in class com.cloudgarden.audio.CGDataSink
 
getControls() - Method in class com.cloudgarden.audio.CGPullBufferDataSource
 
getData() - Method in class com.cloudgarden.audio.ClientEvent
Returns reference to data being transferred
getData() - Method in class com.cloudgarden.audio.TransferEvent
Returns reference to data being transferred
getDataSink() - Method in class com.cloudgarden.speech.CGAudioManager
Returns a javax.media.DataSink object which allows audio data to be sent to a Recognizer using the JMF.
getDataSource() - Method in class com.cloudgarden.speech.CGAudioManager
Returns a javax.media.protocol.DataSource object which allows audio data from a Synthesizer to be manipulated using the JMF.
getDirection() - Method in class com.cloudgarden.audio.ClientEvent
Returns direction of data transfer - either TO_CLIENT or FROM_CLIENT
getDirection() - Method in class com.cloudgarden.audio.TransferEvent
Returns direction of data transfer - either READ or WRITE
getDuration() - Method in class com.cloudgarden.audio.CGPullBufferDataSource
 
getEngineConfidence(int) - Method in class com.cloudgarden.speech.CGResult
Returns a confidence value in a range determined by the engine , indicating the degree of confidence the recognizer has in a certain alternate result (0 for the set of best tokens).
getFreeBytes() - Method in class com.cloudgarden.audio.AudioPipe
 
getGrammar() - Method in class com.cloudgarden.speech.CGResult
 
getId() - Method in class com.cloudgarden.audio.ClientEvent
Returns the id of this event - BYTES_TRANSFERRED ,CLIENT_ADDED or CLIENT_REMOVED.
getId() - Method in class com.cloudgarden.audio.TransferEvent
Returns the id of this event - BYTES_TRANSFERRED.
getIncomingAudioFormat() - Method in class com.cloudgarden.audio.DefaultAudioConverter
 
getIncomingAudioFormat() - Method in interface com.cloudgarden.audio.AudioConverter
 
getIncomingContentType() - Method in class com.cloudgarden.audio.DefaultAudioConverter
 
getIncomingContentType() - Method in interface com.cloudgarden.audio.AudioConverter
 
getIncompTO() - Method in class com.cloudgarden.speech.userinterface.RecognizerPropertyPanel
Returns the value of incomplete timeout set using a slider in this panel.
getJawOpen() - Method in class com.cloudgarden.speech.CGSpeakableEvent
If this is a MOUTH_SHAPE event (or a VISEME event after convertToMouthShapeEvent has been called), returns a number from 0 to 255 specifying the openess of the jaw.
getKeepOpen() - Method in class com.cloudgarden.audio.CGPullBufferDataSource
 
getKeepOpen() - Method in class com.cloudgarden.audio.AudioMediaURLSink
 
getLastException() - Method in class com.cloudgarden.audio.DefaultAudioObject
 
getLength() - Method in class com.cloudgarden.audio.ClientEvent
Returns length (in bytes) of data
getLength() - Method in class com.cloudgarden.audio.TransferEvent
Returns length (in bytes) of data
getLine() - Method in class com.cloudgarden.audio.AudioLineSource
Returns the TargetDataLine used by this AudioSource
getLine() - Method in class com.cloudgarden.audio.AudioLineSink
 
getLipTension() - Method in class com.cloudgarden.speech.CGSpeakableEvent
If this is a MOUTH_SHAPE event (or a VISEME event after convertToMouthShapeEvent has been called), returns a number from 0 to 255 specifying the horizontal tension of the lips.
getLocator() - Method in class com.cloudgarden.audio.CGPullBufferDataSource
 
getMouthHeight() - Method in class com.cloudgarden.speech.CGSpeakableEvent
If this is a MOUTH_SHAPE event (or a VISEME event after convertToMouthShapeEvent has been called), returns a number from 0 to 255 specifying the total height of the mouth (from min height to max height)
getMouthUpturn() - Method in class com.cloudgarden.speech.CGSpeakableEvent
If this is a MOUTH_SHAPE event (or a VISEME event after convertToMouthShapeEvent has been called), returns a number from 0 to 255 specifying the total upturn of the mouth (from max downturn to max upturn)
getMouthWidth() - Method in class com.cloudgarden.speech.CGSpeakableEvent
If this is a MOUTH_SHAPE event (or a VISEME event after convertToMouthShapeEvent has been called), returns a number from 0 to 255 specifying the total width of the mouth (from min width to max width)
getNumberGuesses() - Method in class com.cloudgarden.speech.CGResult
 
getOffset() - Method in class com.cloudgarden.audio.ClientEvent
Returns offset of start of valid data
getOffset() - Method in class com.cloudgarden.audio.TransferEvent
Returns offset of start of valid data
getOKButton() - Method in class com.cloudgarden.speech.userinterface.SpeechControlPanel
 
getOutputLocator() - Method in class com.cloudgarden.audio.CGDataSink
 
getPauseInput() - Method in class com.cloudgarden.audio.AudioPipe
Returns the value set by setPauseInput.
getPhoneme() - Method in class com.cloudgarden.speech.CGSpeakableEvent
If from a SAPI4 engine, returns the IPA phoneme corresponding to this event, otherwise, if from a SAPI5 engine, returns the Microsoft PhoneID for this sound - you will need to translate from the PhoneID to a unicode value.
getPitch() - Method in class com.cloudgarden.speech.userinterface.SynthesizerPropertyPanel
Returns the pitch set using the slider in the SynthesizerPropertyPanel
getProfile() - Method in class com.cloudgarden.speech.userinterface.SpeechEngineTree
Returns the SpeakerProfile from the last-selected SpeakerProfileNode
getRange() - Method in class com.cloudgarden.speech.userinterface.SynthesizerPropertyPanel
Returns the pitch range set using the slider in the SynthesizerPropertyPanel
getRate() - Method in class com.cloudgarden.speech.userinterface.SynthesizerPropertyPanel
Returns the speaking rate set using the slider in the SynthesizerPropertyPanel
getRealTime() - Method in class com.cloudgarden.audio.CGPullBufferDataSource
 
getRecognizer() - Method in class com.cloudgarden.speech.userinterface.RecognizerPropertyPanel
 
getRecognizerDialog() - Static method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Returns a modal SpeechEngineChooser initialized to display all available Recognizers.
getRecognizerDialog(Frame) - Static method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Returns a modal SpeechEngineChooser initialized to display all available Recognizers.
getRecognizerDialog(Frame, RecognizerModeDesc) - Static method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Returns a modal SpeechEngineChooser initialized to display all available Recognizers that match the reqRec parameter.
getRecognizerDialog(RecognizerModeDesc) - Static method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Returns a modal SpeechEngineChooser initialized to display all available Recognizers that match the reqRec parameter.
getRecognizerModeDesc() - Method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Returns the RecognizerModeDesc corresponding to the RecognizerNode selected (and set by clicking the "Set Profile" button) in the SpeechEngineTree
getRecognizerModeDesc() - Method in class com.cloudgarden.speech.userinterface.SpeechEngineTree
Returns the RecognizerModeDesc from the last-selected RecognizerNode
getRecognizerModeDesc() - Method in class com.cloudgarden.speech.userinterface.SpeechControlPanel
Returns the RecognizerModeDesc corresponding to the selected Recognizer node in the SpeechEngineTree, or null if the cancel button was pressed
getResultState() - Method in class com.cloudgarden.speech.CGResult
 
getRule(String) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
getRuleGrammar(int) - Method in class com.cloudgarden.speech.CGResult
 
getRuleID(Rule) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
getRuleID(String) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
getRuleInternal(String) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
getRuleName(int) - Method in class com.cloudgarden.speech.CGResult
 
getRuleName(Long) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
getSampleRate() - Method in class com.cloudgarden.audio.AudioServer
 
getSampleRate() - Method in interface com.cloudgarden.audio.AudioServerI
 
getSampleSizeInBits() - Method in class com.cloudgarden.audio.AudioServer
 
getSampleSizeInBits() - Method in interface com.cloudgarden.audio.AudioServerI
 
getSapiVersion() - Method in class com.cloudgarden.speech.CGEngineProperties
Returns 4 for a SAPI4 engine or 5 for a SAPI5 engine
getSelectedNode() - Method in class com.cloudgarden.speech.userinterface.SpeechEngineTree
 
getSentenceType() - Method in class com.cloudgarden.speech.CGSpeakableEvent
Returns one of the fields UNKNOWN, COMMAND, EMPHASIS, EXCLAMATION, QUESTION or STATEMENT if the event is a VISEME or MOUTH_SHAPE event.
getSink() - Method in class com.cloudgarden.speech.CGAudioManager
 
getSink() - Method in class com.cloudgarden.audio.DefaultAudioSource
 
getSink() - Method in class com.cloudgarden.audio.AudioSplitter
This method does nothing - use getSinks instead
getSink() - Method in class com.cloudgarden.audio.AudioServerSource
 
getSink() - Method in interface com.cloudgarden.audio.AudioSource
Returns the AudioSink set using setSink
getSinkCount() - Method in class com.cloudgarden.audio.AudioSplitter
 
getSinks() - Method in class com.cloudgarden.audio.AudioSplitter
Returns a Vector of all AudioSinks added using the addSInk method
getSource() - Method in class com.cloudgarden.speech.CGAudioManager
 
getSource() - Method in class com.cloudgarden.audio.DefaultAudioConnector
 
getSource() - Method in class com.cloudgarden.audio.DefaultAudioSink
 
getSource() - Method in interface com.cloudgarden.audio.AudioSink
Returns the AudioSource set by setSource
getSource() - Method in class com.cloudgarden.audio.AudioServerSink
 
getSpdVsAcc() - Method in class com.cloudgarden.speech.userinterface.RecognizerPropertyPanel
Returns the value of Speed vs Accuracy set using a slider in this panel.
getSpeakerProfile() - Method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Returns the SpeakerProfile corresponding to the SpeakerProfileNode selected (and set by clicking the "Set Profile" button) in the SpeechEngineTree
getSpeakerProfile() - Method in class com.cloudgarden.speech.userinterface.RecognizerPropertyPanel
Returns the speaker profile set using a drop-down list in this panel.
getSpeakerProfile() - Method in class com.cloudgarden.speech.userinterface.SpeechControlPanel
Returns the SpeakerProfile corresponding to the selected SpeakerProfile node in the SpeechEngineTree, or null if the cancel button was pressed
getStreams() - Method in class com.cloudgarden.audio.CGPullBufferDataSource
 
getSynthesizer() - Method in class com.cloudgarden.speech.userinterface.SynthesizerPropertyPanel
 
getSynthesizerDialog() - Static method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Returns a modal SpeechEngineChooser initialized to display all available Synthesizers.
getSynthesizerDialog(Frame) - Static method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Returns a modal SpeechEngineChooser initialized to display all available Synthesizers.
getSynthesizerDialog(Frame, SynthesizerModeDesc) - Static method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Returns a modal SpeechEngineChooser initialized to display all available Synthesizers that match the reqSyn parameter.
getSynthesizerDialog(SynthesizerModeDesc) - Static method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Returns a modal SpeechEngineChooser initialized to display all available Synthesizers that match the reqSyn parameter.
getSynthesizerModeDesc() - Method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Returns the SynthesizerModeDesc corresponding to the SynthesizerNode selected (and set by clicking the "Set Voice" button) in the SpeechEngineTree
getSynthesizerModeDesc() - Method in class com.cloudgarden.speech.userinterface.SpeechEngineTree
Returns the SynthesizerModeDesc from the last-selected SynthesizerNode
getSynthesizerModeDesc() - Method in class com.cloudgarden.speech.userinterface.SpeechControlPanel
Returns the SynthesizerModeDesc corresponding to the selected Synthesizer node in the SpeechEngineTree, or null if the cancel button was pressed
getTags() - Method in class com.cloudgarden.speech.CGResult
 
getTeethLowerVisible() - Method in class com.cloudgarden.speech.CGSpeakableEvent
If this is a MOUTH_SHAPE event (or a VISEME event after convertToMouthShapeEvent has been called), returns a number from 0 to 255 specifying the visibility of the lower teeth.
getTeethUpperVisible() - Method in class com.cloudgarden.speech.CGSpeakableEvent
If this is a MOUTH_SHAPE event (or a VISEME event after convertToMouthShapeEvent has been called), returns a number from 0 to 255 specifying the visibility of the upper teeth.
getThread - Variable in class com.cloudgarden.audio.DefaultAudioSink
 
getThread() - Method in class com.cloudgarden.audio.ClientEvent
Returns the Thread handling this client
getting - Variable in class com.cloudgarden.audio.DefaultAudioSink
 
getTonguePosn() - Method in class com.cloudgarden.speech.CGSpeakableEvent
If this is a MOUTH_SHAPE event (or a VISEME event after convertToMouthShapeEvent has been called), returns a number from 0 to 255 specifying the position of the tongue (0 being lowest, 255 being highest).
getTopLip() - Method in class com.cloudgarden.speech.userinterface.Mouth
Returns the polygon of points in this Component outlining the upper lip.
getUnfinalizedTokens() - Method in class com.cloudgarden.speech.CGResult
 
getUnreadBytes() - Method in class com.cloudgarden.audio.AudioPipe
 
getViseme() - Method in class com.cloudgarden.speech.CGSpeakableEvent
Returns one of the VISEME_XX fields corresponding to this event
getVoice() - Method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Returns the Voice corresponding to the VoiceNode selected (and set by clicking the "Set Voice" button) in the SpeechEngineTree
getVoice() - Method in class com.cloudgarden.speech.userinterface.SynthesizerPropertyPanel
Returns the Voice set using the JComboBox in the SynthesizerPropertyPanel
getVoice() - Method in class com.cloudgarden.speech.userinterface.SpeechEngineTree
Returns the Voice from the last-selected VoiceNode
getVoice() - Method in class com.cloudgarden.speech.userinterface.SpeechControlPanel
Returns the Voice corresponding to the selected Voice node in the SpeechEngineTree, or null if the cancel button was pressed
getVolume() - Method in class com.cloudgarden.speech.userinterface.SynthesizerPropertyPanel
Returns the volume set using the slider in the SynthesizerPropertyPanel
GramCommitTest - class examples.recognition.GramCommitTest.
Tests activating/deactivating rules and grammars in response to spoken commands - one grammar contains the words "alpha","bravo","charlie","delta", but only one rule is active at a time and the other grammar contains "one","two","three","four" - again, only one rule active at a time: also, only one of the grammars is active at a time - switch between grammars with the command "switch" and activate the next rule in each grammar with the command "next".
GramCommitTest() - Constructor for class examples.recognition.GramCommitTest
 
grammarCommitted() - Method in class com.cloudgarden.speech.CGRuleGrammar
 
GrammarErrorTest - class examples.recognition.GrammarErrorTest.
Loads in a grammar file (error_test.gram) which contains several JSGF errors, to demonstrate reporting of errors.
GrammarErrorTest() - Constructor for class examples.recognition.GrammarErrorTest
 

H

HelloSapi4 - class examples.synthesis.HelloSapi4.
Speaks with a SAPI4 voice when the button is pushed
HelloSapi4() - Constructor for class examples.synthesis.HelloSapi4
Creates new form HelloSapi4
HelloSapi5 - class examples.synthesis.HelloSapi5.
Speaks with a SAPI5 voice when the button is pushed
HelloSapi5() - Constructor for class examples.synthesis.HelloSapi5
Creates new form HelloSapi5
HelloWorld - class examples.synthesis.HelloWorld.
Demonstrates simple speech synthesis
HelloWorld() - Constructor for class examples.synthesis.HelloWorld
 

I

init() - Method in class examples.userinterface.TestInterfaces
 
isAudioAvailable() - Method in class com.cloudgarden.speech.CGResult
 
isAudioDeviceValid() - Method in class com.cloudgarden.speech.CGAudioManager
 
isBigEndian() - Method in class com.cloudgarden.audio.AudioServer
 
isBigEndian() - Method in interface com.cloudgarden.audio.AudioServerI
 
isEnabled(String) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
isMSPhoneID() - Method in class com.cloudgarden.speech.CGSpeakableEvent
Returns true if the value returned by getPhoneme is a Microsoft PhoneID (true for SAPI5 engines).
isOpen() - Method in class com.cloudgarden.audio.AudioServer
 
isPaused() - Method in class com.cloudgarden.speech.CGAudioManager
 
isPaused() - Method in class com.cloudgarden.audio.DefaultAudioObject
 
isPaused() - Method in interface com.cloudgarden.audio.AudioObject
 
isPaused() - Method in class com.cloudgarden.audio.AudioServerSource
 
isPaused() - Method in class com.cloudgarden.audio.AudioServerSink
 
isRulePublic(String) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
isSending() - Method in class com.cloudgarden.speech.CGAudioManager
 
isSending() - Method in class com.cloudgarden.audio.DefaultAudioSource
 
isSending() - Method in class com.cloudgarden.audio.AudioSplitter
 
isSending() - Method in class com.cloudgarden.audio.AudioServerSource
 
isSending() - Method in interface com.cloudgarden.audio.AudioSource
Returns true if the thread started by the startSending method is still writing data to the AudioSink.
isSigned() - Method in class com.cloudgarden.audio.AudioServer
 
isSigned() - Method in interface com.cloudgarden.audio.AudioServerI
 
isTrainingInfoAvailable() - Method in class com.cloudgarden.speech.CGResult
 
isWaiting() - Method in class com.cloudgarden.speech.CGAudioManager
 
isWaiting() - Method in class com.cloudgarden.audio.DefaultAudioObject
Returns true if no data has yet been written or read from this AudioObject
isWaiting() - Method in interface com.cloudgarden.audio.AudioObject
Returns true if no data has yet been written or read from this AudioObject
isWaiting() - Method in class com.cloudgarden.audio.AudioServerSource
 
isWaiting() - Method in class com.cloudgarden.audio.AudioServerSink
 

J

joinTokensAsSeq() - Method in class com.cloudgarden.speech.CGRuleGrammar
 

L

lh - Static variable in class examples.rtp.RTPDictationVoiceServer
 
listCommands(Recognizer) - Static method in class examples.recognition.GramCommitTest
 
listen() - Method in class examples.rtp.RTPDictationVoiceServer
Allocates a recognizer, listening on an RTP port.
listen() - Method in class examples.rtp.RTPCommandVoiceServer
Allocates a recognizer, listening on an RTP port.
listeners - Variable in class com.cloudgarden.audio.DefaultAudioObject
 
listeners - Variable in class com.cloudgarden.audio.AudioServer
 
ListEngineTest - class examples.ListEngineTest.
Lists all the available Synthesizers and their Voices, says "hello world" with each of the Voices, and lists all Recognizers (with SpeakerProfiles)
ListEngineTest() - Constructor for class examples.ListEngineTest
 
listImports() - Method in class com.cloudgarden.speech.CGRuleGrammar
 
listRuleNames() - Method in class com.cloudgarden.speech.CGRuleGrammar
 
listWords() - Method in class com.cloudgarden.speech.userinterface.SynthesizerPropertyPanel
Fills the word list in the "VocabManager" panel with a list of currently-added words, if available.
listWords() - Method in class com.cloudgarden.speech.userinterface.RecognizerPropertyPanel
Fills the word list in the "VocabManager" panel with a list of currently-added words, if available.
loadCFGGrammarFromFile(String) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
LoadJSGFFromURL - class examples.recognition.LoadJSGFFromURL.
Demonstrates loading a grammar file, "grammars.helloWorld", which imports another grammar, "grammars.numbers", and recognition of commands from the helloWorld grammar.
LoadJSGFFromURL() - Constructor for class examples.recognition.LoadJSGFFromURL
 
loop() - Method in class com.cloudgarden.speech.CGResultAudioClip
 

M

main(String[]) - Static method in class com.cloudgarden.speech.Version
 
main(String[]) - Static method in class com.cloudgarden.audio.CGDataSink
 
main(String[]) - Static method in class com.cloudgarden.audio.CGPullBufferDataSource
 
main(String[]) - Static method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Tests the getAllEnginesDialog method.
main(String[]) - Static method in class examples.ListEngineTest
 
main(String[]) - Static method in class examples.DeadlockTest
 
main(String[]) - Static method in class examples.recognition.DictationFromAudioStreamSource
 
main(String[]) - Static method in class examples.recognition.DictationFromFile
 
main(String[]) - Static method in class examples.recognition.DuplexTest
 
main(String[]) - Static method in class examples.recognition.DictationFromFileToFile
 
main(String[]) - Static method in class examples.recognition.GrammarErrorTest
 
main(String[]) - Static method in class examples.recognition.CommandsFromFile
 
main(String[]) - Static method in class examples.recognition.NullAndVoidTest
 
main(String[]) - Static method in class examples.recognition.DictationFromMPEGFile
 
main(String[]) - Static method in class examples.recognition.GramCommitTest
 
main(String[]) - Static method in class examples.recognition.WhatTimeIsIt
 
main(String[]) - Static method in class examples.recognition.ParserTest
 
main(String[]) - Static method in class examples.recognition.LoadJSGFFromURL
 
main(String[]) - Static method in class examples.recognition.DictationTest
 
main(String[]) - Static method in class examples.recognition.DictationFromLine
 
main(String[]) - Static method in class examples.remote.RemoteAudioServer
 
main(String[]) - Static method in class examples.remote.RemoteSynthesisClient
 
main(String[]) - Static method in class examples.remote.WhatTimeIsItClient
 
main(String[]) - Static method in class examples.remote.RemoteSynthesisServer
 
main(String[]) - Static method in class examples.remote.WhatTimeIsItServer
 
main(String[]) - Static method in class examples.remote.RemoteDictationClient
 
main(String[]) - Static method in class examples.remote.RemoteDictationServer
 
main(String[]) - Static method in class examples.remote.RemoteAudioClient
 
main(String[]) - Static method in class examples.remote.FileToLineRemote
 
main(String[]) - Static method in class examples.rtp.FileToRTP
 
main(String[]) - Static method in class examples.rtp.SpeakToRTP
 
main(String[]) - Static method in class examples.rtp.CaptureAndPlay
 
main(String[]) - Static method in class examples.rtp.DictationFromRTP
 
main(String[]) - Static method in class examples.rtp.RTPDictationVoiceServer
 
main(String[]) - Static method in class examples.rtp.RTPCommandVoiceServer
 
main(String[]) - Static method in class examples.audio.FileToFiles
 
main(String[]) - Static method in class examples.audio.ConversionTest
 
main(String[]) - Static method in class examples.audio.FileToFileToLine
 
main(String[]) - Static method in class examples.audio.AudioStreamSourceTest
 
main(String[]) - Static method in class examples.audio.WAVtoMPEG
 
main(String[]) - Static method in class examples.vocab.Pronunciations
 
main(String[]) - Static method in class examples.vocab.VocabTest
 
main(String[]) - Static method in class examples.synthesis.SynthesizerTest
 
main(String[]) - Static method in class examples.synthesis.SpeakingClock
 
main(String[]) - Static method in class examples.synthesis.MultiSynthRecTest
 
main(String[]) - Static method in class examples.synthesis.HelloSapi4
 
main(String[]) - Static method in class examples.synthesis.ReadAliceToWAVEFile
 
main(String[]) - Static method in class examples.synthesis.SpeakToMPEGFile
 
main(String[]) - Static method in class examples.synthesis.SpeakToLine
 
main(String[]) - Static method in class examples.synthesis.ProgressWindow
 
main(String[]) - Static method in class examples.synthesis.HelloSapi5
 
main(String[]) - Static method in class examples.synthesis.ReadAliceToMPEGFile
 
main(String[]) - Static method in class examples.synthesis.SpeakToMultiLine
 
main(String[]) - Static method in class examples.synthesis.SpeakToFile
 
main(String[]) - Static method in class examples.synthesis.HelloWorld
 
main(String[]) - Static method in class examples.userinterface.VoicePad
 
main(String[]) - Static method in class examples.userinterface.TestInterfaces
 
mark(boolean) - Static method in class com.cloudgarden.speech.userinterface.SpeechEngineTree
 
markerReached(SpeakableEvent) - Method in class com.cloudgarden.speech.userinterface.Mouth
 
markerReached(SpeakableEvent) - Method in class examples.synthesis.TestSpeakableListener
 
MIC_TRAINING_UI - Static variable in class com.cloudgarden.speech.CGEngineProperties
 
Mouth - class com.cloudgarden.speech.userinterface.Mouth.
A Canvas which draws a mouth shape defined by a CGSpeakableEvent.
MOUTH_SHAPE - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
Mouth() - Constructor for class com.cloudgarden.speech.userinterface.Mouth
 
Mouth(Color) - Constructor for class com.cloudgarden.speech.userinterface.Mouth
Creates a mouth whose lips will be drawn with the given color.
mouthShape(CGSpeakableEvent) - Method in class com.cloudgarden.speech.CGSpeakableAdapter
 
mouthShape(CGSpeakableEvent) - Method in interface com.cloudgarden.speech.CGSpeakableListener
 
mouthShape(CGSpeakableEvent) - Method in class com.cloudgarden.speech.userinterface.Mouth
 
MPEGFileWriter - class examples.synthesis.MPEGFileWriter.
Utility class for saving synthesized speech to an MP3 file.
MPEGFileWriter() - Constructor for class examples.synthesis.MPEGFileWriter
 
MultiSynthRecTest - class examples.synthesis.MultiSynthRecTest.
Creates multiple recognizers and synthesizers at once - note, for the Dragon engine, only one recognizer can be created - this test will fail on trying to allocate the second recognizer.
MultiSynthRecTest() - Constructor for class examples.synthesis.MultiSynthRecTest
 

N

notifyDataSinkListeners(DataSinkEvent) - Method in class com.cloudgarden.audio.CGDataSink
 
NullAndVoidTest - class examples.recognition.NullAndVoidTest.
Just loads in a JSGF file which contains several uses of the and rules, then quits after listing out the rules.
NullAndVoidTest() - Constructor for class examples.recognition.NullAndVoidTest
 
numTokens() - Method in class com.cloudgarden.speech.CGResult
 

O

open - Variable in class com.cloudgarden.audio.AudioServer
 
open() - Method in class com.cloudgarden.audio.AudioLineSource
Opens the line.
open() - Method in class com.cloudgarden.audio.CGDataSink
 
open() - Method in class com.cloudgarden.audio.AudioLineSink
Opens the line
openConnection() - Method in class com.cloudgarden.audio.AudioClientSource
Informs the AudioServerSink that this client is initiating a connection - causes the AudioServer to send a CLIENT_ADDED signal - this is called automatically when the AudioClientSource is created, but should be called after closeConnection if you wish to inform the server that this client is starting a new session.
openConnection() - Method in class com.cloudgarden.audio.AudioServer
 
openConnection() - Method in interface com.cloudgarden.audio.AudioServerI
 
openConnection() - Method in class com.cloudgarden.audio.AudioClientSink
Informs the AudioServerSource that this client is initiating a connection - causes the AudioServer to send a CLIENT_ADDED signal - this is called automatically when the AudioClientSink is created, but should be called after closeConnection if you wish to inform the server that this client is starting a new session.

P

paint(Graphics) - Method in class com.cloudgarden.speech.userinterface.Mouth
 
paintEvent(CGSpeakableEvent) - Method in class com.cloudgarden.speech.userinterface.Mouth
Paints both lips using the mouth shape or viseme data contained in the CGSpeakableEvent parameter
parse(FinalRuleResult, int, String) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
parse(String[], String) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
parse(String, String) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
parse(String, String, RuleParser) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
ParserTest - class examples.recognition.ParserTest.
Demonstrates use of the RuleGrammar.parse method
ParserTest() - Constructor for class examples.recognition.ParserTest
Creates a new instance of ParserTest
paused - Variable in class com.cloudgarden.audio.DefaultAudioObject
 
paused - Variable in class com.cloudgarden.audio.CGDataSink
 
paused - Variable in class com.cloudgarden.audio.AudioServerSource
 
paused - Variable in class com.cloudgarden.audio.AudioServerSink
 
pauseSync - Variable in class com.cloudgarden.audio.DefaultAudioObject
 
PHONEME - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
phoneme(CGSpeakableEvent) - Method in class com.cloudgarden.speech.CGSpeakableAdapter
 
phoneme(CGSpeakableEvent) - Method in interface com.cloudgarden.speech.CGSpeakableListener
 
phoneme(CGSpeakableEvent) - Method in class com.cloudgarden.speech.userinterface.Mouth
 
phoneme(CGSpeakableEvent) - Method in class examples.synthesis.TestSpeakableListener
 
play() - Method in class com.cloudgarden.speech.CGResultAudioClip
 
port - Variable in class com.cloudgarden.audio.AudioServer
 
ProgressWindow - class examples.synthesis.ProgressWindow.
Utility frame displaying a progress bar and a label.
ProgressWindow() - Constructor for class examples.synthesis.ProgressWindow
Creates new form ProgressWindow
Pronunciations - class examples.vocab.Pronunciations.
Demonstrates simple speech synthesis, but also the addition of a word (with pronunciation) to the VocabManager, and JSML tags in the speech string, and oddities of the SAPI4 engines.
Pronunciations() - Constructor for class examples.vocab.Pronunciations
 

Q

QUESTION - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
queueEmptied(SynthesizerEvent) - Method in class examples.TestEngineListener
 
queueUpdated(SynthesizerEvent) - Method in class examples.TestEngineListener
 

R

READ - Static variable in class com.cloudgarden.audio.TransferEvent
 
read(byte[], int) - Method in class com.cloudgarden.speech.CGAudioManager
 
read(byte[], int) - Method in class com.cloudgarden.audio.DefaultAudioSource
 
read(byte[], int) - Method in class com.cloudgarden.audio.AudioSplitter
Cannot call this method - use the startSending method instead.
read(byte[], int) - Method in class com.cloudgarden.audio.AudioServerSource
 
read(byte[], int) - Method in interface com.cloudgarden.audio.AudioSource
Convenience method - should call read(data, 0, len)
read(byte[], int, int) - Method in class com.cloudgarden.speech.CGAudioManager
 
read(byte[], int, int) - Method in class com.cloudgarden.audio.AudioClientSource
 
read(byte[], int, int) - Method in class com.cloudgarden.audio.AudioLineSource
 
read(byte[], int, int) - Method in class com.cloudgarden.audio.AudioFormatConverter
 
read(byte[], int, int) - Method in class com.cloudgarden.audio.AudioSplitter
Cannot call this method - use the startSending method instead.
read(byte[], int, int) - Method in class com.cloudgarden.audio.AudioMediaLineSource
 
read(byte[], int, int) - Method in class com.cloudgarden.audio.AudioServerSource
 
read(byte[], int, int) - Method in class com.cloudgarden.audio.AudioMediaFormatConverter
 
read(byte[], int, int) - Method in class com.cloudgarden.audio.AudioMediaURLSource
 
read(byte[], int, int) - Method in interface com.cloudgarden.audio.AudioSource
Used to read data from this source - called by the AudioSink which this source is connected to (if its startGetting method is used) so need not be called explicitly by an application.
read(byte[], int, int) - Method in class com.cloudgarden.audio.AudioPipe
 
read(byte[], int, int) - Method in class com.cloudgarden.audio.AudioStreamSource
 
read(byte[], int, int) - Method in class com.cloudgarden.audio.AudioFileSource
 
ReadAliceToMPEGFile - class examples.synthesis.ReadAliceToMPEGFile.
Demonstrates the new methods in AudioManager to save speech to an mpeg file.
ReadAliceToMPEGFile() - Constructor for class examples.synthesis.ReadAliceToMPEGFile
 
ReadAliceToWAVEFile - class examples.synthesis.ReadAliceToWAVEFile.
Reads in the text of Alice In Wonderland, Chapter 1, and saves it to a file
ReadAliceToWAVEFile() - Constructor for class examples.synthesis.ReadAliceToWAVEFile
 
rec - Static variable in class examples.recognition.DuplexTest
 
rec - Static variable in class examples.recognition.WhatTimeIsIt
 
rec - Static variable in class examples.vocab.VocabTest
 
RECO_PROFILE_UI - Static variable in class com.cloudgarden.speech.CGEngineProperties
 
recognizerListening(RecognizerEvent) - Method in class examples.TestEngineListener
 
recognizerProcessing(RecognizerEvent) - Method in class examples.TestEngineListener
 
RecognizerPropertyPanel - class com.cloudgarden.speech.userinterface.RecognizerPropertyPanel.
A JPanel used to set Recognizer properties, add/remove words from the Recognizer's VocabManager, test dictation and a minimal set of commands, and display the native interfaces for the Recognizer
RecognizerPropertyPanel() - Constructor for class com.cloudgarden.speech.userinterface.RecognizerPropertyPanel
Creates new form RecognizerPropertyPanel
recognizerSuspended(RecognizerEvent) - Method in class examples.TestEngineListener
 
registry - Static variable in class com.cloudgarden.audio.AudioServer
 
releaseAudio() - Method in class com.cloudgarden.speech.CGResult
 
releaseTrainingInfo() - Method in class com.cloudgarden.speech.CGResult
 
RemoteAudioClient - class examples.remote.RemoteAudioClient.
This example demonstrates sending audio data from a client machine to a server machine using the com.cloudgarden.speech.audio package - it does not use a speech engine.
RemoteAudioClient(String, int, String) - Constructor for class examples.remote.RemoteAudioClient
 
RemoteAudioServer - class examples.remote.RemoteAudioServer.
This example demonstrates using an AudioServerSource object to provide audio data received from a RemoteAudioClient to an AudioLineSink.
RemoteAudioServer() - Constructor for class examples.remote.RemoteAudioServer
 
RemoteDictationClient - class examples.remote.RemoteDictationClient.
Start this class to send audio data to a RemoteDictationServer - give it an argument of the remote host name if not "localhost"
RemoteDictationClient(String, int, String) - Constructor for class examples.remote.RemoteDictationClient
Creates new RemoteDictationClient
RemoteDictationServer - class examples.remote.RemoteDictationServer.
This example demonstrates using an AudioServerSource object to provide audio data to a CGAudioManager attached to a Recognizer which it receives from a remote client.
RemoteDictationServer() - Constructor for class examples.remote.RemoteDictationServer
 
remoteName - Variable in class com.cloudgarden.audio.AudioServer
 
RemoteSynthesisClient - class examples.remote.RemoteSynthesisClient.
Start this class to receive audio data from a RemoteSynthesisServer - give it an argument of the remote host name if not "localhost"
RemoteSynthesisClient(String, int, String) - Constructor for class examples.remote.RemoteSynthesisClient
Creates new RemoteDictationClient
RemoteSynthesisServer - class examples.remote.RemoteSynthesisServer.
Demonstrates sending synthesized audio data to a remote client.
RemoteSynthesisServer() - Constructor for class examples.remote.RemoteSynthesisServer
 
removeAudioListener(AudioListener) - Method in class com.cloudgarden.speech.CGAudioManager
 
removeClient(String) - Method in class com.cloudgarden.audio.AudioServer
 
removeClientListener(ClientListener) - Method in class com.cloudgarden.audio.AudioServer
 
removeDataSinkListener(DataSinkListener) - Method in class com.cloudgarden.audio.CGDataSink
 
removeImport(RuleName) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
removePropertyChangeListener(PropertyChangeListener) - Method in class com.cloudgarden.speech.CGEngineProperties
 
removeResultListener(ResultListener) - Method in class com.cloudgarden.speech.CGResult
 
removeServerListener(ServerListener) - Method in class com.cloudgarden.audio.AudioClientSource
 
removeSink(AudioSink) - Method in class com.cloudgarden.audio.AudioSplitter
 
removeTransferListener(TransferListener) - Method in class com.cloudgarden.speech.CGAudioManager
 
removeTransferListener(TransferListener) - Method in class com.cloudgarden.audio.DefaultAudioObject
 
removeTransferListener(TransferListener) - Method in interface com.cloudgarden.audio.AudioObject
 
removeTransferListener(TransferListener) - Method in class com.cloudgarden.audio.AudioServer
 
reopen() - Method in class com.cloudgarden.audio.AudioFileSource
Reopens the file so it can be read from the start again
reset() - Method in class com.cloudgarden.speech.CGEngineProperties
 
resolve(RuleName) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
resultAccepted(ResultEvent) - Method in class examples.recognition.TestResultListener
 
resultCreated(ResultEvent) - Method in class examples.recognition.TestResultListener
 
resultRejected(ResultEvent) - Method in class examples.recognition.TestResultListener
 
resultUpdated(ResultEvent) - Method in class examples.recognition.TestResultListener
 
RTPCommandVoiceServer - class examples.rtp.RTPCommandVoiceServer.
Creates a Recognizer which listens to an incoming RTP stream and replies with synthesized speech on a separate RTP stream - to send the RTP stream to the recognizer and hear it's response, start up the CaptureAndPlay class, then this class, then say "what date/time is it", or "goodbye computer".
RTPCommandVoiceServer() - Constructor for class examples.rtp.RTPCommandVoiceServer
Creates a new instance of RTPCommandVoiceServer
RTPDictationVoiceServer - class examples.rtp.RTPDictationVoiceServer.
Creates a Recognizer which listens to an incoming RTP stream and replies with synthesized speech on a separate RTP stream - to send the RTP stream to the recognizer and hear it's response, start up the CaptureAndPlay class, then speak into the microphone - the recognizer should respond with what it thinks you said.
RTPDictationVoiceServer() - Constructor for class examples.rtp.RTPDictationVoiceServer
 
rtpRecoUrl - Static variable in class examples.rtp.RTPDictationVoiceServer
 
rtpRecoUrl - Static variable in class examples.rtp.RTPCommandVoiceServer
 
rtpSynthUrl - Static variable in class examples.rtp.RTPDictationVoiceServer
 
rtpSynthUrl - Static variable in class examples.rtp.RTPCommandVoiceServer
 
ruleForJSGF(String) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
run() - Method in class examples.rtp.SpeakToRTP
 
running - Variable in class com.cloudgarden.audio.DefaultAudioObject
 
running - Variable in class com.cloudgarden.audio.CGDataSink
 

S

saveToFile(String) - Method in class com.cloudgarden.speech.CGResultAudioClip
Allows the audio data from a recognized sample of speech to be saved to a file - the fileName parameter should be the name (new or already existing) of a WAVE file.
sending - Variable in class com.cloudgarden.audio.DefaultAudioSource
 
sending - Variable in class com.cloudgarden.audio.CGDataSink
 
sendThread - Variable in class com.cloudgarden.audio.DefaultAudioSource
 
serverClosed() - Method in class com.cloudgarden.audio.AudioClientSource
 
serverClosed() - Method in interface com.cloudgarden.audio.ServerListener
Issued when the connection with the server is broken
ServerListener - interface com.cloudgarden.audio.ServerListener.
Used by a client to receive notices that the server has closed down.
serverToClient() - Method in class examples.remote.FileToLineRemote
 
setAudioAvailable(boolean) - Method in class com.cloudgarden.speech.CGResult
 
setAudioFormat(AudioFormat) - Method in class com.cloudgarden.speech.CGAudioManager
 
setAudioFormat(AudioFormat) - Method in class com.cloudgarden.audio.DefaultAudioObject
 
setAudioFormat(AudioFormat) - Method in class com.cloudgarden.audio.DefaultAudioSource
 
setAudioFormat(AudioFormat) - Method in class com.cloudgarden.audio.AudioClientSource
 
setAudioFormat(AudioFormat) - Method in class com.cloudgarden.audio.AudioLineSource
 
setAudioFormat(AudioFormat) - Method in class com.cloudgarden.audio.AudioFormatConverter
Sets the AudioFormat that the outgoing audio data will be in.
setAudioFormat(AudioFormat) - Method in class com.cloudgarden.audio.DefaultAudioSink
 
setAudioFormat(AudioFormat) - Method in interface com.cloudgarden.audio.AudioObject
Sets the AudioFormat for this AudioObject.
setAudioFormat(AudioFormat) - Method in class com.cloudgarden.audio.AudioServer
 
setAudioFormat(AudioFormat) - Method in class com.cloudgarden.audio.AudioServerSource
 
setAudioFormat(AudioFormat) - Method in class com.cloudgarden.audio.DefaultAudioClient
Tries to set the AudioFormat of the remote AudioSource.
setAudioFormat(AudioFormat) - Method in class com.cloudgarden.audio.AudioServerSink
 
setAudioFormat(AudioFormat) - Method in class com.cloudgarden.audio.AudioStreamSource
 
setAudioFormat(AudioFormat) - Method in class com.cloudgarden.audio.AudioClientSink
Tries to set the AudioFormat of the remote AudioSource.
setAudioFormat(AudioFormat) - Method in class com.cloudgarden.audio.AudioLineSink
 
setAudioFormat(int, int, int, boolean, boolean) - Method in class com.cloudgarden.audio.AudioServer
 
setAudioFormat(int, int, int, boolean, boolean) - Method in interface com.cloudgarden.audio.AudioServerI
 
setAWTSynchronization(boolean) - Static method in class com.cloudgarden.speech.CGEngineCentral
Sets whether speech events will be synchronized with the AWT EventQueue.
setBufferSize(int) - Method in class com.cloudgarden.speech.CGAudioManager
 
setBufferSize(int) - Method in class com.cloudgarden.audio.DefaultAudioSource
 
setBufferSize(int) - Method in class com.cloudgarden.audio.AudioSplitter
 
setBufferSize(int) - Method in class com.cloudgarden.audio.AudioServerSource
Sets the buffer size of the internal AudioPipe
setBufferSize(int) - Method in class com.cloudgarden.audio.AudioServerSink
Sets the buffer size of the internal AudioPipe
setBufferSize(int) - Method in class com.cloudgarden.audio.AudioPipe
 
setContentType(String) - Method in class com.cloudgarden.speech.CGAudioManager
Does nothing, since the content type is fixed at RAW
setContentType(String) - Method in class com.cloudgarden.audio.DefaultAudioObject
 
setContentType(String) - Method in class com.cloudgarden.audio.DefaultAudioSource
 
setContentType(String) - Method in class com.cloudgarden.audio.AudioClientSource
 
setContentType(String) - Method in class com.cloudgarden.audio.DefaultAudioSink
 
setContentType(String) - Method in interface com.cloudgarden.audio.AudioObject
Sets the content type for this AudioObject - contentType must be one of the FileTypeDescriptor String fields, eg MPEG_AUDIO.
setContentType(String) - Method in class com.cloudgarden.audio.AudioServer
 
setContentType(String) - Method in class com.cloudgarden.audio.AudioServerSource
 
setContentType(String) - Method in class com.cloudgarden.audio.DefaultAudioClient
 
setContentType(String) - Method in interface com.cloudgarden.audio.AudioServerI
 
setContentType(String) - Method in class com.cloudgarden.audio.AudioClientSink
 
setDefaultInput() - Method in class com.cloudgarden.speech.CGAudioManager
Sets the input to a Recognizer to come from the default input device (usually the microphone on the local machine).
setDefaultOutput() - Method in class com.cloudgarden.speech.CGAudioManager
Redirects output to the default output.
setEnabled(boolean) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
setEnabled(String[], boolean) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
setEnabled(String, boolean) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
setEventsInNewThread(boolean) - Method in class com.cloudgarden.speech.CGEngineProperties
Determines whether speech events are generated in separate Threads.
setIncomingAudioFormat(AudioFormat) - Method in class com.cloudgarden.audio.DefaultAudioConverter
 
setIncomingAudioFormat(AudioFormat) - Method in class com.cloudgarden.audio.AudioFormatConverter
 
setIncomingAudioFormat(AudioFormat) - Method in interface com.cloudgarden.audio.AudioConverter
 
setIncomingContentType(String) - Method in class com.cloudgarden.audio.DefaultAudioConverter
 
setIncomingContentType(String) - Method in interface com.cloudgarden.audio.AudioConverter
 
setInputFile(String) - Method in class com.cloudgarden.speech.CGAudioManager
Deprecated. Use either the setSource or getDataSink method
setJoinTokensAsSeq(boolean) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
setKeepOpen(boolean) - Method in class com.cloudgarden.audio.CGPullBufferDataSource
If keepOpen is true, the DataSource will fill the data buffers with blank data when there is no data available, instead of returning zero data.
setKeepOpen(boolean) - Method in class com.cloudgarden.audio.AudioMediaURLSink
Used to keep the sink open even after receiving zero bytes from it's attached source - this allows RTP streams to operate correctly.
setLocator(MediaLocator) - Method in class com.cloudgarden.audio.CGPullBufferDataSource
 
setMaxAlts(int) - Method in class com.cloudgarden.speech.CGResult
 
setMessage(String) - Method in class examples.synthesis.ProgressWindow
 
setOutputFile(String, int, int) - Method in class com.cloudgarden.speech.CGAudioManager
Deprecated. Use either the setSink or getDataSource method
setOutputLocator(MediaLocator) - Method in class com.cloudgarden.audio.CGDataSink
 
setPaused(boolean) - Method in class com.cloudgarden.speech.CGAudioManager
 
setPaused(boolean) - Method in class com.cloudgarden.audio.DefaultAudioObject
 
setPaused(boolean) - Method in interface com.cloudgarden.audio.AudioObject
If paused is true, writing or reading data to or from this AudioObject will block until setPaused(false) is called.
setPaused(boolean) - Method in class com.cloudgarden.audio.AudioServerSource
 
setPaused(boolean) - Method in class com.cloudgarden.audio.AudioServerSink
 
setPauseInput(boolean) - Method in class com.cloudgarden.audio.AudioPipe
If set to true, this AudioPipe will cause it's source object to wait if the pipe's buffer is full.
setProfile(SpeakerProfile) - Method in class com.cloudgarden.speech.userinterface.SpeechEngineTree
 
setProgress(int) - Method in class examples.synthesis.ProgressWindow
 
setRealTime(boolean) - Method in class com.cloudgarden.audio.CGPullBufferDataSource
If realTime is true, causes this DataSource to delay inside of calls to read(Buffer) so that the data is released no faster than real-time (otherwise it may be released much faster than real time which may cause a problem if sending the data to an RTP client).
setRecognizer(Recognizer) - Method in class com.cloudgarden.speech.userinterface.RecognizerPropertyPanel
Sets the recognizer for this panel.
setRecognizerModeDesc(RecognizerModeDesc) - Method in class com.cloudgarden.speech.userinterface.SpeechEngineTree
 
setRule(String, Rule, boolean) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
setSelectedNode(SpeechNode) - Method in class com.cloudgarden.speech.userinterface.SpeechEngineTree
 
setSink(AudioSink) - Method in class com.cloudgarden.speech.CGAudioManager
 
setSink(AudioSink) - Method in class com.cloudgarden.audio.DefaultAudioSource
 
setSink(AudioSink) - Method in class com.cloudgarden.audio.AudioSplitter
This method does nothing - use the addSink method instead
setSink(AudioSink) - Method in class com.cloudgarden.audio.AudioServerSource
 
setSink(AudioSink) - Method in interface com.cloudgarden.audio.AudioSource
Sets the sink for this source - this method should also call the setSource method on the sink object (making sure to avaoid an endless loop) to ensure that source and sink are connected to each other (and not to different sinks/sources).
setSource(AudioSource) - Method in class com.cloudgarden.speech.CGAudioManager
 
setSource(AudioSource) - Method in class com.cloudgarden.audio.DefaultAudioConnector
 
setSource(AudioSource) - Method in class com.cloudgarden.audio.DefaultAudioConverter
 
setSource(AudioSource) - Method in class com.cloudgarden.audio.DefaultAudioSink
Sets the source for this sink - this method also calls the setSink method on the source object (while avoiding an endless loop) to ensure that sink and source are connected to each other (and not to different sinks/sources).
setSource(AudioSource) - Method in interface com.cloudgarden.audio.AudioSink
Sets the source for this sink - this method should also call the setSink method on the source object (while avoiding an endless loop) to ensure that sink and source are connected to each other (and not to different sinks/sources).
setSource(AudioSource) - Method in class com.cloudgarden.audio.AudioMediaFormatConverter
Sets the source for this converter
setSource(AudioSource) - Method in class com.cloudgarden.audio.AudioServerSink
 
setSource(DataSource) - Method in class com.cloudgarden.audio.CGDataSink
 
setSpeechControlPanel(SpeechControlPanel) - Method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
 
setSynthesizer(Synthesizer) - Method in class com.cloudgarden.speech.userinterface.SynthesizerPropertyPanel
Sets the synthsizer which will be tested in this SynthesizerPropertyPanel
setSynthesizerModeDesc(SynthesizerModeDesc) - Method in class com.cloudgarden.speech.userinterface.SpeechEngineTree
 
setTrainingInfoAvailable(boolean) - Method in class com.cloudgarden.speech.CGResult
 
setUniqueGuessesAccepted(boolean) - Method in class com.cloudgarden.speech.CGRuleGrammar
 
setup() - Method in class com.cloudgarden.audio.AudioMediaFormatConverter
 
setupSynth() - Method in class examples.rtp.RTPDictationVoiceServer
 
setupSynth() - Method in class examples.rtp.RTPCommandVoiceServer
 
setVoice(Voice) - Method in class com.cloudgarden.speech.userinterface.SpeechEngineTree
 
SHOW_RECOGNIZERS - Static variable in class com.cloudgarden.speech.userinterface.SpeechEngineTree
 
SHOW_RECOGNIZERS - Static variable in class com.cloudgarden.speech.userinterface.SpeechControlPanel
 
SHOW_SYNTHESIZERS - Static variable in class com.cloudgarden.speech.userinterface.SpeechEngineTree
 
SHOW_SYNTHESIZERS - Static variable in class com.cloudgarden.speech.userinterface.SpeechControlPanel
 
show() - Method in class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Shows this JDialog centered on the screen
shutdown() - Static method in class com.cloudgarden.speech.CGEngineCentral
Shuts down the main SAPI4 event loop.
sink - Variable in class com.cloudgarden.audio.DefaultAudioSource
 
source - Variable in class com.cloudgarden.audio.DefaultAudioConnector
 
source - Variable in class com.cloudgarden.audio.DefaultAudioSink
 
speak() - Method in class examples.synthesis.SpeakToMPEGFile
 
speak() - Method in class examples.synthesis.ReadAliceToMPEGFile
 
speakableCancelled(SpeakableEvent) - Method in class com.cloudgarden.speech.userinterface.Mouth
 
speakableEnded(SpeakableEvent) - Method in class com.cloudgarden.speech.userinterface.Mouth
 
speakablePaused(SpeakableEvent) - Method in class com.cloudgarden.speech.userinterface.Mouth
 
speakableResumed(SpeakableEvent) - Method in class com.cloudgarden.speech.userinterface.Mouth
 
speakableStarted(SpeakableEvent) - Method in class com.cloudgarden.speech.userinterface.Mouth
 
SpeakingClock - class examples.synthesis.SpeakingClock.
Demonstrates simple speech synthesis, but also the addition of a word (with pronunciation) to the VocabManager, and JSML tags in the speech string.
SpeakingClock() - Constructor for class examples.synthesis.SpeakingClock
 
SpeakToFile - class examples.synthesis.SpeakToFile.
Demonstrates the new methods in AudioManager to save speech to a wave file.
SpeakToFile() - Constructor for class examples.synthesis.SpeakToFile
 
speakToFile(Synthesizer, String, File) - Method in class examples.synthesis.WAVFileWriter
 
SpeakToLine - class examples.synthesis.SpeakToLine.
Demonstrates the new methods in AudioManager to play speech to a line.
SpeakToLine() - Constructor for class examples.synthesis.SpeakToLine
 
speakToMedia(Synthesizer, String, MediaLocator) - Method in class examples.synthesis.MPEGFileWriter
 
SpeakToMPEGFile - class examples.synthesis.SpeakToMPEGFile.
Demonstrates the new methods in AudioManager to save speech to an MPEG file using an AudioMediaURLSink
SpeakToMPEGFile() - Constructor for class examples.synthesis.SpeakToMPEGFile
 
SpeakToMultiLine - class examples.synthesis.SpeakToMultiLine.
An example which splits synthesized speech to three AudioLineSinks and starts them at staggered intervals, so you can hear the three identical but separate streams.
SpeakToMultiLine() - Constructor for class examples.synthesis.SpeakToMultiLine
 
SpeakToRTP - class examples.rtp.SpeakToRTP.
Uses a synthesizer to send audio data to an rtp url
speakToRTP() - Static method in class examples.rtp.DictationFromRTP
Sends the contents of a WAV file to an RTP url (which is listened to by the Recognizer)
SpeakToRTP() - Constructor for class examples.rtp.SpeakToRTP
 
SpeechControlPanel - class com.cloudgarden.speech.userinterface.SpeechControlPanel.
A JPanel whose basic role is to allow a SpeakerProfile of one of the recognizers, and/or a Voice of one of the Synthesizers to be selected by a user.
SpeechControlPanel(int, RecognizerModeDesc, SynthesizerModeDesc) - Constructor for class com.cloudgarden.speech.userinterface.SpeechControlPanel
Creates new form SpeechControlPanel which can display Recognizers and/or Synthesizers (depending on the value of "mode", and also only those Recognizers/Synthesizers selected by the given RecognizerModeDesc and SynthesizerModeDesc (if they are null, then all Synthesizers/Recognizers are shown).
SpeechEngineChooser - class com.cloudgarden.speech.userinterface.SpeechEngineChooser.
Provides static methods (much like a JOptionPane) to display, test and select Synthesizers, Recognizers, Voices and SpeakerProfiles.
SpeechEngineChooser(Frame, boolean, int, RecognizerModeDesc, SynthesizerModeDesc) - Constructor for class com.cloudgarden.speech.userinterface.SpeechEngineChooser
Creates new form SpeechEngineChooser with nothing in its content pane.
SpeechEngineTree - class com.cloudgarden.speech.userinterface.SpeechEngineTree.
A JTree that can be used to display BasicTreeNodes (which includes RecognizerNode, and SynthesizerNode, VoiceNode and SpeakerProfileNode)
SpeechEngineTree(int) - Constructor for class com.cloudgarden.speech.userinterface.SpeechEngineTree
Creates and initializes a SpeechEngineTree which will contain Recognizers and/or Synthesizers depending on the value of mode (which can be a combination of SHOW_SYNTHESIZERS and SHOW_RECOGNIZERS) Displays all available engines of either type.
SpeechEngineTree(int, RecognizerModeDesc, SynthesizerModeDesc) - Constructor for class com.cloudgarden.speech.userinterface.SpeechEngineTree
Creates and initializes a SpeechEngineTree which will contain Recognizers and/or Synthesizers depending on the value of mode (which can be a combination of SHOW_SYNTHESIZERS and SHOW_RECOGNIZERS), but only those Recognizers and/or Synthesizers matching requiredRec and requiredSyn.
SpeechEventThread - class com.cloudgarden.speech.SpeechEventThread.
If CGEngineProperties.setEventsInNewThread enables speech events to be started each in a new thread, then the threads they are started in are all SpeechEventThreads.
SpeechEventThread() - Constructor for class com.cloudgarden.speech.SpeechEventThread
Creates new SpeechEventThread
speechStarted(RecognizerAudioEvent) - Method in class examples.TestAudioListener
 
speechStopped(RecognizerAudioEvent) - Method in class examples.TestAudioListener
 
src - Variable in class com.cloudgarden.audio.CGPullBufferDataSource
 
srcContentType - Variable in class com.cloudgarden.audio.DefaultAudioConverter
 
srcFmt - Variable in class com.cloudgarden.audio.DefaultAudioConverter
 
start() - Method in class com.cloudgarden.audio.CGDataSink
 
start() - Method in class com.cloudgarden.audio.CGPullBufferDataSource
 
start() - Method in class examples.remote.RemoteAudioServer
 
start() - Method in class examples.remote.RemoteSynthesisClient
 
start() - Method in class examples.remote.WhatTimeIsItClient
 
start() - Method in class examples.remote.RemoteSynthesisServer
 
start() - Method in class examples.remote.WhatTimeIsItServer
 
start() - Method in class examples.remote.RemoteDictationClient
 
start() - Method in class examples.remote.RemoteDictationServer
 
start() - Method in class examples.remote.RemoteAudioClient
 
start() - Method in class examples.rtp.CaptureAndPlay
 
startSending() - Method in class com.cloudgarden.speech.CGAudioManager
 
startSending() - Method in class com.cloudgarden.audio.DefaultAudioSource
 
startSending() - Method in class com.cloudgarden.audio.AudioLineSource
Opens the TargetDataLine, if not already open, starts it, and calls DefaultAudioSource's startSending method.
startSending() - Method in class com.cloudgarden.audio.AudioFormatConverter
This method does nothing since this class simply passes on anything that is written to it immediately to its AudioSink
startSending() - Method in class com.cloudgarden.audio.AudioSplitter
 
startSending() - Method in class com.cloudgarden.audio.AudioMediaLineSource
Starts a thread which reads audio data from the file.
startSending() - Method in class com.cloudgarden.audio.AudioServerSource
 
startSending() - Method in class com.cloudgarden.audio.AudioMediaFormatConverter
This method starts the Processor
startSending() - Method in class com.cloudgarden.audio.AudioMediaURLSource
Starts a thread which reads audio data from the file.
startSending() - Method in interface com.cloudgarden.audio.AudioSource
This method should start a thread which repeatedly writes data to the AudioSink object which this object is connected to, until it writes data with length END_OF_DATA, or until the stopSending method is called.
startSending() - Method in class com.cloudgarden.audio.AudioFileSource
Starts a thread which reads audio data from the file.
STATEMENT - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
stop() - Method in class com.cloudgarden.speech.CGResultAudioClip
 
stop() - Method in class com.cloudgarden.audio.CGDataSink
 
stop() - Method in class com.cloudgarden.audio.CGPullBufferDataSource
 
stop() - Method in class examples.rtp.CaptureAndPlay
 
stopSending() - Method in class com.cloudgarden.speech.CGAudioManager
 
stopSending() - Method in class com.cloudgarden.audio.DefaultAudioSource
 
stopSending() - Method in class com.cloudgarden.audio.AudioLineSource
Stops the line and calls DefaultAudioSource.stopSending();
stopSending() - Method in class com.cloudgarden.audio.AudioSplitter
 
stopSending() - Method in class com.cloudgarden.audio.AudioServerSource
 
stopSending() - Method in class com.cloudgarden.audio.AudioMediaFormatConverter
 
stopSending() - Method in interface com.cloudgarden.audio.AudioSource
 
stopSending() - Method in class com.cloudgarden.audio.AudioFileSource
 
streams - Variable in class com.cloudgarden.audio.CGPullBufferDataSource
 
synth - Static variable in class examples.recognition.DuplexTest
 
synth - Static variable in class examples.recognition.WhatTimeIsIt
 
synth - Static variable in class examples.vocab.VocabTest
 
SynthesizerPropertyPanel - class com.cloudgarden.speech.userinterface.SynthesizerPropertyPanel.
A JPanel used to set Synthesizer properties, add/remove words from the Synthesizer's VocabManager, speak arbitrary words using any of the Synthesizer's voices (selected from a drop-down list) and display the native interfaces for the Synthesizer
SynthesizerPropertyPanel() - Constructor for class com.cloudgarden.speech.userinterface.SynthesizerPropertyPanel
Creates new form SynthesizerPropertyPanel
SynthesizerTest - class examples.synthesis.SynthesizerTest.
Demonstrates setting voices and synthesizer properties, reading from a file containing JSML tags, and detecting word boundaries and bookmarks.
SynthesizerTest() - Constructor for class examples.synthesis.SynthesizerTest
 

T

test() - Method in class examples.remote.FileToLineRemote
Tests out the transfer of compressed data without a network
TestAudioListener - class examples.TestAudioListener.
Prints audio events to System.out
TestAudioListener() - Constructor for class examples.TestAudioListener
 
TestAudioListener(boolean) - Constructor for class examples.TestAudioListener
 
TestClientListener - class examples.remote.TestClientListener.
Reports ClientEvents generated by any AudioServerSource
TestClientListener() - Constructor for class examples.remote.TestClientListener
 
TestEngineListener - class examples.TestEngineListener.
Prints engine events (Recognizer and Synthesizer) to System.out
TestEngineListener() - Constructor for class examples.TestEngineListener
 
TestInterfaces - class examples.userinterface.TestInterfaces.
Creates a GUI allowing the native speech engine GUIs to be started up.
TestInterfaces() - Constructor for class examples.userinterface.TestInterfaces
Creates new form TestInterfaces
TestResultListener - class examples.recognition.TestResultListener.
Class to print out result events, and deallocate the recognizer after a given number of accepted results.
TestResultListener(Recognizer, int, boolean) - Constructor for class examples.recognition.TestResultListener
Creates a TestResultListener which will deallocate the given Recognizer after "nRecs" accepted recognitions, and will re-play the recorded audio if "playAudio" is true (and audio is being saved using RecognizerProperties.setResultAudioProvided(true))
TestSpeakableListener - class examples.synthesis.TestSpeakableListener.
This class extends the Mouth class, and displays itself in a new Frame, so it displays lip-sync events as well as printing out word and marker events.
TestSpeakableListener() - Constructor for class examples.synthesis.TestSpeakableListener
 
TestTransferListener - class examples.remote.TestTransferListener.
Reports ClientEvents generated by any AudioServerSource
TestTransferListener() - Constructor for class examples.remote.TestTransferListener
 
TO_CLIENT - Static variable in class com.cloudgarden.audio.ClientEvent
 
tokenCorrection(String[], ResultToken, ResultToken, int) - Method in class com.cloudgarden.speech.CGResult
 
topOfQueue(SpeakableEvent) - Method in class com.cloudgarden.speech.userinterface.Mouth
 
toString() - Method in class com.cloudgarden.speech.CGResult
 
toString() - Method in class com.cloudgarden.audio.TransferEvent
 
transferData(PushBufferStream) - Method in class com.cloudgarden.audio.CGDataSink
 
transferData(PushBufferStream) - Method in class com.cloudgarden.audio.AudioMediaFormatConverter
 
transferData(PushSourceStream) - Method in class com.cloudgarden.audio.CGDataSink
 
transferData(PushSourceStream) - Method in class com.cloudgarden.audio.AudioMediaFormatConverter
 
TransferEvent - class com.cloudgarden.audio.TransferEvent.
Class to hold information when a TransferListener signals an event.
TransferEvent(Object, int, byte[], int, int, int) - Constructor for class com.cloudgarden.audio.TransferEvent
Creates a new instance of TransferEvent
TransferListener - interface com.cloudgarden.audio.TransferListener.
Used to detect when byte data is being transferred and to allow it to be analysed (eg, determine the signal level).

U

UNKNOWN - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
url - Variable in class com.cloudgarden.audio.AudioMediaURLSink
 
url - Variable in class com.cloudgarden.audio.AudioMediaLineSink
 
useFixForInfovox330() - Static method in class com.cloudgarden.speech.CGEngineProperties
 
useFixForInfovox330(boolean) - Static method in class com.cloudgarden.speech.CGEngineProperties
An exceptional method to allow synthesizers to get around bug in Infovox 330 (and possibly other versions of the engines) synthesizers regarding the wordReached events.
useLinearInterpolation(boolean) - Method in class com.cloudgarden.audio.AudioFormatConverter
Sets use of linear interpolation in conversion when going from a lower frequency to a higher frequency - better quality, but slower.
useNotificationWindow(boolean) - Method in class examples.synthesis.MPEGFileWriter
 
USER_TRAINING_UI - Static variable in class com.cloudgarden.speech.CGEngineProperties
 
useSmoothing(boolean) - Method in class com.cloudgarden.audio.AudioFormatConverter
Sets use of smoothing in conversion when going from a higher frequency to a lower frequency - sometimes gives better quality, than not smoothing, but slower.

V

Version - class com.cloudgarden.speech.Version.
Holds the current version in form of String fields
VERSION - Static variable in class com.cloudgarden.speech.Version
 
VERSION_SHORT - Static variable in class com.cloudgarden.speech.Version
 
Version() - Constructor for class com.cloudgarden.speech.Version
 
VISEME - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_AA - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_AE_AX_AH - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_AO - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_AW - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_AY - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_D_T_N - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_ER - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_EY_EH_UH - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_F_V - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_H - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_K_G_NG - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_L - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_OW - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_OY - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_P_B_M - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_R - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_S_Z - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_SH_CH_JH_ZH - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_SILENCE - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_TH_DH - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_W_UW - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
VISEME_Y_IY_IH_IX - Static variable in class com.cloudgarden.speech.CGSpeakableEvent
 
viseme(CGSpeakableEvent) - Method in class com.cloudgarden.speech.CGSpeakableAdapter
 
viseme(CGSpeakableEvent) - Method in interface com.cloudgarden.speech.CGSpeakableListener
 
viseme(CGSpeakableEvent) - Method in class com.cloudgarden.speech.userinterface.Mouth
 
VocabTest - class examples.vocab.VocabTest.
Demonstrates changing the pronunciation of "time" to "aw r" (hour) for both speech synthesis and recognition.
VocabTest() - Constructor for class examples.vocab.VocabTest
 
VoicePad - class examples.userinterface.VoicePad.
A sample Swing-based application which uses the Mouth component and a JEditorPane to display a text document and highlight words currently being spoken.
VoicePad() - Constructor for class examples.userinterface.VoicePad
Creates new form VoicePad

W

waiting - Variable in class com.cloudgarden.audio.DefaultAudioObject
 
waiting - Variable in class com.cloudgarden.audio.CGDataSink
 
waiting - Variable in class com.cloudgarden.audio.AudioServerSource
 
waiting - Variable in class com.cloudgarden.audio.AudioServerSink
 
WAVFileWriter - class examples.synthesis.WAVFileWriter.
Utility class for saving synthesized speech to a WAV file.
WAVFileWriter() - Constructor for class examples.synthesis.WAVFileWriter
Creates a new instance of WAVFileWriter
WAVtoMPEG - class examples.audio.WAVtoMPEG.
Demonstrates reading from a wave file and writing to an mp3 file.
WAVtoMPEG() - Constructor for class examples.audio.WAVtoMPEG
 
WhatTimeIsIt - class examples.recognition.WhatTimeIsIt.
Replies with the date or the time depending on whether it recognizes "what time is it" or "what date is it".
WhatTimeIsIt() - Constructor for class examples.recognition.WhatTimeIsIt
 
WhatTimeIsItClient - class examples.remote.WhatTimeIsItClient.
Demonstrates sending and receiving speech to/from a remote recognizer/synthesizer using the local AudioClientSource/Sink objects.
WhatTimeIsItClient(String, int, String) - Constructor for class examples.remote.WhatTimeIsItClient
 
WhatTimeIsItServer - class examples.remote.WhatTimeIsItServer.
Used in conjunction with the WhatTimeIsItClient to tell the time/date to a remote client.
WhatTimeIsItServer() - Constructor for class examples.remote.WhatTimeIsItServer
 
wordStarted(SpeakableEvent) - Method in class com.cloudgarden.speech.userinterface.Mouth
 
wordStarted(SpeakableEvent) - Method in class examples.synthesis.TestSpeakableListener
 
WRITE - Static variable in class com.cloudgarden.audio.TransferEvent
 
write(byte[], int) - Method in class com.cloudgarden.speech.CGAudioManager
 
write(byte[], int) - Method in class com.cloudgarden.audio.DefaultAudioConnector
 
write(byte[], int) - Method in class com.cloudgarden.audio.DefaultAudioSink
 
write(byte[], int) - Method in interface com.cloudgarden.audio.AudioSink
Convenience method - should call write(data, 0, len)
write(byte[], int) - Method in class com.cloudgarden.audio.AudioServerSink
 
write(byte[], int) - Method in class com.cloudgarden.audio.AudioClientSink
 
write(byte[], int, int) - Method in class com.cloudgarden.speech.CGAudioManager
 
write(byte[], int, int) - Method in class com.cloudgarden.audio.AudioFormatConverter
 
write(byte[], int, int) - Method in class com.cloudgarden.audio.AudioSplitter
Writes to all the sinks added using the addSInk method
write(byte[], int, int) - Method in interface com.cloudgarden.audio.AudioSink
Used to write data to this sink - called by the AudioSource which this sink is connected to (if its startSending method is used) so need not be called explicitly by an application.
write(byte[], int, int) - Method in class com.cloudgarden.audio.AudioMediaURLSink
 
write(byte[], int, int) - Method in class com.cloudgarden.audio.AudioMediaFormatConverter
 
write(byte[], int, int) - Method in class com.cloudgarden.audio.AudioServerSink
 
write(byte[], int, int) - Method in class com.cloudgarden.audio.AudioFileSink
This method will write audio data to an internal buffer until it is called with END_OF_DATA as it's length parameter, at which point it will write all the stored data to the file.
write(byte[], int, int) - Method in class com.cloudgarden.audio.AudioPipe
 
write(byte[], int, int) - Method in class com.cloudgarden.audio.AudioClientSink
Writes audio data to the remote AudioSource.
write(byte[], int, int) - Method in class com.cloudgarden.audio.AudioLineSink
Writes audio data to the SourceDataLine.
write(byte[], int, int) - Method in class com.cloudgarden.audio.AudioMediaLineSink
 

A B C D E F G H I J L M N O P Q R S T U V W