Music Notation Syntax, Manipulation, Analysis and Transcription in R
Concatenate and repeat
Noteworthy string to data frame
Arpeggiate a chord
Broken chords
Define chords
Chord inversion
Check if chords are major or minor
Generate a chord set
Rank, order and sort chords and notes
Extract notes from chords
Chord mapping
Chord constructors
Double bracket methods for tabr classes
Construct a dyad
Frequency ratios
Hammer ons and pull offs
Interval semitones
Interval helpers
Check if notes and chords are diatonic
Key signatures
LilyPond installation information
Save score to LilyPond file
LilyPond chord notation
Create lyrics and check lyrics string validity
Convert MIDI to LilyPond file
Convert MIDI to tablature
Mode helpers
Accessing music object values and attributes
Create music objects and check music string validity
Summarize rhythm and time of music objects
Add text to music staff
Note/chord n-gram
Slice, sort, rotate, shift and arpeggiate notes
Basic noteworthy string checks
Basic noteworthy strings formatting and coercion helpers
Note, pitch and chord equivalence
Relational operators for noteworthy class
Noteworthy string metadata
Noteworthy string summaries
Note info helpers
Phrase validation and coercion
Create a musical phrase
Pitch conversions
Create a sequence from pitch notation
Chord and fretboard diagram plots
Plot sheet music snippet with LilyPond
Convert between chord frequency ratios and cents
Read, inspect and convert MIDI file contents
Render a chord chart with LilyPond
Render sheet music snippet with LilyPond
Repeat phrases
Create rests
Diatonic chords
Scale degrees and mappings
Scale helpers
Create a music score
Create a musical phrase from string/fret combinations
Simplify the LilyPond syntax of a phrase
Single bracket methods for tabr classes
Fold and unfold strings
Render sheet music with LilyPond
Options
Concatenate for tabr classes
tabr: Additional Detals
Head and tail for tabr classes
Length for tabr classes
Summary of implemented S3 generic methods
Repeat for tabr classes
Reverse for tabr classes
tabr: Music Notation Syntax, Manipulation, Analysis and Transcription ...
Tied notes
Music notation syntax converters
Create a music track
Bind track tables
Transpose pitch
Tuplets
Check note info validity
Check note and chord validity
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.