analysis / Symbolic
Pitch-class space
A twelve-bin distribution of pitch-class weights. It combines matching pitches across octaves while retaining their counts.
Try it
Count pitch classes across octaves
Add notes to a small sample. Repeated notes add weight. A note space keeps 128 MIDI bins; folding it combines octaves into twelve pitch-class bins. Measuring every note from the lowest one gives a rootless point space. Transposition moves the note and pitch-class weights while leaving relative points unchanged.
Click a note to add another occurrence. Up to twelve events can be loaded in the player.
Twelve pitch-class bins
Occupied MIDI bins
Source MIDI events
48,60,60,64,67Sparse note space
48:1,60:2,64:1,67:1PC-space counts
3,0,0,0,1,0,0,1,0,0,0,0Normalized PC weights
0.60,0.00,0.00,0.00,0.20,0.00,0.00,0.20,0.00,0.00,0.00,0.00A set records presence only; these spaces preserve occurrence counts. Normalized values are derived from the same counts.
Written forms
Ways to write this concept
Each notation describes the same underlying object. Open an example to see it in every other notation, or load it to hear one MIDI realization in the Code Sequencer.
histogram
Open guideFrequency distribution across 12 pitch classes
normalized
Open guideNormalized distribution (sums to 1)
scale name
Open guideA named space with predefined distributions, based on average distribution of given scales
vector
Open guideFeature vector for pitch class distribution