all you need to render a correctly sized piano on the web
UNLICENSE License
This lib includes the rendering logic for a correctly sized piano.
npm run start
to run['A1','C6']
['black', 'white']
[
{ keys: ['E2', 'Bb2'], color: 'yellow' },
{ keys: ['C2', 'G2'], color: 'brown' }
];
{
C2: '1',
Eb2: 'b3',
G2: '5',
Bb2: 'b7',
}
['G','A','B','C','D','E','F#']