HarmonicCompatibility class

Result of comparing two users' Harmonic Footprints for resonance compatibility — used by Cyberneom's Ceremonias and Círculos de Unión to suggest ideal meditation partners.

Compatibility is measured across 3 dimensions:

  1. Pitch consonance — are their resonance frequencies harmonically related? (octave, fifth, fourth = high consonance)
  2. Signature similarity — how similar are their 8-harmonic shapes?
  3. Centroid complementarity — one bright + one dark voice balances the pair's combined spectrum

Constructors

HarmonicCompatibility({required double resonanceA, required double resonanceB, required double pitchConsonance, required double signatureSimilarity, required double centroidComplementarity})
const
HarmonicCompatibility.compute(HarmonicFootprint a, HarmonicFootprint b)
Compare two footprints and compute compatibility.
factory

Properties

centroidComplementarity double
Centroid complementarity (0–1). 1.0 = perfect bright+dark balance.
final
hashCode int
The hash code for this object.
no setterinherited
intervalName String
Musical interval name between the two resonances.
no setter
label String
Human-readable label.
no setter
overallScore double
Overall compatibility score (weighted average).
no setter
pitchConsonance double
Pitch consonance (0–1). 1.0 = perfect octave/unison.
final
resonanceA double
User A's resonance Hz.
final
resonanceB double
User B's resonance Hz.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signatureSimilarity double
Harmonic signature similarity (0–1). 1.0 = identical shapes.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited