hp: Hammer ons and pull offs

View source: R/phrase_helpers.R

hpR Documentation

Hammer ons and pull offs

Description

Helper function for generating hammer on and pull off syntax.

Usage

hp(...)

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.

Value

character.

Examples

hp(16, 16)
hp("16 16")
hp("16 8 16", "8 16 8")

tabr documentation built on Sept. 12, 2024, 6:18 a.m.