tabr (version 0.4.9)

hp: Hammer ons and pull offs

Description

Helper function for generating hammer on and pull off syntax.

Usage

hp(...)

Value

character.

Arguments

...

character, note durations. Numeric is allowed for lists of single inputs. See examples.

Details

This is especially useful for repeated instances. This function applies to general slur notation as well. Multiple input formats are allowed. Total number of note durations must be even because all slurs require start and stop points.

Examples

Run this code
hp(16, 16)
hp("16 16")
hp("16 8 16", "8 16 8")

Run the code above in your browser using DataLab