Indian Scale tuner

need a feature, suggest here

Indian Scale tuner

Postby Broomy » Sun May 31, 2015 5:51 pm

I'm using the Guitarix tuner *a lot* when I intonate.
Is it possible to at a feature to intonate Indian scales?

They use a relative note system (like our Do, Re, Mi...), because they stay in one key.
This also means that the frequency of a root note may vary.
All other notes are relative to the root frequency.

The simplest system is the following:
Note Ratio
Sa 1/1
Re 9/8
Ga 5/4
Ma 4/3
Pa 3/2
Dha 5/3
Ni 15/8
Sa 2/1

So for example when the "Sa" is set on 100 Hz, "Pa" will be 100*3/2=150 Hz

There is also a 22 note scale.

Can this be possible?

Hans

references:
The simple scale http://en.wikipedia.org/wiki/Just_inton ... ian_scales
The full 22 tone scale: http://www.22shruti.com/images/shruti_names_hin_kar.png
User avatar
Broomy
 
Posts: 147
Joined: Thu Apr 24, 2014 7:53 am

Re: Indian Scale tuner

Postby Broomy » Thu Sep 03, 2015 1:50 pm

I hate to be pushy, but is this a doable option?
If not then ok, and I will find an other way to check my tuning.
User avatar
Broomy
 
Posts: 147
Joined: Thu Apr 24, 2014 7:53 am

Re: Indian Scale tuner

Postby brummer10 » Thu Sep 03, 2015 3:46 pm

that isn't easy, as in isn't a equal temperament. Means my structure in the tuner wont work to indicate a note.
User avatar
brummer10
Site Admin
 
Posts: 736
Joined: Thu Mar 26, 2009 6:57 pm

Re: Indian Scale tuner

Postby Broomy » Sun Sep 13, 2015 12:32 pm

I've been pondering over a way to to add just tunings to the tuner.
I've stumbled on this site, here you can create your own scale (see calculation method), I think it's based on or inspired by Scala.
Could this be doable, loading a txt file with a scale in cents and maybe note names?

Par example:
0 A
315.6 C
498 D
702 E
and so on

Just a thought, no hurry with it.

Edit: updated the link of the first link.
User avatar
Broomy
 
Posts: 147
Joined: Thu Apr 24, 2014 7:53 am

Re: Indian Scale tuner

Postby Broomy » Wed Sep 16, 2015 12:52 pm

For experimental purposes:
Could it be possible to add a 53-tet option, simply be numbering the notes from 1 to 52 or using the note names mentioned here , setting number number 39 as a=440.
every step is equal to 22.6415 cents or 2^1/53 part of an octave.

This would give me all the tunings I want.

Thanks in advance.
Hans
User avatar
Broomy
 
Posts: 147
Joined: Thu Apr 24, 2014 7:53 am

Re: Indian Scale tuner

Postby brummer10 » Wed Sep 16, 2015 3:19 pm

Hi Hans

Yes, a 53 tet should be easy to add.
Will do as soon I've had some free time.

regards
hermann
User avatar
brummer10
Site Admin
 
Posts: 736
Joined: Thu Mar 26, 2009 6:57 pm

Re: Indian Scale tuner

Postby Broomy » Wed Sep 16, 2015 3:28 pm

Great!
Hans
User avatar
Broomy
 
Posts: 147
Joined: Thu Apr 24, 2014 7:53 am

Re: Indian Scale tuner

Postby Broomy » Sat Sep 19, 2015 9:35 am

Some Ideas:
When using just tunings you always relate the other notes to the rootnote.
This is commonly done in cents.
So why not making a cent tuner, where we set a=440hz as 0 cent.
So when I want to play in the key of C (which is approx. 316 cents apart from a), and I want to tune a perfect fifth (702cent), I look for 316+702=1018 cents on the tuner
This way everybody can create a scale to their hearts desire using cents.

The question is what interval would be usable?
Too small and the tuner will keep on jumping back and forth, to big and it will be harder get the right amount of cents. The maximum difference should be not be bigger the 5 cents, so an interval size of 10 cents (120-tet) is the max.

Maybe we can start with an interval of 3 cents, will yield a 400-tet scale (again we can use the cent numbers instead of note names). The maximum difference between a just interval will be 1.5 cent, which isn't audible.
If this interval is to small it could be raised up.

An alternative could be a 144-tet which is a 12 sub-division of a semitone, the nomenclature could be:
C
C2/12
C3/12
C4/12
etc.
C#
C#2/12
C#3/12
etc.

Hans
User avatar
Broomy
 
Posts: 147
Joined: Thu Apr 24, 2014 7:53 am

Re: Indian Scale tuner

Postby Broomy » Sun Sep 20, 2015 5:30 am

Hermann,

Allright I've checked this

So adding a new TET means making changes in three documents?
Creating my own branch of Guitarix and uploading changes I've made, is just a wee bit out of my league ;) .
But I think I almost understand the changes you've made to add the 24-tet option.

Does it help you if I create the pieces of code for the several TET-s I would like to add and post them here, so you can check them and paste them in place?

There's only one thing I don't understand yet, what does the value "tuner->target_adjust = ...;" and how does it relate to the TET?
Code: Select all
+    } else if (tuner->temperament == 2) {
+        tuner->target_temperament = 24;
+        tuner->target_adjust = 7;
+        tuner->note = note_24;


Hans
User avatar
Broomy
 
Posts: 147
Joined: Thu Apr 24, 2014 7:53 am

Re: Indian Scale tuner

Postby Broomy » Sun Sep 20, 2015 12:31 pm

It worked!

I've added the following using the fore mentioned link :
Code: Select all
GXRackTuner.cpp

static const char* note_53[53] = {"#0","#1","#2","#3","#4","#5","#6","#7","#8","#9","#10","#11","#12","#13","#14","#15","#16","#17","#18","#19","#20","#21","#22","#23","#24","#25","#26","#27","#28","#29","#30","#31","#32","#33","#34","#35","#36","#37","#38","#39","#40","#41","#42","#43","#44","#45","#46","#47","#48","#49","#50","#51","#52"};

} else if (tuner->temperament == 4) {
     tuner->target_temperament = 53;
     tuner->target_adjust = 11;
     tuner->note = note_53;
    
    
trunk/src/LV2/gxtuner.lv2/widget.cpp

Glib::ustring temperament_modes[] = {"12-TET","19-TET","24-TET", "31-TET","53-TET"};

trunk/src/gx_head/gui/machine.cpp

static const value_pair tuning_temperament[] = {{"12-ET"},{"19-ET"},{"24-ET"},{"31-ET"},{"53-TET"}, {0}};


I've set "tuner->target_adjust" to 11, don't know if it makes any sense, but it seem to work.

Hans
User avatar
Broomy
 
Posts: 147
Joined: Thu Apr 24, 2014 7:53 am

Next

Return to Suggestion Box

Who is online

Users browsing this forum: No registered users and 1 guest

cron