transpose_pc_chord_id: Transpose pitch-class chord

Description Usage Arguments Value

Description

Transposes a series of pitch-class chords by a given interval.

Usage

1
transpose_pc_chord_id(pc_chord_id, interval)

Arguments

pc_chord_id

An integer vector corresponding to pitch-class chords as encoded using the hrep package (https://pmcharrison.github.io/hrep).

interval

A single integer between 0 and 12, corresponding to the pitch-class interval by which the pitch-class chords ought to be transposed.

Value

An integer vector corresponding to transposed pitch-class chords encoded using the encoding scheme from the hrep package.


pmcharrison/hvrmap documentation built on Nov. 5, 2019, 12:56 a.m.