歌曲分析 — ChatGPT 與 MCP
直接附加 MP3、WAV、FLAC、OGG 或 M4A 音訊。OAuth 將 Melogen 連線到 MCP 主機,產生結構化分析。
直接附加音訊,並請 AI 啟動分析。
MCP: start_song_analysis + get_song_analysis
直接附加 MP3、WAV、FLAC、OGG 或 M4A 音訊。OAuth 將 Melogen 連線到 MCP 主機,產生結構化分析。
MP3, WAV, FLAC, OGG, M4A
MP3WAVFLACOGGM4A
12 個結構化視圖
summarystructureharmony
參數
file — 主機提供的檔案描述元report_locale — 報告偏好語言view + cursor + limit — 選擇結構化視圖,並分頁查看結果task_uuid — 分析任務回傳的識別碼使用方式
直接附加 MP3、WAV、FLAC、OGG 或 M4A 音訊。OAuth 將 Melogen 連線到 MCP 主機,產生結構化分析。
1
設定 MCP
使用 OAuth 連線
2
詢問您的 AI
直接附加音訊,並請 AI 啟動分析。 start_song_analysis.
3
取得分析
get_song_analysis — 查詢任務狀態並取得結果。 分析成功且解鎖後,可用 ask_about_song 根據結果繼續追問。
使用範例
AI 會啟動任務並查詢非同步狀態。
給 AI 代理的範例提示:
“start_song_analysis → get_song_analysis → ask_about_song”
// MCP Tool Call (handled automatically by your AI agent)
{
"tool": "start_song_analysis",
"arguments": {
"file": {
"file_id": "host_uploaded_song_123",
"download_url": "https://host.example/files/song.mp3",
"file_name": "song.mp3",
"mime_type": "audio/mpeg"
},
"client_request_id": "chatgpt-song-0001",
"report_locale": "en"
}
}
// Poll until analysis is complete
{
"tool": "get_song_analysis",
"arguments": {
"task_uuid": "00000000-0000-0000-0000-000000000123",
"view": "structure"
}
}
// After completion, ask grounded follow-up questions
{
"tool": "ask_about_song",
"arguments": {
"task_uuid": "00000000-0000-0000-0000-000000000123",
"question": "Why does the chorus feel more energetic?",
"client_request_id": "chatgpt-followup-0001"
}
}為什麼選擇此 MCP 工具?
在同一 AI 對話中完成音樂工作流程。
12
12 個結構化視圖
2
報告語言
1
追問工具
深度音樂學分析
分析提供 12 個結構化視圖,涵蓋概覽、結構、和聲、節奏、情緒、製作及其他音樂細節。
多種輸入類型
請在 MCP 主機中直接附加 MP3、WAV、FLAC、OGG 或 M4A 音訊。
多語言輸出
report_locale 目前支援英語與簡體中文。
與 AI 討論
只有成功完成且已解鎖的分析,才能透過 ask_about_song 進行基於結果的追問。
常見問題
關於此 MCP 工作流程的常見問題。
分析提供 12 個結構化視圖,涵蓋概覽、結構、和聲、節奏、情緒、製作及其他音樂細節。
report_locale 目前支援英語與簡體中文。
請在 MCP 主機中直接附加 MP3、WAV、FLAC、OGG 或 M4A 音訊。
只有成功完成且已解鎖的分析,才能透過 ask_about_song 進行基於結果的追問。