gm:R包可创建音乐并在R Markdown文档R Jupyter Notebook和RStudio中显示乐谱和音频文件 源码
gm 轻松创建音乐,并在R Markdown文档,R Jupyter Notebook和RStudio中显示乐谱和音频文件。 你好! 世界 library( gm ) m <- # initialize a Music object Music() + # add a 4/4 time signature Meter( 4 , 4 ) + # add a musical line of four quarter notes Line( list ( " C5 " , " D5 " , " E5 " , " F5 " ), list ( 1 , 1 , 1 , 1 )) show( m , to = c( " score " , " audio " )) 安装 安装gm: install.packages( " gm " ) 或来自GitHub的开发版本:
文件列表
gm:R包可创建音乐,并在R Markdown文档,R Jupyter Notebook和RStudio中显示乐谱和音频文件
(预估有个146文件)
.gitignore
58B
acknowledgement
57B
.gitignore
11B
paper.bib
2KB
DESCRIPTION
1KB
gm.html
710KB
cn.html
327KB
bootstrap-toc.css
2KB
pkgdown.css
7KB
plus-.Music.html
10KB
暂无评论