notenames: Generating note names from numbers

Description Usage Arguments Value Author(s) Examples

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")

Example output

[1] "A"   "a"   "a'"  "a''"
 [1] "c''"  "c#''" "d''"  "d#''" "e''"  "f''"  "f#''" "g''"  "g#''" "a''" 
[11] "a#''" "b''"  "c'''"
 [1] "c''"   "cis''" "d''"   "dis''" "e''"   "f''"   "fis''" "g''"   "gis''"
[10] "a''"   "ais''" "h''"   "c'''" 

tuneR documentation built on May 2, 2019, 6:15 p.m.

Related to notenames in tuneR...