MCPcopy Create free account

hub / github.com/HumeAI/hume-api-examples / functions

Functions590 in github.com/HumeAI/hume-api-examples

↓ 43 callersMethodon
( event: string, listener: ( ...args: any[] ) => void )
tts/tts-next-js-agora/types/agora-rtc-react.d.ts:30
↓ 33 callersFunctionresult
(state: State, ...effects: Effect[])
evi/evi-typescript-proxy/app/main.ts:139
↓ 20 callersMethodstop
()
tts/tts-typescript-lipsync/mouth.ts:265
↓ 17 callersMethodconnect
Establish and maintain a connection to the WebSocket server, handling reconnections as needed. Args: socket_url (str): T
evi/evi-python-raw-api/src/connection.py:31
↓ 15 callersFunctionmirror
(leftSide: [number, number][])
tts/tts-typescript-lipsync/mouth.ts:11
↓ 12 callersMethodclose
()
evi/evi-typescript-proxy/app/upstream.ts:82
↓ 11 callersMethodsend
(message: WSMessage)
evi/evi-typescript-proxy/app/upstream.ts:88
↓ 10 callersFunctionabortable
(signal: AbortSignal, p: Promise<T>)
evi/evi-typescript-proxy/app/cli.ts:6
↓ 9 callersMethodstart
(timestamp: number)
tts/tts-typescript-lipsync/mouth.ts:259
↓ 8 callersMethodConnectAsync
()
tts/tts-dotnet-quickstart/StreamingTtsService.cs:143
↓ 8 callersFunctioncn
(...inputs: ClassValue[])
evi/evi-next-js-pages-router-quickstart/utils/index.ts:4
↓ 7 callersFunctioncn
(...inputs: ClassValue[])
evi/evi-next-js-app-router-quickstart/utils/index.ts:4
↓ 7 callersFunctioncn
(...inputs: ClassValue[])
evi/evi-next-js-function-calling/utils/index.ts:4
↓ 7 callersFunctionconnect
( sessionSettings?: Hume.empathicVoice.ConnectSessionSettings, )
evi/evi-typescript-quickstart/src/main.ts:120
↓ 7 callersFunctionexhaustive
(x: never)
evi/evi-typescript-proxy/app/util.ts:7
↓ 6 callersMethodEnqueue
(Action action)
evi/evi-unity-quickstart/Assets/Scripts/HumeEVI.cs:641
↓ 6 callersFunctiondisconnect
()
evi/evi-typescript-quickstart/src/main.ts:142
↓ 6 callersFunctionhandler
( req: NextApiRequest, res: NextApiResponse )
evi/evi-next-js-pages-router-quickstart/pages/api/control-plane/set-llm-key.ts:6
↓ 6 callersMethodmenu
( message: string, labels: string[], signal: AbortSignal, explicitKeys?: string[], )
evi/evi-typescript-proxy/app/cli.ts:36
↓ 5 callersMethodDisposeAsync
()
evi/evi-dotnet-quickstart/EviTests.cs:43
↓ 5 callersMethodSendAsync
(object message)
tts/tts-dotnet-quickstart/StreamingTtsService.cs:208
↓ 5 callersFunctioncleanupEffect
()
evi/evi-typescript-proxy/app/main.ts:125
↓ 5 callersMethodplay
( element?: string | HTMLElement )
tts/tts-next-js-agora/types/agora-rtc-react.d.ts:8
↓ 4 callersFunctionApp
()
evi/evi-react-native/App.tsx:54
↓ 4 callersMethodEnd
()
tts/tts-dotnet-quickstart/StreamingTtsService.cs:51
↓ 4 callersMethodSendFlushAsync
()
tts/tts-dotnet-quickstart/StreamingTtsService.cs:216
↓ 4 callersMethodStartAsync
()
tts/tts-dotnet-quickstart/Program.cs:368
↓ 4 callersMethodStopAsync
()
tts/tts-dotnet-quickstart/Program.cs:390
↓ 4 callersFunctionappend
()
tts/tts-next-js-chat/src/app/components/AudioPlayer.tsx:37
↓ 4 callersMethodconnect
(args: ConnectArgs)
evi/evi-typescript-proxy/app/upstream.ts:36
↓ 4 callersFunctionmute
()
evi/evi-react-native/modules/audio/src/AudioModule.web.ts:68
↓ 4 callersFunctionsetConnected
(on: boolean)
evi/evi-typescript-quickstart/src/main.ts:72
↓ 4 callersFunctionstartAudioPlayer
(mode: 'raw' | 'container' = 'container')
tts/tts-typescript-quickstart/audio_player.ts:12
↓ 4 callersFunctionstopRecordingAndTranscribe
()
tts/tts-next-js-chat/src/app/hooks/useRecording.ts:26
↓ 4 callersFunctionunmute
()
evi/evi-react-native/modules/audio/src/AudioModule.web.ts:72
↓ 4 callersFunctionwaitForChatMetadataFromPage
(page: Page, timeoutMs = 30_000)
evi/evi-next-js-app-router-quickstart/tests/voice-react.spec.ts:217
↓ 3 callersMethodSendCloseAsync
()
tts/tts-dotnet-quickstart/StreamingTtsService.cs:222
↓ 3 callersMethodWriteAudio
(byte[] audioBytes)
tts/tts-dotnet-quickstart/Program.cs:321
↓ 3 callersFunctionassert_valid_audio_chunk
Assert that a streaming audio chunk is a base64 string.
tts/tts-python-quickstart/test_app.py:40
↓ 3 callersMethodbroadcast
(message: Message)
evi/evi-typescript-proxy/app/downstream.ts:46
↓ 3 callersMethodclose
()
evi/evi-typescript-proxy/app/downstream.ts:55
↓ 3 callersMethodcloseWithError
(code: number, reason: string)
evi/evi-typescript-proxy/app/downstream.ts:62
↓ 3 callersFunctionhandle_messages
()
evi/evi-python-quickstart/test_quickstart.py:48
↓ 3 callersFunctionlog
(text: str)
evi/evi-python-quickstart/quickstart.py:22
↓ 3 callersFunctionsleep
(ms: number)
evi/evi-typescript-quickstart/src/lib/evi.test.ts:368
↓ 3 callersFunctionsleep
(ms: number)
tts/tts-typescript-quickstart/index.test.ts:365
↓ 3 callersFunctionstartRecording
()
tts/tts-next-js-chat/src/app/hooks/useRecording.ts:9
↓ 3 callersFunctionstop
()
tts/tts-typescript-quickstart/audio_player.ts:39
↓ 3 callersFunctionsubmitResponse
(status,event)
evi/evi-python-wss-clm-endpoint/cdk/cdk.out/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js:1
↓ 2 callersMethodReceiveAudioChunksAsync
()
tts/tts-dotnet-quickstart/StreamingTtsService.cs:228
↓ 2 callersMethod_extract_prosody_scores
(self, message: HumeMessage)
evi/evi-python-clm-wss/main.py:56
↓ 2 callersMethod_get_top_prosody_scores
(self, prosody_scores: ProsodyScores, count: int = 3)
evi/evi-python-clm-wss/main.py:65
↓ 2 callersMethod_mutateChatHistory
()
tts/tts-next-js-agora/lib/message.ts:220
↓ 2 callersMethod_prosody_report
(self, prosody_scores: ProsodyScores)
evi/evi-python-clm-wss/main.py:69
↓ 2 callersFunctionassert_valid_audio_bytes
Assert that collected audio chunks are valid bytes.
tts/tts-python-quickstart/test_app.py:33
↓ 2 callersFunctionc
(r,e)
evi/evi-python-wss-clm-endpoint/cdk/cdk.out/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/index.js:1
↓ 2 callersMethodcheck_messages
(self)
evi/evi-touchdesigner/Scripts/MessagePlaback.py:24
↓ 2 callersMethodchoose_device
Allow the user to select an audio device from a list of available devices. Args: devices (List[Tuple[int, str, int]]): A
evi/evi-python-raw-api/src/devices.py:46
↓ 2 callersMethodcleanup
()
tts/tts-next-js-agora/lib/message.ts:316
↓ 2 callersMethodclose
()
evi/evi-typescript-proxy/app/upstream.ts:141
↓ 2 callersMethodconnect
(_args?: any)
evi/evi-typescript-proxy/app/upstream.ts:135
↓ 2 callersFunctioncontrol_plane_demo
Demonstrate control plane features: observing, sending messages, and updating settings. This function showcases control plane capabilities: 1
evi/evi-python-control-plane/main.py:166
↓ 2 callersFunctioncreate_audio_collector
Create a mock that collects audio bytes
tts/tts-python-quickstart/test_app.py:22
↓ 2 callersFunctiond
(r)
evi/evi-python-wss-clm-endpoint/cdk/cdk.out/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/index.js:1
↓ 2 callersFunctionexample1
()
tts/tts-python-quickstart/app.py:45
↓ 2 callersFunctionexample3
()
tts/tts-python-quickstart/app.py:135
↓ 2 callersFunctionexample3
()
tts/tts-typescript-quickstart/index.ts:157
↓ 2 callersFunctionfetchChatEvents
( chatId: string, )
evi/evi-next-js-app-router-quickstart/tests/voice-react.spec.ts:235
↓ 2 callersFunctionfetchChatEvents
( chatId: string, )
evi/evi-typescript-quickstart/src/lib/evi.test.ts:348
↓ 2 callersMethodgetMediaStreamTrack
()
tts/tts-next-js-agora/types/agora-rtc-react.d.ts:13
↓ 2 callersMethodgetNextEvent
()
evi/evi-typescript-proxy/app/cli.ts:128
↓ 2 callersFunctiongetWindow
()
evi/evi-next-js-app-router-quickstart/utils/e2e-hooks.ts:13
↓ 2 callersFunctionhandleInterruption
()
evi/evi-react-native/App.tsx:194
↓ 2 callersMethodhandleStreamMessage
( stream: Uint8Array )
tts/tts-next-js-agora/lib/message.ts:127
↓ 2 callersFunctionisAgentMessage
(message: IMessageListItem)
tts/tts-next-js-agora/components/ConvoTextStream.tsx:34
↓ 2 callersFunctionload_config
Load and validate environment variables.
evi/evi-python-control-plane/main.py:32
↓ 2 callersFunctionm
(r,e)
evi/evi-python-wss-clm-endpoint/cdk/cdk.out/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/index.js:1
↓ 2 callersFunctionn
(r,e,o,i)
evi/evi-python-wss-clm-endpoint/cdk/cdk.out/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/index.js:1
↓ 2 callersFunctionnext
(state: State, event: AppEvent)
evi/evi-typescript-proxy/app/main.ts:138
↓ 2 callersFunctionp
(r,e)
evi/evi-python-wss-clm-endpoint/cdk/cdk.out/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/index.js:1
↓ 2 callersFunctionphonemeToViseme
(phoneme: string)
tts/tts-typescript-lipsync/mouth.ts:114
↓ 2 callersFunctionplayer
()
evi/evi-react-native/modules/audio/src/AudioModule.web.ts:13
↓ 2 callersMethodrender
()
evi/evi-typescript-function-calling/src/main.ts:348
↓ 2 callersMethodsend
(_message: WSMessage)
evi/evi-typescript-proxy/app/upstream.ts:147
↓ 2 callersFunctionsend_control_message
Send a control message to an active Chat using the control plane API. The control plane allows you to post messages to an active Chat without
evi/evi-python-control-plane/main.py:47
↓ 2 callersMethodsetEnabled
( enabled: boolean )
tts/tts-next-js-agora/types/agora-rtc-react.d.ts:14
↓ 2 callersMethodsetState
(state: State)
evi/evi-typescript-proxy/app/cli.ts:27
↓ 2 callersFunctionteardownAnalyser
()
tts/tts-next-js-agora/components/MicrophoneButton.tsx:54
↓ 2 callersFunctiontoggleBtnStates
* toggles `start` and `stop` buttons' disabled states
evi/evi-typescript-function-calling/src/main.ts:283
↓ 2 callersFunctionuseProxyState
()
evi/evi-typescript-proxy/web/useProxyState.ts:4
↓ 2 callersFunctionuseVoiceSettings
()
tts/tts-next-js-chat/src/app/context/VoiceSettingsContext.tsx:35
↓ 2 callersFunctionvalidate_env_vars
Load environment variables from .env, then ensure all required variables are set. If any are missing, raise a RuntimeError with a helpful mes
tts/tts-python-livekit/src/utils.py:9
↓ 2 callersFunctionwaitForChatMetadata
(getSocket: () => any)
evi/evi-typescript-quickstart/src/lib/evi.test.ts:306
↓ 2 callersFunctionwaitForSocketOpen
(socket: any)
evi/evi-typescript-quickstart/src/lib/evi.test.ts:284
↓ 2 callersFunctionwaitForStreamOpen
(getStream: () => any)
tts/tts-typescript-quickstart/index.test.ts:309
↓ 1 callersMethodAdd_item
(self, audio_data)
evi/evi-touchdesigner/Scripts/MessagePlaback.py:28
↓ 1 callersMethodDispose
()
tts/tts-dotnet-quickstart/StreamingTtsService.cs:266
↓ 1 callersMethodEndStreamAsync
()
tts/tts-dotnet-quickstart/Program.cs:329
↓ 1 callersFunctionG
(r,e)
evi/evi-python-wss-clm-endpoint/cdk/cdk.out/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/index.js:1
↓ 1 callersMethodGetAsyncEnumerable
()
tts/tts-dotnet-quickstart/StreamingTtsService.cs:68
next →1–100 of 590, ranked by callers