pc_set_type_alphabet: Pitch-class set type alphabet

pc_set_type_alphabetR Documentation

Pitch-class set type alphabet

Description

This dataset defines an alphabet for the type "pc_set_type". It is a list with two components, defining a forward and backward mapping between integers and "pc_set_type" objects:

  • by_id: A list object. The ith element of this list contains the pitch-class set type corresponding to integer i.

  • by_chord: An environment object. A pitch-class set type can be mapped to an integer by taking the pitch-class set type object, converting it to a string representation (with as.character), and accessing the object within this environment with this name. The result will be a coded vector (see coded_vec) of length 1.


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