Files
skills/sheet-music-downloader
hmo 04db423416 Initial commit: skills library
- 70 skills with code and documentation
- Add .gitignore (ignore __pycache__, output/, temp/, venv/)
- Clean up test intermediates and caches
2026-04-26 19:27:40 +08:00
..
2026-04-26 19:27:40 +08:00
2026-04-26 19:27:40 +08:00
2026-04-26 19:27:40 +08:00
2026-04-26 19:27:40 +08:00
2026-04-26 19:27:40 +08:00

乐谱下载器技能

概述

这个技能用于下载和生成高质量的钢琴五线谱,支持从在线资源获取高清版本,并提供本地LilyPond生成选项。

文件结构

sheet-music-downloader/
├── SKILL.md                 # 技能描述和使用指南
├── scripts/
│   ├── download_sheet_music.py      # 主要下载脚本
│   ├── lilypond_template_generator.py  # LilyPond模板生成器
│   └── quality_check.py            # 质量检查工具
├── references/
│   ├── online_sources.md           # 支持的在线网站
│   ├── file_format_guide.md        # 文件格式指南
│   └── lilypond_reference.md       # LilyPond语法参考
└── assets/
    └── templates/                  # 模板文件(可选)

使用方法

  1. 在线下载: 使用 download_sheet_music.py 从人人钢琴网等网站下载高清乐谱
  2. 质量检查: 使用 quality_check.py 验证文件质量
  3. 本地生成: 使用 lilypond_template_generator.py 创建LilyPond模板
  4. 清理低质量文件: 自动删除小于50KB的低质量文件

特色功能

  • 自动识别高清版本(PNG格式优先)
  • 质量控制(自动清理小文件)
  • 多版本支持(简化版和标准版)
  • 专业格式输出(LilyPond、PDF兼容)

依赖

  • Python 3.6+
  • requests (用于下载)
  • LilyPond (用于编译乐谱)

注意事项

  • 尊重版权,仅用于个人学习
  • 优先选择高质量文件
  • 提供多种难度版本适应不同水平