Skip to content

SRInternet/Audio-Visualization-Light

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

音频可视灯

随心律动,绚烂由我。

介绍

音频可视灯(Audio Visualization Light,又称音频可视化灯、音频可视化灯带、音频跑马灯等)是一个基于PySide6和numpy的音频可视化程序,它可以显示当前麦克风的音量,并根据音量大小来驱动四周跑马灯的颜色变化。

功能特点

  1. 绚丽的彩色光带从屏幕右下角涌现,向四个边缘扩散,形成闭合的环绕边框
  2. 中央内容区域伴随半透明模糊遮罩
  3. 屏幕边缘的彩色光带会根据麦克风音量实时起伏波动
  4. 点击屏幕可触发退出动画,可锁定以防止误触退出
  5. 实时显示当前音量分贝和系统时间
  6. 自动跟随系统主题色切换
预览图

依赖项

  • PySide6:用于GUI和动画效果
  • numpy:用于数学计算
  • pyaudio:用于音频输入和音量检测
  • qfluentwidgets:用于主题色切换和右键菜单的UI组件

安装方法

  1. 确保已安装Python 3.7或更高版本
  2. 安装依赖:
pip install -r requirements.txt

运行程序

python Decibel_indicator.py

注意事项

  • 程序会以全屏模式运行
  • 点击屏幕任意位置即可退出程序
  • 请确保麦克风正常工作以体验音量响应效果
  • 在Windows系统上运行效果最佳

About

An audio visualization program that can display the current volume of the microphone or the system, and drive the movement and color changes of the surrounding marquee lights according to the volume level.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages