Skip to main content

基于Librosa的音频文件BPM计算器 通过上传到群文件方式计算音频文件的bpm值(beat per minute)

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-checkbpm

✨ 基于Librosa的音频文件BPM计算器 ✨

LICENSE PYPI Python3.9+ nonebot2 onebotv11

📖 介绍

通过上传到群文件方式计算音频文件的bpm值(beat per minute)

有问题或想法欢迎提issue以及pr!!!

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-checkbpm
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-checkbpm
pdm
pdm add nonebot-plugin-checkbpm
poetry
poetry add nonebot-plugin-checkbpm
conda
conda install nonebot-plugin-checkbpm

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_checkbpm"]

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明

🎉 使用

指令表

指令 权限 需要@ 范围 说明
bpm help 群员 群聊 获取指令帮助
bpmcheck/bpm计算/checkbpm/bpm检查 <文件名.mp3/flac/wav> 群员 群聊 计算指定音频文件BPM值

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_checkbpm-1.0.3.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_checkbpm-1.0.3-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_checkbpm-1.0.3.tar.gz.

File metadata

  • Download URL: nonebot_plugin_checkbpm-1.0.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for nonebot_plugin_checkbpm-1.0.3.tar.gz
Algorithm Hash digest
SHA256 ad95147f70c2930906dade67ccb5c80e382e8473037cdb7dbf2277ab34e50d2d
MD5 3ba8192e1854a44c669a4578a4e4a989
BLAKE2b-256 9b58f2ed83c6ac570ba40d93b8bbf7958307d7a3acb411eff3ae8c02c98fe8e3

See more details on using hashes here.

File details

Details for the file nonebot_plugin_checkbpm-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_checkbpm-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4f179bed5d81f184db5512d1050fcca2b7054ec5cd6fe74624e38f977c0a987f
MD5 2428d04ed7f333a39cd8f4e6faa5c6f4
BLAKE2b-256 fd9a8b7f07fce9cc072c3e2458a6f5449e3e102330abc6b25ecdbef091820fbc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page