Generating note names from numbers

Description

A function that generates note names from numbers

Usage

1
notenames(notes, language = c("english", "german"))

Arguments

notes

An interger values vector, where 0 corresponds to a', notes below and above have to be specified in the corresponding halftone distance.

language

Language of the note names. Currently only english and german are supported.

Value

A character vector of note names.

Author(s)

Uwe Ligges ligges@statistik.tu-dortmund.de

Examples

1
2
3
4
5
notenames(c(-24, -12, 0, 12)) # octaves of a
notenames(3:15)               # chromaticism

## same in german:
notenames(3:15, language = "german")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.