Plato-MIDI Bridge — Style decomposition for MIDI with Eisenstein lattices and Penrose tilings.
Core Types
StyleVector— 109-dimensional musical style vectorEisensteinLattice— 12-chamber hexagonal lattice encodingPenroseEncoder— 5D cut-and-project tiling encodingScaleLevel— Multi-scale analysis (micro, note, phrase, section, piece)
Usage
use ;
// Create a style vector from raw features
let style = new;
// Encode in Eisenstein lattice
let coupling = ;
let chamber = chamber;
assert!;
// Encode in Penrose tiling
let encoder = new;
let v = ;
let = encoder.encode;
assert!;