thaat_to_degrees
thaat_to_degrees(
thaat):number[]
Defined in: packages/pleco-xa/src/scripts/xa-notation.js:347
Construct the svara indices (degrees) for a given thaat
Parameters
Section titled “Parameters”string
Thaat name (e.g., ‘bilaval’, ‘khamaj’)
Returns
Section titled “Returns”number[]
Array of 7 svara degrees (0-11)
Example
Section titled “Example”thaat_to_degrees('bilaval') // [0, 2, 4, 5, 7, 9, 11]thaat_to_degrees('khamaj') // [0, 2, 4, 5, 7, 9, 10]