首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > 高质量的图形库的Python写的乐谱

高质量的图形库的Python写的乐谱

  • 资源大小:146.92 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: python 图形 高质量 乐谱

资 源 简 介

python-realbook library python-realbook is an high quality music score drawing library for creating Real Book style sheet music. It uses Cairo as drawing backend. Features High quality score drawing Realbook-style chord writing Support: node, chords, symbols irealbook:// format parser (http://irealbook.net/) To do: * Code cleanup * Add documentation and examples * irealbook parser debugging * Writing notes support Examples A simple score ``` import cairo from realbook import MusicScore Create a new MusicScore score = MusicScore() score.title = "Title" score.author = "Author" score.tempo = "Swing" s = score.add_staff() m = s.addmeasure(section="A", stopbarline="final") m.add_chord(0, "C") # print to pdf w, h = (8.27100, 11.69100) surface = cairo.PDFSurface("score.pdf", w, h) cr = cairo.Context(surface) score.draw(cr, w,

文 件 列 表

python-realbook_0.1-r1
realbook
ttf
parser
VIP VIP
  • IATWAY 1天前 成为了本站会员

  • 大智若愚 1天前 成为了本站会员

  • Mason 1天前 成为了本站会员

  • 1天前 成为了本站会员

  • Half_Punch 2天前 成为了本站会员

  • liqing71718 2天前 成为了本站会员

  • 伟国 2天前 成为了本站会员

  • songy 2天前 成为了本站会员

  • 纯色幽默 2天前 成为了本站会员

  • odd? 2天前 成为了本站会员

0.173879s