MCPcopy Create free account

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

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

FunctionPage
()
evi/evi-next-js-function-calling/app/page.tsx:7
FunctionPage
()
tts/tts-next-js-agora/app/page.tsx:35
FunctionPage
()
tts/tts-next-js-vercel-ai-sdk/src/app/page.tsx:13
MethodPlayNextAudioChunk
()
evi/evi-unity-quickstart/Assets/Scripts/HumeEVI.cs:284
MethodProcessAudioOutput
(string base64Audio)
evi/evi-unity-quickstart/Assets/Scripts/HumeEVI.cs:258
MethodRemove_item
(self)
evi/evi-touchdesigner/Scripts/MessagePlaback.py:35
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
evi/evi-next-js-app-router-quickstart/app/layout.tsx:13
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
evi/evi-next-js-function-calling/app/layout.tsx:13
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
tts/tts-next-js-agora/app/layout.tsx:12
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
tts/tts-next-js-chat/src/app/layout.tsx:21
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
tts/tts-next-js-vercel-ai-sdk/src/app/layout.tsx:21
MethodRunExamplesAsync
()
tts/tts-dotnet-quickstart/Program.cs:47
MethodRunFillerLoop
()
tts/tts-dotnet-quickstart/Program.cs:285
MethodSendMicrophoneAudio
()
evi/evi-unity-quickstart/Assets/Scripts/HumeEVI.cs:385
MethodSend_user_input
(self, user_input: str)
evi/evi-touchdesigner/Scripts/HumeTD.py:7
MethodSendsMessagesAndReceivesAudioChunks
()
tts/tts-dotnet-quickstart/TtsTests.cs:170
FunctionSessionSettingsPage
()
evi/evi-next-js-app-router-quickstart/app/session-settings/page.tsx:8
MethodSilenceFiller
(Stream outputStream)
tts/tts-dotnet-quickstart/Program.cs:279
MethodStart
()
evi/evi-unity-quickstart/Assets/Scripts/SceneBuilder.cs:251
MethodStart
()
tts/tts-unity-quickstart/Assets/Scripts/SceneBuilder.cs:13
MethodStart
()
tts/tts-unity-quickstart/Assets/Scripts/SceneBuilder.cs:87
MethodStartAudioPlayer
(bool usePcmFormat = false)
tts/tts-dotnet-quickstart/Program.cs:452
MethodStartAudioProcess
()
tts/tts-dotnet-quickstart/Program.cs:407
FunctionStartCall
({ accessToken, apiKey, sessionSettings, }: StartCallProps)
evi/evi-next-js-app-router-quickstart/components/StartCall.tsx:14
FunctionStartCall
({ accessToken }: { accessToken: string })
evi/evi-next-js-pages-router-quickstart/components/StartCall.tsx:6
FunctionStartCall
()
evi/evi-typescript-proxy/web/StartCall.tsx:5
FunctionStartCall
()
evi/evi-typescript-proxy/web/EVIChat.tsx:6
FunctionStartCall
({ accessToken }: { accessToken: string })
evi/evi-next-js-function-calling/components/StartCall.tsx:6
MethodStartMicrophoneCapture
()
evi/evi-unity-quickstart/Assets/Scripts/HumeEVI.cs:344
MethodStopMicrophoneCapture
()
evi/evi-unity-quickstart/Assets/Scripts/HumeEVI.cs:368
MethodStreamAudioToPlayerAsync
<summary> Helper method to stream audio chunks from a TTS response to an audio player. </summary>
tts/tts-dotnet-quickstart/Program.cs:248
MethodStreamingAudioPlayer
<summary> Creates a new StreamingAudioPlayer. </summary> <param name="usePcmFormat"> If true, configures ffplay for raw PCM audio (48kHz, 16-bit signe
tts/tts-dotnet-quickstart/Program.cs:358
MethodStreamingTtsClient
<summary> Creates a new StreamingTtsClient for bidirectional TTS streaming. </summary> <param name="apiKey">Your Hume API key</param> <param name="ena
tts/tts-dotnet-quickstart/StreamingTtsService.cs:132
MethodSubscribeToEvents
()
evi/evi-unity-quickstart/Assets/Scripts/HumeEVI.cs:204
MethodTestFixture_HasApiKey
()
evi/evi-dotnet-quickstart/EviTests.cs:61
MethodTestFixture_HasApiKey
()
tts/tts-dotnet-quickstart/TtsTests.cs:55
FunctionTextAreaField
({ id, name, label, maxLength, placeholder = "", required = false, rows = 5, }: TextAreaFieldPro
tts/tts-next-js-vercel-ai-sdk/src/components/TextAreaField.tsx:15
FunctionTtsForm
({ voices, selectedVoiceId, onVoiceChange, onGenerate, loading, }: TtsFormProps)
tts/tts-next-js-vercel-ai-sdk/src/components/TtsForm.tsx:16
MethodTtsJsonStreamTests
(TtsTestFixture fixture)
tts/tts-dotnet-quickstart/TtsTests.cs:50
MethodTtsStreamInputTests
(TtsTestFixture fixture)
tts/tts-dotnet-quickstart/TtsTests.cs:149
MethodUpdate
()
evi/evi-unity-quickstart/Assets/Scripts/SceneBuilder.cs:128
MethodUpdate
()
evi/evi-unity-quickstart/Assets/Scripts/HumeEVI.cs:70
MethodUpdate
()
evi/evi-unity-quickstart/Assets/Scripts/HumeEVI.cs:630
MethodUpdate
()
tts/tts-unity-quickstart/Assets/Scripts/SceneBuilder.cs:70
MethodUpdateInstructionText
()
evi/evi-unity-quickstart/Assets/Scripts/SceneBuilder.cs:180
MethodUpdateTranscriptDisplay
()
evi/evi-unity-quickstart/Assets/Scripts/SceneBuilder.cs:217
FunctionVoiceIsolationModePrompt
({ isVisible, currentMode, onDismiss, })
evi/evi-react-native/VoiceIsolationModePrompt.tsx:18
FunctionVoiceSelect
({ voices, selectedVoiceId, onChange }: VoiceSelectProps)
tts/tts-next-js-vercel-ai-sdk/src/components/VoiceSelect.tsx:12
FunctionVoiceSelector
({ voices, selectedVoice, onSelect, }: Props)
tts/tts-next-js-chat/src/app/components/VoiceSelector.tsx:10
FunctionVoiceSettingsProvider
({ children }: { children: ReactNode })
tts/tts-next-js-chat/src/app/context/VoiceSettingsContext.tsx:15
MethodWaitForPlaybackComplete
(float duration)
evi/evi-unity-quickstart/Assets/Scripts/HumeEVI.cs:330
FunctionWebsocketControls
()
evi/evi-typescript-proxy/web/WebSocketControls.tsx:7
MethodWriteAudio
(byte[] audioBytes)
tts/tts-dotnet-quickstart/Program.cs:375
Method__init__
(self)
evi/evi-python-phone-calling-proxy-server/audio_processors/twilio_audio_processor.py:24
Method__init__
( self, audio_numpy_dtype: np.dtype, target_frames: int, config: Optional[AudioProcessingConfig] = Non
evi/evi-python-phone-calling-proxy-server/audio_processors/evi_audio_processor.py:32
Method__init__
(self)
evi/evi-python-clm-wss/main.py:49
Method__init__
Initialize the Authenticator with the provided API key, Secret key, and host. Args: api_key (str): The API key provided
evi/evi-python-raw-api/src/authenticator.py:17
Method__init__
(self, scope: cdk.App, id: str, **kwargs)
evi/evi-python-wss-clm-endpoint/cdk/cdk/eliza_stack.py:11
Method__init__
Construct the WebSocketHandler, initially assigning the socket to None and the byte stream to a new Stream object.
evi/evi-python-function-calling/main.py:18
Method__init__
(self, ownerComp)
evi/evi-touchdesigner/Scripts/HumeTD.py:4
Method__init__
(self, owner_comp)
evi/evi-touchdesigner/Scripts/MessagePlaback.py:8
Method__init__
(self)
tts/tts-python-livekit/src/agent_session/main.py:23
FunctionaddListener
(eventName: keyof AudioModuleEvents, f: AudioModuleEvents[typeof eventName])
evi/evi-react-native/modules/audio/src/AudioModule.web.ts:84
Functionapi_key
()
evi/evi-python-quickstart/test_quickstart.py:21
Functionapi_key
()
tts/tts-python-quickstart/test_app.py:119
Functioncancel
(reason)
tts/tts-next-js-chat/src/app/api/tts/route.ts:86
MethodcleanupAudioTrack
Helper function to clean up AudioTrack - extracted for better readability
evi/evi-react-native/modules/audio/android/src/main/java/expo/modules/audio/AudioModule.kt:521
MethodclearAfter
* Clear all queued phonemes after the given timestamp and reset to silence
tts/tts-typescript-lipsync/mouth.ts:180
Functionclose
(e: MouseEvent)
tts/tts-next-js-chat/src/app/components/ControlsPanel.tsx:31
Methodclose
()
evi/evi-typescript-proxy/app/upstream.ts:115
Methodconnect
(_args?: any)
evi/evi-typescript-proxy/app/upstream.ts:109
Methodconnect
({ server, path, maybeRejectConnectionWithMessage, }: { server: Server; path: string;
evi/evi-typescript-proxy/app/downstream.ts:25
Methodconstructor
( private maybeRejectConnectionWithMessage: () => string | undefined, )
evi/evi-typescript-proxy/app/downstream.ts:18
Methodconstructor
(PORT: number, WS_PATH: string)
evi/evi-typescript-proxy/app/cli.ts:22
Methodconstructor
(message: ChatMessage)
evi/evi-typescript-function-calling/src/main.ts:337
Methodconstructor
( rtcEngine: IAgoraRTCClient, callback?: ( messageList: IMessageListItem[] ) => void )
tts/tts-next-js-agora/lib/message.ts:106
Methodconstructor
(mouth: Mouth, width: number = 400, height: number = 300)
tts/tts-typescript-lipsync/mouth.ts:243
FunctiondefaultLog
(fmt,...params)
evi/evi-python-wss-clm-endpoint/cdk/cdk.out/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js:1
FunctiondefaultSendHttpRequest
(options,requestBody)
evi/evi-python-wss-clm-endpoint/cdk/cdk.out/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/__entrypoint__.js:1
Methoddefinition
evi/evi-react-native/modules/audio/android/src/main/java/expo/modules/audio/AudioModule.kt:93
Functiondisconnect
* stops audio capture and playback, and closes the Web Socket connection
evi/evi-typescript-function-calling/src/main.ts:101
Functionendpoint
()
evi/evi-python-wss-clm-endpoint/modal_app.py:14
Functionendpoint
()
evi/evi-python-wss-clm-endpoint/modal/modal_app.py:14
Functionendpoint
()
evi/evi-python-wss-clm-endpoint/cdk/cdk.out/asset.f372550efb96be7f549f1d0346e8646080c1fe2b15c7c2e3b1dceb07b6656c54/modal_app.py:14
Functionendpoint
()
evi/evi-python-wss-clm-endpoint/cdk/cdk.out/asset.689e46f5ffafa1e0f81f114b5dfd7694d2d1e291d9bd855e4f7b601d2b2403d0/modal/modal_app.py:14
FunctionenqueueAudio
(base64EncodedAudio: string)
evi/evi-react-native/modules/audio/src/AudioModule.web.ts:64
Functionentrypoint
Configure and run STT, LLM, and TTS in a LiveKit session.
tts/tts-python-livekit/src/agent_session/main.py:27
Functionf
(r)
evi/evi-python-wss-clm-endpoint/cdk/cdk.out/asset.ee7de53d64cc9d6248fa6aa550f92358f6c907b5efd6f3298aeab1b5e7ea358a/index.js:1
Functionfast_sleep
(seconds)
tts/tts-python-quickstart/test_app.py:101
MethodfindDataChunk
Helper function to find data chunk - extracted to avoid break in lambda
evi/evi-react-native/modules/audio/android/src/main/java/expo/modules/audio/AudioModule.kt:388
FunctiongetMicrophoneMode
()
evi/evi-react-native/modules/audio/src/AudioModule.web.ts:94
FunctiongetPermissions
()
evi/evi-react-native/modules/audio/src/AudioModule.web.ts:27
FunctiongetServerSideProps
()
evi/evi-next-js-pages-router-quickstart/pages/index.tsx:9
Functionget_access_token
()
evi/evi-swift-chat/access_token_service/run_token_service.py:10
Functionget_access_token
()
tts/tts-swift-quickstart/access_token_service/run_token_service.py:10
FunctionhandleCancelLoading
()
evi/evi-typescript-proxy/web/WebSocketControls.tsx:65
FunctionhandleChange
(e: React.ChangeEvent<HTMLTextAreaElement>)
tts/tts-next-js-vercel-ai-sdk/src/components/TextAreaField.tsx:27
FunctionhandleClose
(e: unknown)
evi/evi-typescript-quickstart/src/main.ts:115
FunctionhandleDiscard
()
evi/evi-typescript-proxy/web/WebSocketControls.tsx:64
FunctionhandleError
(err: Event | Error)
evi/evi-typescript-quickstart/src/main.ts:111
← previousnext →401–500 of 590, ranked by callers