How well notes agree, as pure functions โ two models side by side: a 12-TET interval table for the answer a musician would give, and Plomp-Levelt roughness plus harmonic coincidence for the answer a cochlea would give. On top sit the pieces a UI needs: interval-class vectors, voice-leading smoothness, chord self-consonance, fitting notes to a weighted pitch-class context, and the min-max luminance banding that turns clustered scores into a readable brightness ranking.
pnpm dlx shadcn@latest add "https://pluginui.com/r/core-consonance.json"No files included in this item.