tuneR (version 1.4.7)

notenames: Generating note names from numbers

Description

A function that generates note names from numbers

Usage

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

Value

A character vector of note names.

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.

Examples

Run this code
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 DataLab