key: Humdrum key interpretation

keyR Documentation

Humdrum key interpretation

Description

Humdrum key interpretation

Usage

key(x, ..., Key = NULL, parseArgs = list())

Arguments

x

Input data, interpreted as diatonic keys.

Must be an atomic vector.

Key

The key used by the parser, deparser, and transposer.

Defaults to NULL.

Must be a diatonicSet or something coercable to diatonicSet; must be either length 1 or length(x)

parseArgs

An optional list of arguments passed to the key parser.

Defaults to an empty list().

Must be a list of named arguments to the key parser.

Examples


key(c('I', 'ii', 'ii:dor', 'v', '-vi', 'V/V', 'ii/V'))



Computational-Cognitive-Musicology-Lab/humdrumR documentation built on Oct. 22, 2024, 9:28 a.m.