tuneR (version 1.3.3)

notenames: Generating note names from numbers

Description

A function that generates note names from numbers

Usage

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.

Examples

Run this code
# NOT RUN {
notenames(c(-24, -12, 0, 12)) # octaves of a
notenames(3:15)               # chromaticism

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

Run the code above in your browser using DataCamp Workspace