Liking cljdoc? Tell your friends :D

vocloj.protocols

Contains vocloj protocols. Speech recognizers and speech synthesizers may adhere to the vocloj.core api by implementing their respective protcols as well as the Initializable and StateMachine protocols.

Contains vocloj protocols. Speech recognizers and speech synthesizers
may adhere to the vocloj.core api by implementing their respective
protcols as well as the Initializable and StateMachine protocols.
raw docstring

Initializableclj/sprotocol

-initclj/s

(-init _)

Initialize a type. Useful for setting up event streams and necessary resources

Initialize a type. Useful for setting up event streams and necessary resources
source

Lifecycleclj/sprotocol

-startclj/s

(-start _)

Start a component

Start a component

-stopclj/s

(-stop _)

Stop a component

Stop a component
source

ReceivesSpeechclj/sprotocol

-get-speech-channelclj/s

(-get-speech-channel _)

Returns a channel that receives speech data

Returns a channel that receives speech data

-get-stop-channelclj/s

(-get-stop-channel _)

Return a channel that receives stop signals

Return a channel that receives stop signals

-listenclj/s

(-listen _)

Start listening for speech

Start listening for speech
source

StateMachineclj/sprotocol

-add-effectclj/s

(-add-effect _ key fn-3)

Add a side effect that is invoked when a change to state happens. Is called with the state machine, previous, and next state

Add a side effect that is invoked when a change to state happens. Is called with the state machine, previous, and next state

-current-stateclj/s

(-current-state _)

Return the current state of the state machine

Return the current state of the state machine

-transitionclj/s

(-transition _ event payload)

Transition the state machine to a new state

Transition the state machine to a new state
source

Suspendableclj/sprotocol

-pauseclj/s

(-pause _)

Pause a component

Pause a component

-resumeclj/s

(-resume _)

Resume a component

Resume a component
source

SynthesizesSpeechclj/sprotocol

-cancelclj/s

(-cancel _)

Cancel all speech, including any enqueued for further utterance

Cancel all speech, including any enqueued for further utterance

-speakclj/s

(-speak _ voice-id utterance)

Speak an utterance using the given voice id

Speak an utterance using the given voice id
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close