Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ninot1Quyi/Qwen2.5-Omni-multimodal-chat
/ functions
Functions
123 in github.com/Ninot1Quyi/Qwen2.5-Omni-multimodal-chat
⨍
Functions
123
◇
Types & classes
18
↓ 18 callers
Method
get
从队列获取项
core_pipeline.py:96
↓ 10 callers
Method
clear
清空队列
core_pipeline.py:104
↓ 9 callers
Method
empty
检查队列是否为空
core_pipeline.py:100
↓ 8 callers
Method
_update_state
更新状态并通知监听器
processors.py:400
↓ 6 callers
Method
send_downstream
向下游发送帧
core_pipeline.py:144
↓ 6 callers
Method
task_done
标记任务完成
core_pipeline.py:114
↓ 5 callers
Function
extract_version
从version文件中提取版本号
build-scripts/windows/build.py:538
↓ 5 callers
Method
start
启动语音对话系统
Agent.py:125
↓ 5 callers
Method
stop_immediately
立即停止所有播放
mouth.py:391
↓ 4 callers
Method
add_processor
添加处理器到管道
core_pipeline.py:259
↓ 4 callers
Method
process_frame
处理单个帧,子类必须实现
core_pipeline.py:166
↓ 4 callers
Method
stop_stream
关闭音频流但不中断当前播放
mouth.py:345
↓ 3 callers
Method
_end_speech_collection
结束语音收集并将音频发送到AI处理器
ears.py:189
↓ 3 callers
Method
enqueue_frame
将帧放入处理队列
core_pipeline.py:162
↓ 3 callers
Method
is_cancelled
检查是否已取消
core_pipeline.py:76
↓ 3 callers
Method
send_upstream
向上游发送帧(用于控制和反馈)
core_pipeline.py:153
↓ 3 callers
Method
start_conversation
开始语音对话
webview_api.py:100
↓ 3 callers
Method
stop_mic_stream
停止麦克风流
ears.py:299
↓ 3 callers
Function
updateUIStatus
(status)
web/static/js/app.js:147
↓ 3 callers
Function
updateWaveHeights
()
web/static/js/app.js:48
↓ 2 callers
Method
add_audio_data
添加音频数据到队列
mouth.py:106
↓ 2 callers
Method
close
关闭并清理资源
mouth.py:414
↓ 2 callers
Method
evaluate_js
安全地执行JavaScript代码
webview_api.py:21
↓ 2 callers
Method
put
添加项到队列
core_pipeline.py:92
↓ 2 callers
Method
set_window
设置pywebview窗口对象
webview_api.py:80
↓ 2 callers
Method
stop
停止语音对话系统
Agent.py:152
↓ 2 callers
Method
stop_conversation
停止语音对话
webview_api.py:131
↓ 1 callers
Method
__init__
(self, name="ai_processor")
processors.py:14
↓ 1 callers
Method
_convert_frames_to_base64
将音频帧转换为base64编码的WAV数据
ears.py:235
↓ 1 callers
Method
_detect_speech
使用VAD模型检测语音 基于 Silero VAD ONNX 模型 Args: audio_float32: 输入音频帧 (float32 格式) Returns: b
ears.py:249
↓ 1 callers
Method
_interrupt_response
中断当前响应
processors.py:170
↓ 1 callers
Method
_load_vad_model
加载VAD模型
ears.py:58
↓ 1 callers
Method
_save_audio_to_file
保存音频帧到文件 Args: frames: 音频帧列表 base64_data: 可选的base64编码的音频数据
ears.py:351
↓ 1 callers
Method
_setup_processors
设置处理器管道
Agent.py:62
↓ 1 callers
Method
_start_response_thread
启动响应处理线程
processors.py:157
↓ 1 callers
Function
animateToTargetHeights
()
web/static/js/app.js:63
↓ 1 callers
Function
apply_windows_compatibility_patches
为Windows平台应用兼容性补丁,解决对象类型比较问题
utils.py:4
↓ 1 callers
Function
build_executable
使用PyInstaller构建可执行文件
build-scripts/windows/build.py:197
↓ 1 callers
Method
cancel
触发取消信号
core_pipeline.py:44
↓ 1 callers
Method
check_connection
检查与后端的连接
webview_api.py:96
↓ 1 callers
Function
check_dependencies
检查必要的依赖
build-scripts/windows/build.py:38
↓ 1 callers
Function
clean_dist
清理旧的构建文件
build-scripts/windows/build.py:26
↓ 1 callers
Method
close
清理资源
Agent.py:190
↓ 1 callers
Method
close
关闭资源
ears.py:345
↓ 1 callers
Method
configure_agent
配置Agent参数
webview_api.py:84
↓ 1 callers
Method
connect_processors
连接所有处理器
core_pipeline.py:265
↓ 1 callers
Function
copy_additional_files
复制其他必要的运行时文件
build-scripts/windows/build.py:355
↓ 1 callers
Function
create_shortcut
创建快捷方式批处理文件
build-scripts/windows/build.py:389
↓ 1 callers
Function
create_spec_file
创建PyInstaller的spec文件
build-scripts/windows/build.py:75
↓ 1 callers
Function
create_version_file
创建版本信息文件,如果文件已存在则跳过
build-scripts/windows/build.py:490
↓ 1 callers
Function
endConversation
()
web/static/js/app.js:193
↓ 1 callers
Function
find_pyinstaller
查找PyInstaller可执行文件的路径
build-scripts/windows/build.py:178
↓ 1 callers
Function
frames_to_wav_base64
将音频帧转换为base64编码的WAV数据
core_pipeline.py:330
↓ 1 callers
Function
generateWavePattern
(minHeight, maxHeight)
web/static/js/app.js:93
↓ 1 callers
Method
get_available_microphones
获取可用麦克风列表
ears.py:323
↓ 1 callers
Function
install_requirements
安装所需的依赖
build-scripts/windows/build.py:52
↓ 1 callers
Function
int16_to_float32
将int16音频数据转换为float32格式 (-1.0 到 1.0 范围)
core_pipeline.py:322
↓ 1 callers
Function
main
主函数,运行打包流程
build-scripts/windows/build.py:555
↓ 1 callers
Function
monkey_patch_threading_event
为threading.Event添加补丁,避免与Rectangle类型比较问题
utils.py:54
↓ 1 callers
Method
new_session
创建新会话
core_pipeline.py:80
↓ 1 callers
Function
patch_class_eq
为类添加安全的__eq__方法
utils.py:35
↓ 1 callers
Method
qsize
获取队列大小
core_pipeline.py:118
↓ 1 callers
Function
rename_dist_folder
将英文目录重命名为中文(可选),并添加平台信息
build-scripts/windows/build.py:437
↓ 1 callers
Method
request_smooth_interrupt
请求平滑打断播放
mouth.py:322
↓ 1 callers
Method
reset
重置取消状态
core_pipeline.py:64
↓ 1 callers
Function
run_console
运行命令行版本
app.py:101
↓ 1 callers
Function
run_server
启动pywebview服务器 Args: headless: 如果为True,则以无GUI模式运行
app.py:13
↓ 1 callers
Function
sanitize_key_json
处理key.json文件,替换真实API密钥为示例值
build-scripts/windows/build.py:288
↓ 1 callers
Method
set_context
设置处理器上下文
core_pipeline.py:134
↓ 1 callers
Method
set_next
设置下一个处理器
core_pipeline.py:138
↓ 1 callers
Method
show_system_info
显示系统信息
Agent.py:116
↓ 1 callers
Method
start
启动处理器
core_pipeline.py:170
↓ 1 callers
Method
start_mic_stream
启动麦克风流
ears.py:68
↓ 1 callers
Method
start_stream
启动音频输出流
mouth.py:37
↓ 1 callers
Method
stop
停止处理器
core_pipeline.py:181
↓ 1 callers
Method
stop
停止所有处理器
core_pipeline.py:295
↓ 1 callers
Function
stopAnimation
()
web/static/js/app.js:131
↓ 1 callers
Method
update_status
更新UI状态
webview_api.py:160
Method
__eq__
(self, other)
webview_api.py:32
Method
__eq__
(self, other)
webview_api.py:64
Method
__hash__
(self)
webview_api.py:39
Method
__hash__
(self)
webview_api.py:76
Method
__init__
初始化语音对话代理 Args: gui_mode: 是否使用GUI模式,默认为True debug: 是否启用调试模式,打印详细日志 on_state_change: 状态变化回调函数,用于GU
Agent.py:34
Method
__init__
(self, name="event_processor", on_state_change=None)
processors.py:368
Method
__init__
(self, name="audio_input")
ears.py:27
Method
__init__
(self, type: FrameType, data=None, metadata=None)
core_pipeline.py:28
Method
__init__
(self)
core_pipeline.py:40
Method
__init__
(self)
core_pipeline.py:71
Method
__init__
(self, maxsize=0)
core_pipeline.py:88
Method
__init__
(self, name)
core_pipeline.py:124
Method
__init__
(self, context)
core_pipeline.py:218
Method
__init__
(self)
core_pipeline.py:245
Method
__init__
(self, window=None)
webview_api.py:15
Method
__init__
(self)
webview_api.py:43
Method
__init__
(self, name="audio_output")
mouth.py:14
Method
__str__
(self)
core_pipeline.py:35
Method
_audio_callback
音频回调函数
ears.py:104
Method
_generate_response
生成AI响应的线程函数
processors.py:188
Method
_play_audio_continuous
后台持续音频播放线程
mouth.py:157
Method
_process_loop
处理循环
core_pipeline.py:193
next →
1–100 of 123, ranked by callers