tabr: Music Notation Syntax, Manipulation, Analysis and Transcription in R

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.

Version: 0.4.9
Depends: R (≥ 2.10)
Imports: crayon, dplyr, ggplot2, purrr, tibble, tidyr
Suggests: fansi, gridExtra, htmltools, kableExtra, knitr, png, rmarkdown, testthat, tuneR
Published: 2023-09-21
Author: Matthew Leonawicz ORCID iD [aut, cre]
Maintainer: Matthew Leonawicz <mfleonawicz at gmail.com>
BugReports: https://github.com/leonawicz/tabr/issues
License: MIT + file LICENSE
URL: https://github.com/leonawicz/tabr
NeedsCompilation: no
SystemRequirements: LilyPond v2.22.1-2+ (needed for rendering sheet music or writing MIDI files)
Materials: README NEWS
CRAN checks: tabr results

Documentation:

Reference manual: tabr.pdf
Vignettes: Chord functions
The music class
Note information
Note functions
Noteworthiness
Musical scales

Downloads:

Package source: tabr_0.4.9.tar.gz
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
Old sources: tabr archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=tabr to link to this page.