librosa.thaat_to_degrees

librosa.thaat_to_degrees(thaat)[source]

Construct the svara indices (degrees) for a given thaat

Parameters:
thaatstr

The name of the thaat

Returns:
indicesnp.ndarray

A list of the seven svara indices (starting from 0=Sa) contained in the specified thaat

Examples

>>> librosa.thaat_to_degrees('bilaval')
array([ 0,  2,  4,  5,  7,  9, 11])
>>> librosa.thaat_to_degrees('todi')
array([ 0,  1,  3,  6,  7,  8, 11])