Skip to content

Music Notation Syntax, Manipulation, Analysis and Transcription in R

1packages depend
6.4Kdownloads / year
97.1%test coverage
11/13flavors OK

Overview

About

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.

Changes in 0.5.5
  • Updated to avoid upcoming breaking change in latest dplyr package release.

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTERd contentsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Rd files without \usage:
  ‘tabr-methods.Rd’
\arguments should not be documented without \usage.

CRAN check page ↗

Slowest check: 3.7 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTENow
  • NOTE12 OK, 1 NOTE2026-07-11
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.5.5
READMEYes · 3,035 wordsVignettesYes · 6 · dynamicNEWSYes · 100% structured · mentions 0.5.5Citation fileNoWebsiteYes · pkgdown
Help pages
83includes a package overview page
Examples that run
93%71 run in a plain check · 5 never run
Exported functions with examples
100%
Documented parameters
97%
Return-value docs
100%
Help pages citing references
0%

Downloads

6.4K
CRAN downloads in the past year
Rank #5,836 · ~18/day · ~532/mo
Daily download trend is not available in this view yet.
64630 days
1.4K90 days
6.4K1 year
Compare downloads with other packages →
Also on105 r2u3 autocran

Repository

137Stars
13Forks
1Open issues
0Open PRs
16Releases
655Commits
10Commit identities
r-packagemusic-analysismusic-notationmusic-datamusic-transcriptionsheet-musicguitar-tablaturelilypond
655 commits · Last activity 2026-01-06 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
57%
Median days to close, 50 most recently updated closed issues
4
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-03-19 · 1312026-08-20 · 137
PracticesBeta

13 development-tooling and community-health practices detected across 8 families in the upstream repository

Checks run against github.com/leonawicz/tabr on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux and macOS, and on R-devel

Governance and community (2)
Code of conductIssue templates
Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-01-06

pkgdown site last built 2026-01-06, before release 0.5.5 (2026-01-09)

Coverage (1)
Coverage reporting
Show all practicesHide 4 practices
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdrevdep/
Research and citation (1)
codemeta.json
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)

Installing tabr adds 30 packages (15 with compiled code, 28 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, isoband 1.5 MB.

Depends (1)
R >= 4.1
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 0.1.2 (2018)
Releases (17)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.5.5Latest
    record
    2026-01-09 · current release · diff ↗
  • 0.5.4
    record
    2025-10-31 · diff ↗
  • unarchivedReturned to CRAN
    2025-07-04
  • 0.5.3
    record
    2025-07-04 · diff ↗
  • archivedRemoved from CRAN
    2025-05-11
    issues were not corrected in time
  • 0.5.2
    record
    2025-04-28 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.5.1
    record
    2024-09-12 · diff ↗
  • 0.5.0
    record
    2024-06-29 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.4.9
    record
    2023-09-21 · diff ↗ ·
    removed 1 export
    %>%
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.4.5
    record
    2021-02-20 · diff ↗
Show 13 earlier eventsHide 13 earlier events
  • 0.4.4
    record
    2020-11-17 · diff ↗
  • 0.4.3
    record
    2020-05-05 · diff ↗ ·
    added 2 exports
    cents_to_ratio, ratio_to_cents
  • R
    R 4.0.0 released · 2020-04-24
  • 0.4.2
    record
    2020-03-17 · diff ↗ ·
    added 5 exports
    freq_ratio, lilypond_root, lilypond_version, semitone_freq, tabr_lilypond_api
  • 0.4.1
    record
    2020-02-09 · diff ↗
  • 0.4.0
    record
    2019-12-04 · diff ↗ ·
    removed 8 exports
    chord_is_diatonic, chord_is_known, chord_name_mod, chord_name_root, chord_name_split, dup, fretboard_plot, glue
    added 98 exports
    as_lyrics, as_music, as_music_df, as_noteinfo, bpm, chord_degree, chord_size, duration_to_ticks, from_chorrrds, from_music21, gc_is_known, gc_name_mod, gc_name_root, gc_name_split, gc_notes_to_fb, info_annotation, info_articulation, info_bend, info_dotted, info_double_dotted, info_duration, info_single_dotted, info_slide, info_slur_off, info_slur_on, informable, is_in_scale, is_lyrics, is_music, is_noteinfo and 68 more
  • 0.3.5
    record
    2019-10-07 · diff ↗ ·
    added 38 exports
    accidental_type, as_integer_octaves, as_space_time, as_tick_octaves, as_vector_time, chord_freq, chord_is_major, chord_is_minor, chord_root, chord_semitones, chord_slice, chord_top, distinct_notes, distinct_octaves, distinct_pitches, freq_pitch, freq_semitones, is_space_time, is_vector_time, n_chords, n_notes, n_octaves, n_steps, note_slice, octave_range, octave_span, octave_type, pc, pitch_freq, pitch_range and 8 more
  • 0.3.0
    record
    2019-06-23 · diff ↗ ·
    removed 7 exports
    is_flat, is_major, is_minor, is_natural, is_sharp, n_flats, n_sharps
    added 142 exports
    as_noteworthy, as_phrase, chord_11, chord_13, chord_5, chord_7s11, chord_7s5, chord_7s9, chord_add9, chord_arpeggiate, chord_aug, chord_break, chord_def, chord_dim, chord_dim7, chord_dom7, chord_dom9, chord_invert, chord_is_diatonic, chord_is_known, chord_m7b5, chord_madd9, chord_maj, chord_maj11, chord_maj13, chord_maj6, chord_maj7, chord_maj7s11, chord_maj9, chord_min and 112 more
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2.0
    record
    2018-05-18 · diff ↗ ·
    added 2 exports
    sf_note, sfn
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.2
    record
    2018-04-18
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-04-18
Total releases
17 / 8 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1
Bundled data
46 KB / 5 files
Download size
398 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("tabr")
Leonawicz, M. (2026). tabr: Music Notation Syntax, Manipulation, Analysis and Transcription in R (Version 0.5.5) [Computer software]. https://doi.org/10.32614/CRAN.package.tabr

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for tabr version 0.5.5 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy