edit_bass_pc: Edit bass pitch class

View source: R/pc-chord.R

edit_bass_pcR Documentation

Edit bass pitch class

Description

Edits the bass pitch class of a sonority. Throws an error if the proposed pitch class was not already in the sonority's pitch-class set.

Usage

edit_bass_pc(x, new)

## S3 method for class 'pc_chord'
edit_bass_pc(x, new)

Arguments

x

Original sonority.

new

(Numeric scalar) New bass pitch class.

Value

A sonority with the updated bass pitch class.


pmcharrison/hrep documentation built on Feb. 18, 2024, 2:33 a.m.