m-yac / xen-calc

A multi-purpose calculator for microtonal(/xenharmonic) music
9 stars 1 forks source link

Bug: Quadzo-agugu should be Bizozogu #10

Closed TallKite closed 3 years ago

TallKite commented 3 years ago

It's important that a temperament have only 1 name. And that the GCD of the higher primes be prominent in that name, because it helps indicate the pergen. The "grammar" is explained at https://en.xen.wiki/w/Color_notation/Temperament_Names#Rules_for_naming_remote_colors

m-yac commented 3 years ago

This was a fun one to fix! Now, the algorithm for generating color symbols checks every possible way to pull out common factors and chooses the one which has the least number of hyphens, and if there's a tie, the most number of groupings (i.e. "bizogu" is chosen over "zozogugu"). This should get at the essence of what you're looking for in the linked page.

Let me know if you you find any issues with this new algorithm!

TallKite commented 3 years ago

I like the way you think! I will test it.