← 返回
AI智能 Key 中文

iFLYTEK Song Recognition

Recognize songs by singing or audio file using iFlytek's Query By ACRCloud technology.
使用 iFlytek 的 Query By ACRCloud 技术,通过歌唱或音频文件识别歌曲
dzy-1026
AI智能 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 485
下载
💾 10
安装
1
版本
#latest

概述

🎵 Song Recognition

Recognize songs by singing, or audio file using iFlytek's advanced Query By ACRCloud technology.

Designed for music identification, song discovery, and audio recognition scenarios.


✨ Features

  • Singing recognition
  • Audio file recognition
  • High-accuracy song matching
  • Real-time synchronous detection
  • Multiple audio format support
  • URL and file path input support

🚀 Usage

Using audio file path:

python {baseDir}/scripts/index.py "<audio_path>"

Examples:

python {baseDir}/scripts/index.py "humming.wav"

📋 Input Specification

Audio Requirements

  • Supported formats: MP3
  • Sample rate: 16000Hz
  • Audio encoding: lame
  • Duration: 5-30 seconds recommended
  • singing melody

⚠ Constraints

  • Audio must contain clear melody
  • API credentials must be configured
  • Network connection required
  • Synchronous processing - instant results
  • Audio quality affects recognition accuracy

🔧 Environment Setup

Required:

  • Python available in PATH
  • Environment variables configured:
export XF_SONG_APP_ID=your_app_id
export XF_SONG_API_KEY=your_api_key
export XF_SONG_API_SECRET=your_api_secret

Or configure it in ~/.openclaw/openclaw.json:

{
	"env": {
		"XF_SONG_APP_ID": "your_app_id",
        "XF_SONG_API_KEY": "your_api_key",
		"XF_SONG_API_SECRET": "your_api_secret"
	}
}

📦 Output

Returns JSON response with:

  • Song name
  • Artist name
  • Album information
  • Confidence score
  • Match details

🎯 Target Use Cases

  • Music identification apps
  • Song discovery platforms
  • Karaoke applications
  • Music education tools
  • Audio content recognition
  • Copyright detection
  • Music search engines

🛠 Extensibility

Future enhancements may include:

  • Batch audio processing
  • Real-time streaming recognition
  • Custom music library
  • Multi-language song support
  • Genre classification

Built for automation workflows and AI-driven music recognition.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 19:59 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

iFLYTEK Face Compare

dzy-1026
使用 iFlytek 人脸识别 API 比较两张人脸图像并返回相似度得分。
★ 0 📥 485
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,358 📥 318,429
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 712 📥 243,861