You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Janya ragas and a lot of hinudstani ragas (not like we support those atm) are a bit less restrictive in how their arohanas and avarohanas are defined.
An arohana could have 12 notes with 3 of the swaras duplicated and in a zig zag pattern and then the avarohana could be as little as 3 notes. Here's an example of a Janya for Mayamalavagowla
We currently assume that arohana and avarohana are always 7 swaras and the same up and down. This only really works for the 72 Melakarta ragas. We need this to be more flexible so I propose...
Create a new table called swaras. This is a list of all the swaras
1.1. Put the notes and their intervals in here too? As an example here's a few notes to get you started
Modify the avarohana table to have the same structure as the above arohana table
After this is done. We can drop the notes and formulas table as it'll be contained in the swaras table.
Test all the complete work on Sankarabharanam (29)
Questions
What about anya swaras?
This should be fine with the new proposed structure. It's just a different set of swara_ids for a raga
Will this enable Alankarams and other patterny things to be played?
Kind of. We'll have the swara table in place which we'll need. Next is a case of creating tables for those patterns though which is unrelated to this work
Will this enable arohana and avarohana to be played correctly for janyas via tonejs?
Yeah. Once we have the above in place we can do something like (pseudocode)
// This will bring back a variable amount of results depending on the raga
$arohana = Raga->arohana->all->orderBy('order', 'asc')
The text was updated successfully, but these errors were encountered:
Janya ragas and a lot of hinudstani ragas (not like we support those atm) are a bit less restrictive in how their arohanas and avarohanas are defined.
An arohana could have 12 notes with 3 of the swaras duplicated and in a zig zag pattern and then the avarohana could be as little as 3 notes. Here's an example of a Janya for Mayamalavagowla
We currently assume that arohana and avarohana are always 7 swaras and the same up and down. This only really works for the 72 Melakarta ragas. We need this to be more flexible so I propose...
swaras
. This is a list of all the swaras1.1. Put the notes and their intervals in here too? As an example here's a few notes to get you started
2.1. It should be 3 columns.
raga_id
,swara_id
andorder
. So for exampleSankarabharanam
's arohana would be something like:notes
andformulas
table as it'll be contained in theswaras
table.Questions
swara_id
s for a ragaThe text was updated successfully, but these errors were encountered: