Provides a music notation syntax and a collection of music programming functions for generating, manipulating, organizing, and analyzing musical information in R. Music syntax can be entered directly in character strings, for example to quickly transcribe short pieces of music. The package contains functions for directly performing various mathematical, logical and organizational operations and musical transformations on special object classes that facilitate working with music data and notation. The same music data can be organized in tidy data frames for a familiar and powerful approach to the analysis of large amounts of structured music data. Functions are available for mapping seamlessly between these formats and their representations of musical information. The package also provides an API to 'LilyPond' (<https://lilypond.org/>) for transcribing musical representations in R into tablature ("tabs") and sheet music. 'LilyPond' is open source music engraving software for generating high quality sheet music based on markup syntax. The package generates 'LilyPond' files from R code and can pass them to the 'LilyPond' command line interface to be rendered into sheet music PDF files or inserted into R markdown documents. The package offers nominal MIDI file output support in conjunction with rendering sheet music. The package can read MIDI files and attempts to structure the MIDI data to integrate as best as possible with the data structures and functionality found throughout the package.
|Depends:||R (≥ 2.10)|
|Imports:||crayon, dplyr, ggplot2, purrr, tibble, tidyr|
|Suggests:||fansi, gridExtra, htmltools, kableExtra, knitr, png, rmarkdown, testthat, tuneR|
|Author:||Matthew Leonawicz [aut, cre]|
|Maintainer:||Matthew Leonawicz <mfleonawicz at gmail.com>|
|License:||MIT + file LICENSE|
|SystemRequirements:||LilyPond v2.22.1-2+ (needed for rendering sheet music or writing MIDI files)|
|CRAN checks:||tabr results|
The music class
|Windows binaries:||r-devel: tabr_0.4.9.zip, r-release: tabr_0.4.9.zip, r-oldrel: tabr_0.4.9.zip|
|macOS binaries:||r-release (arm64): tabr_0.4.9.tgz, r-oldrel (arm64): tabr_0.4.9.tgz, r-release (x86_64): tabr_0.4.9.tgz, r-oldrel (x86_64): tabr_0.4.9.tgz|
|Old sources:||tabr archive|
Please use the canonical form https://CRAN.R-project.org/package=tabr to link to this page.