OpenMusic Reference
card
card
(Zn module) -- returns the number of best-normal-ordered pitch sets of cardinality k for an n -tone subdivision of the octave
Syntax
card n k
Inputs
name | data type(s) | comments |
---|---|---|
n | an integer | must be more than 2; defaults to 12 |
k | an positive integer | defaults to 6 |
Output
output | data type(s) | comments |
---|---|---|
first | an integer |
Description
For a given division of the octave into equal parts (12 is the default), there are a limited number of distinct pitch sets that can be created with a given number of pitch classes. card returns this number. Sets that have the same internal structure but start on different tones (a G major chord and an F major chord, for example) are not considered to be different. Input n defines the number of equal subdivisions of the octave- traditionally 12. k defines the target cardinality.
![]() |
card uses the Forte Prime for its calculation. A single best normal order is thus chosen between a given normal order and its inversion. card will thus return a lower number than would the same calculation using the Solomon Prime.
—|—
Prev | Home | Next |
---|---|---|
canons | Up | concat |