Struct PitchClassSetAnalysisResult
Result of pitch-class set analysis: normal order, prime form, and interval vector (Forte set theory).
public readonly record struct PitchClassSetAnalysisResult : IEquatable<PitchClassSetAnalysisResult>
- Implements
- Inherited Members
Constructors
PitchClassSetAnalysisResult(ushort, int, int[], int[], int[], int[])
Result of pitch-class set analysis: normal order, prime form, and interval vector (Forte set theory).
public PitchClassSetAnalysisResult(ushort Mask, int Cardinality, int[] PitchClasses, int[] NormalOrder, int[] PrimeForm, int[] IntervalVector)
Parameters
Maskushort12-bit pitch-class membership mask (bit
pcset = that pitch class is present).CardinalityintNumber of distinct pitch classes in the set.
PitchClassesint[]Distinct pitch classes (0-11), ascending.
NormalOrderint[]The set's normal order.
PrimeFormint[]Prime form, transposed to begin on 0.
IntervalVectorint[]Interval-class vector <ic1..ic6>.
Properties
Cardinality
Number of distinct pitch classes in the set.
public int Cardinality { get; init; }
Property Value
IntervalVector
Interval-class vector <ic1..ic6>.
public int[] IntervalVector { get; init; }
Property Value
- int[]
IntervalVectorText
Interval vector formatted as <a,b,c,d,e,f>.
public string IntervalVectorText { get; }
Property Value
Mask
12-bit pitch-class membership mask (bit pc set = that pitch class is present).
public ushort Mask { get; init; }
Property Value
NormalOrder
The set's normal order.
public int[] NormalOrder { get; init; }
Property Value
- int[]
NormalOrderText
Normal order formatted as {a,b,c}.
public string NormalOrderText { get; }
Property Value
PitchClasses
Distinct pitch classes (0-11), ascending.
public int[] PitchClasses { get; init; }
Property Value
- int[]
PitchClassesText
Pitch classes formatted as {a,b,c}.
public string PitchClassesText { get; }
Property Value
PrimeForm
Prime form, transposed to begin on 0.
public int[] PrimeForm { get; init; }
Property Value
- int[]
PrimeFormText
Prime form formatted as {a,b,c}.
public string PrimeFormText { get; }