# Packages
No description provided by the author
# Functions
NewIpcIO returns a MsgIO that uses the given IPC connection to send audio data to the cloud process.
NewIpcReceiver constructs a Receiver that receives audio data and hotword signals over the given IPC connection.
NewMemPipe returns a connected pair of a MsgIO and a Receiver that directly transmit data over channels; the Receiver should be passed in to the cloud process to get data from the MsgIO.
SetVerbose enables or disables verbose logging.
WithChunkMs determines how often the cloud process will stream data to the cloud.
WithCompression sets whether compression will be performed on audio before uploading (and returns the same Options struct to allow method chaining).
WithErrorListener specifies that the given ErrorListener should be passed errors that result from voice requests.
WithHandler sets the intent service (MS, Google, etc) that should handle this request on the server, if one is desired.
WithRequireToken specifies that a failure to obtain an access token from the TMS should be treated as a fatal error for requests (temporary - eventually TMS tokens will be required).
WithSaveAudio sets whether the chipper server should save the audio we send to it.
WithTokener sets the accessor that should be used to obtain tokens.
# Constants
DefaultAudioLenMs is the number of milliseconds of audio we send for connection checks.
DefaultChunkMs is the default value for how often audio is sent to the cloud.
DefaultTimeout is the length of time before the process will cancel a voice request.
HandlerAmazon will have Amazon's Lex service handle requests.
HandlerDefault represents the default backend service chosen by chipper.
HandlerGoogle will have Google's DialogFlow service handle requests.
HandlerMicrosoft will have Microsoft's Bing/LUIS speech service handle requests.
SampleBits defines how many bits each sample should contain.
SampleRate defines how many samples per second should be sent.
# Structs
No description provided by the author
No description provided by the author
Process contains the data associated with an instance of the cloud process, and can have receivers and callbacks associated with it before ultimately being started with Run().
Receiver is an object that should be passed in to the cloud process and determines how it will receive audio data from external sources.