Obviously it needs some adjusting. LOL BUT it did come on it’s own .. unasked for so I am including it here now. These are the frequencies used.
// Vedic frequency mapping (simplified)
const vedicFrequencies = [
256, // Sa (root)
288, // Re
320, // Ga
341.3, // Ma
384, // Pa
432, // Dha
480, // Ni
512 // Sa (octave)
];