Indian Scale tuner

need a feature, suggest here

Re: Indian Scale tuner

Postby brummer10 » Mon Sep 21, 2015 3:45 am

Hi Hans
Great, indeed that's it to add a new tet.

Broomy wrote: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?


The tuner->target_adjust adjust the displayed Octave. It is the difference from the begin of the static const char* note_X, which must be the equivalent to A (440Hz), to the equivalent of "C", the next Octave step.
So, for the 53 tet, we need to start the string with "la" (39) and have then "do" (0) on position 15 in the string note_53.
tuner->target_adjust needs to be 15 to show the correct octave.
The adjustment is needed because we start the note string with the corresponding note for the reference_pitch.

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

Re: Indian Scale tuner

Postby Broomy » Mon Sep 21, 2015 6:45 am

Allright, that's clear now.

I've been thinking of changing the numbers in either the names mentioned earlier or some alternative nomenclature, but I think that simply numbering the steps is the best option.
This way someone can determine the notes he wants by finding the corresponding numbers, this is easier than the rather abstract names .

For the time being: with the 53-TET added, the journey for different tunings ends for me. Time to make some music!

If there be a request for a different TET I'll be happy to provide the needed code.

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

Re: Indian Scale tuner

Postby Broomy » Mon Jun 26, 2017 8:48 pm

Alright, off-topic song of praise:
It's been a while since I've posted here, but have been playing regularly with Guitarix (or as a plugin in Ardour)!
I'm using the tuner often to intonate while playing fretless and it is by far the fastest responding and most accurate tuner I've worked with!
Nice anecdote is that when I was still using my laptop on gigs I once heard the drummer yelling the notes I played.
I said that he had a good ear if he could hear them that fast. He responded: No, I can read them on-the-fly on your screen while you play them.
So thank you!

On topic:
I've been studying Indian classical again lately and I'm still boggling my mind on a way to intonate my instrument to an Indian scale.
They divide the octave in 22 bits, which are called shruti's.
The problem is that these shruti's aren't equally tempered, but they're a set of ratios compared to a tonic (in Indian jargon: Sa).

Could it be a doable idea to make an "Indian shruti tuner"-plugin?
Where you can set the "Sa" based on one of the 12 western notes (A - 440Hz and so on).
When the "Sa" is set the plugin analyses the frequency played and compares it with the list of shruti's.
This way the internal structural design of the tuner is left alone.

Hans

The ratio's and common abbreviates of the shruti's are:
1. Sa 1
2. r1 256/243
3. r2 16/15
4. R1 10/9
5. R2 9/8
6. g1 32/27
7. g2 6/5
8. G1 5/4
9. G2 81/64
10. M1 4/3
11. M2 27/20
12. m1 45/32
13. m2 729/512
14. Pa 3/2
15. d1 128/81
16. d2 8/5
17. D1 5/3
18. D2 27/16
19. n1 16/9
20. n2 9/5
21. N1 15/8
22. N2 243/128

Btw. the website http://www.22shruti.com/ gives some interesting and hardcore scientifically facts, why the shruti's make sense.
User avatar
Broomy
 
Posts: 147
Joined: Thu Apr 24, 2014 7:53 am

Re: Indian Scale tuner

Postby brummer10 » Fri Jun 30, 2017 4:44 pm

Hi Hans

Okay, I've worked on it a bit and come up with a first implementation.
But, not a plugin, I've added a shruti tuner mode to GxTuner, the stand alone version on github:
https://github.com/brummer10/gxtuner

it has now the additional option -m
means

gxtuner -m shruti -> will start GxTuner in shruti mode

gxtuner -m chromatic -> will start GxTuner in chromatic mode (default, same as just run gxtuner)

Take the cent scale with a grain of salt, this one needs some more work, so this is the very first implementation. Usuable, but not finished at all.

Let me know if it is workable for You.

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

Re: Indian Scale tuner

Postby Broomy » Sat Jul 01, 2017 7:36 pm

Thanks Hermann,

I've turned the reference frequency knob to different settings and played several scales and bending notes up and down.
It seems to be working fine!

Would it be possible to make a switch in the tuner itself so I can switch without restarting the tuner / guitarix?
For instance: Switch: ET / Just Tunings

And while we're at it, would you mind adding an other just tuning, similar to Indian one?
Ptolemy's intense diatonic scale:
Do 1:1
Re 9/8
Mi 5/4
Fa 4/3
So(l) 3/2
La 5/3
Ti 15/8
Do 2:1

Great stuff!

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

Re: Indian Scale tuner

Postby brummer10 » Sun Jul 02, 2017 10:27 am

Hi Hans

Done. :metal2:

Ptolemy's intense diatonic scale is added
Code: Select all
-m diatonic


And you could select/switch the tuning mode now as well from a selector (combobox) during runtime.

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

Re: Indian Scale tuner

Postby Broomy » Sun Jul 02, 2017 10:33 am

Yes sir, I just checked the Github, and with just 4 minutes old changes I pulled gxtuner.

It works great!

Thanks a lot!

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

Re: Indian Scale tuner

Postby brummer10 » Mon Jul 03, 2017 4:46 am

Broomy wrote:It works great!

Thanks a lot!


You are welcome. :)
User avatar
brummer10
Site Admin
 
Posts: 743
Joined: Thu Mar 26, 2009 6:57 pm

Previous

Return to Suggestion Box

Who is online

Users browsing this forum: No registered users and 1 guest

cron