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.
(-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
(-start _)
Start a component
Start a component
(-stop _)
Stop a component
Stop a component
(-get-speech-channel _)
Returns a channel that receives speech data
Returns a channel that receives speech data
(-get-stop-channel _)
Return a channel that receives stop signals
Return a channel that receives stop signals
(-listen _)
Start listening for speech
Start listening for speech
(-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-state _)
Return the current state of the state machine
Return the current state of the state machine
(-transition _ event payload)
Transition the state machine to a new state
Transition the state machine to a new state
(-pause _)
Pause a component
Pause a component
(-resume _)
Resume a component
Resume a component
(-cancel _)
Cancel all speech, including any enqueued for further utterance
Cancel all speech, including any enqueued for further utterance
(-speak _ voice-id utterance)
Speak an utterance using the given voice id
Speak an utterance using the given voice id
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close