Music Notation Syntax, Manipulation, Analysis and Transcription in R
Overview
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.
- Updated to avoid upcoming breaking change in latest
dplyrpackage release.
From NEWS.md in the release
Install
Health
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.
- NOTE11 OK, 2 NOTENow
- NOTE12 OK, 1 NOTE2026-07-11
- OK14 OK2026-03-10
Documentation
- 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%
- Chord functions HTML
- Musical scales HTML
- Note functions HTML
- Note information HTML
- Noteworthiness HTML
- The music class HTML
Downloads
Repository
- 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
Forks over time
Releases over time
Issues over time
PRs over time
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.
The R CMD check workflow runs on Linux and macOS, and on R-devel
GitHub Pages site last deployed 2026-01-06
pkgdown site last built 2026-01-06, before release 0.5.5 (2026-01-09)
Show all practicesHide 4 practices
Dependencies
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.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.5.5Latest
- 0.5.42025-10-31 · diff ↗
- unarchivedReturned to CRAN2025-07-04
- 0.5.32025-07-04 · diff ↗
- archivedRemoved from CRAN2025-05-11issues were not corrected in time
- 0.5.22025-04-28 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.5.12024-09-12 · diff ↗
- 0.5.02024-06-29 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.4.9
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.4.52021-02-20 · diff ↗
Show 13 earlier eventsHide 13 earlier events
- 0.4.42020-11-17 · diff ↗
- 0.4.3
- RR 4.0.0 released · 2020-04-24
- 0.4.22020-03-17 · diff ↗ ·
added 5 exports
freq_ratio, lilypond_root, lilypond_version, semitone_freq, tabr_lilypond_api - 0.4.12020-02-09 · diff ↗
- 0.4.02019-12-04 · diff ↗ ·
removed 8 exports
chord_is_diatonic, chord_is_known, chord_name_mod, chord_name_root, chord_name_split, dup, fretboard_plot, glueadded 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.52019-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.02019-06-23 · diff ↗ ·
removed 7 exports
is_flat, is_major, is_minor, is_natural, is_sharp, n_flats, n_sharpsadded 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 - RR 3.6.0 released · 2019-04-26
- 0.2.0
- RR 3.5.0 released · 2018-04-23
- 0.1.22018-04-18
- RR 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")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.
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.