Microtonal Fret Shell Script

31-EDO Ukulele concept drawing

31-EDO Ukulele concept drawing

Music used to be based on rather few tones,
most languages only have high and low ones.
For a while 5-tone scale was quite popular,
much tribal music is made using it.

Much of western popular music uses 7-tones.
Indeed an octave means 8, so when you get to the 8th tone,
it’s the same as the first, but twice as high pitched.
Western art music uses a 12-tone Equally Distributed Octave or 12-EDO,
from which a variety of sub-scales can be constructed,
including the popular 7-tone ones.

The trend certainly seems to be an increasing number of tones.
What then would the music of the future sound like?
It would likely have more than 12-tones per octave.
Based on my research 31-tones per octave or 31-EDO is
the next most interesting scale.

I’ve tried composing music for it on MuseScore a music sheet software.
While I was successful for long enough to get to like it,
after a reinstall it would no longer play the 31-EDO music.

Thus I’m left with the option of making a 31-EDO instrument,
the simplest and cheapest would likely be a fretted instrument,
such as a ukulele, they are $30 for a cheap Mahalo,
and $5 a meter for narrow 764 stewmac fret wire.

I decided to draw scale drawing of such a ukulele,
to see what it would look like. In order to do that,
I needed to calculate the fret distance, so I made a shell script.
here it is:

fretScale.sh

#!/bin/bash                                                                     
# input $1 scale length $1 notes-per-octave                                     
# calculates bridge-distance and fret-distance for each fret                    
# depends on qalc from qalculate package                                        

QALC="qalc -nocurrencies -t"                                                    
SCALE=$1                                                                        
NOTES=$2                                                                        

echo "fret 0, bridge-distance: $SCALE "                                         
for (( i=1;   i <= NOTES; i++ ))                                                
do                                                                              
 interval=`$QALC "$SCALE - ($SCALE / (2^(1 / $NOTES)))"`                        
 SCALE=`$QALC "$SCALE-$interval"`                                               
 echo "fret $i, bridge-distance: $SCALE, fret-distance $interval"               
done

In example an ordinary 12-EDO Soprano Ukulele, with scale length 33cm:

./fretScale.sh 33 12
fret 0, bridge-distance: 33 
fret 1, bridge-distance: 31.147852, fret-distance 1.8521477
fret 2, bridge-distance: 29.399657, fret-distance 1.7481946
fret 3, bridge-distance: 27.749581, fret-distance 1.650076
fret 4, bridge-distance: 26.192117, fret-distance 1.5574643
fret 5, bridge-distance: 24.722066, fret-distance 1.4700506
fret 6, bridge-distance: 23.334523, fret-distance 1.3875429
fret 7, bridge-distance: 22.024857, fret-distance 1.3096661
fret 8, bridge-distance: 20.788697, fret-distance 1.2361602
fret 9, bridge-distance: 19.621917, fret-distance 1.1667799
fret 10, bridge-distance: 18.520623, fret-distance 1.1012936
fret 11, bridge-distance: 17.48114, fret-distance 1.0394827
fret 12, bridge-distance: 16.499999, fret-distance 0.981141

and by comparison a 31-EDO Soprano Ukulele, with same scale length:

./fretScale.sh 33 31
fret 0, bridge-distance: 33 
fret 1, bridge-distance: 32.270322, fret-distance 0.7296783
fret 2, bridge-distance: 31.556778, fret-distance 0.71354405
fret 3, bridge-distance: 30.859011, fret-distance 0.69776655
fret 4, bridge-distance: 30.176673, fret-distance 0.6823379
fret 5, bridge-distance: 29.509423, fret-distance 0.66725041
fret 6, bridge-distance: 28.856926, fret-distance 0.65249653
fret 7, bridge-distance: 28.218857, fret-distance 0.63806887
fret 8, bridge-distance: 27.594897, fret-distance 0.62396023
fret 9, bridge-distance: 26.984733, fret-distance 0.61016356
fret 10, bridge-distance: 26.388061, fret-distance 0.59667194
fret 11, bridge-distance: 25.804582, fret-distance 0.58347865
fret 12, bridge-distance: 25.234005, fret-distance 0.57057708
fret 13, bridge-distance: 24.676044, fret-distance 0.55796078
fret 14, bridge-distance: 24.130421, fret-distance 0.54562345
fret 15, bridge-distance: 23.596862, fret-distance 0.53355893
fret 16, bridge-distance: 23.075101, fret-distance 0.52176116
fret 17, bridge-distance: 22.564877, fret-distance 0.51022426
fret 18, bridge-distance: 22.065935, fret-distance 0.49894246
fret 19, bridge-distance: 21.578025, fret-distance 0.48791012
fret 20, bridge-distance: 21.100903, fret-distance 0.47712172
fret 21, bridge-distance: 20.634331, fret-distance 0.46657185
fret 22, bridge-distance: 20.178076, fret-distance 0.45625526
fret 23, bridge-distance: 19.731909, fret-distance 0.44616679
fret 24, bridge-distance: 19.295608, fret-distance 0.43630139
fret 25, bridge-distance: 18.868954, fret-distance 0.42665414
fret 26, bridge-distance: 18.451734, fret-distance 0.41722019
fret 27, bridge-distance: 18.043739, fret-distance 0.40799485
fret 28, bridge-distance: 17.644766, fret-distance 0.39897348
fret 29, bridge-distance: 17.254614, fret-distance 0.3901516
fret 30, bridge-distance: 16.873089, fret-distance 0.38152477
fret 31, bridge-distance: 16.5, fret-distance 0.37308869

The very tight spacing would be rather difficult to play,
though personally I don’t mind, and I like the compactness.

For those more interested in 31-EDO for a classical guitar with scale length 65cm:

./fretScale.sh 65 31
fret 0, bridge-distance: 65 
fret 1, bridge-distance: 63.562755, fret-distance 1.4372451
fret 2, bridge-distance: 62.15729, fret-distance 1.4054655
fret 3, bridge-distance: 60.782901, fret-distance 1.3743887
fret 4, bridge-distance: 59.438902, fret-distance 1.3439989
fret 5, bridge-distance: 58.124621, fret-distance 1.3142811
fret 6, bridge-distance: 56.839401, fret-distance 1.2852204
fret 7, bridge-distance: 55.582599, fret-distance 1.2568023
fret 8, bridge-distance: 54.353586, fret-distance 1.2290126
fret 9, bridge-distance: 53.151749, fret-distance 1.2018373
fret 10, bridge-distance: 51.976486, fret-distance 1.175263
fret 11, bridge-distance: 50.82721, fret-distance 1.1492762
fret 12, bridge-distance: 49.703346, fret-distance 1.123864
fret 13, bridge-distance: 48.604332, fret-distance 1.0990137
fret 14, bridge-distance: 47.529619, fret-distance 1.0747129
fret 15, bridge-distance: 46.47867, fret-distance 1.0509494
fret 16, bridge-distance: 45.450959, fret-distance 1.0277114
fret 17, bridge-distance: 44.445972, fret-distance 1.0049872
fret 18, bridge-distance: 43.463207, fret-distance 0.98276549
fret 19, bridge-distance: 42.502172, fret-distance 0.96103512
fret 20, bridge-distance: 41.562387, fret-distance 0.93978523
fret 21, bridge-distance: 40.643382, fret-distance 0.91900521
fret 22, bridge-distance: 39.744697, fret-distance 0.89868466
fret 23, bridge-distance: 38.865884, fret-distance 0.87881342
fret 24, bridge-distance: 38.006502, fret-distance 0.85938158
fret 25, bridge-distance: 37.166123, fret-distance 0.84037939
fret 26, bridge-distance: 36.344326, fret-distance 0.82179738
fret 27, bridge-distance: 35.5407, fret-distance 0.80362624
fret 28, bridge-distance: 34.754843, fret-distance 0.7858569
fret 29, bridge-distance: 33.986363, fret-distance 0.76848045
fret 30, bridge-distance: 33.234875, fret-distance 0.75148823
fret 31, bridge-distance: 32.500003, fret-distance 0.73487173

The fret distances are far enough apart that it can be played quite comfortably,
fret distances being only getting slightly closer than in a standard 12-EDO ukulele.

It may be a while, at least months, possibly years before I actually make a 31-EDO ukulele,
though if it works out well, I’ll make a guitalele, and possibly guitar as well.
I’ll post pictures and possibly videos when it comes around to it.

Vegan Pumpkin-Seed Lentil Soup: Micronutrient Supermeal, Gluten-free.

bowl of lentil pumpkin soupWe eat this every day for lunch, it gives us our daily protein, iron, zinc, iodine.
It’s evolution has been a long one, it started out as a coconut curry lentil soup, and was then engineered to become a complete micronutrient meal.
You may be aware that Calcium inhibits Iron uptake, and Brassicas (such as kale, broccoli, bok choy, etc) inhibit Iodine uptake and so we have to have a meal that is separate from salad and high-calcium foods. Thus we include all our most important micronutrients in this meal.

nutrition facts graph for pumpkin seed lentil soupWe make a pot of it, and split it into 4 bowls, 2 each. Each bowl has high potency, greater than 100% of manganese, is an excellent source, having more than 80% of iodine, more than 60% copper,  more than 40% protein, iron, phosphorous,  fiber,  magnesium,  folate, more than 20% zinc, Vitamin B1, Vitamin A, potassium, Vitamin B6 and is a good source more than 10% Vitamin B3 (niacin), selenium, vitamin C and vitamin B2.  While only having marginal Calcium and no brassica. Considering we usually have two bowls, can double those, and it can meet all your iodine, copper, protein, iron needs for the day.  Typically to help with iron absorption we also have a banana or some other source of vitamin C with it.

Ingredients (metric):

  • 1 1/2 cup pink lentils
  • 1/2 cup pumpkin seeds
  • 1 medium sweet potato diced
  • 4-5 cups water
  • 1 tbsp dulse flakes
  • 1 tsp turmeric
  • 1/4 tsp cayenne pepper
  • 1/4 tsp salt
  • 1 tbsp fresh ginger
  • 1 tsp of capers (optional)
  • 1 tsp oil, coconut or olive.

Recipe:

  1. put all ingredients except for tomato paste in pot
  2. cook until ready
  3. add tomato paste
  4. stir
  5. serve

Cooking times:

Pressure Cooker: We usually use a 2Lt futura pressure cooker, so we only put in 3 cups of water at first, and cook it for 5 minutes at high pressure, and leave it for 15 minutes. Then add remainder of water and follow rest of instructions. The oil is necessary to keep it from frothing too much.

Ordinary Pot: We used to cook it in an ordinary pot,  while it may be edible after 15 or 20 minutes of boiling, typically we do it for as much as 40 to break down the flatulence causing complex sugars.  It is much quicker and more effectively cooked with the pressure cooker.

Quantity:

This recipe has around 1600 Calories, so if cooking for one person split it in half. This soup is also very thick, so if you can add more water if you like it more soupy. At it’s current consistency I can eat it with chopsticks.

Lord’s Prayer in Mkaw, version 0.1

Amen, Amun-Ra King of the Gods.

Amen, or Amun-Ra chief deity in the Egyptian, New Kingdom.

The Lord’s prayer is perhaps the most translated piece of text in the world.
It is fairly short, though has many complex grammatical constructs.
Though I myself am not Christian, I respect all faiths,
even if I do not understand them.

Recently I’ve been working a lot on Mkaw and it’s vocabulary, so I’ve made a tenative version of the Lord’s Prayer

Here is the Lord’s Prayer in English:
1988 ELLC
Our Father in heaven,
hallowed be your name,
your kingdom come,
your will be done,
on earth as in heaven.
Give us today our daily bread.
Forgive us our sins
as we forgive those who sin against us.
Save us from the time of trial
and deliver us from evil.
[For the kingdom, the power, and the glory are yours
now and for ever.] Amen.

Here it is in Mkaw

daqg lo mpi pap no yo
maw .a smi .i lim to .u ki ya
to .u pyam kapm .a yaw .i ki ya
to .u kawm .a cwal .i ki ya
pakw ba danq lo wik .i ya
qi ta yay .a ywa qiu .i cu
.ai wmi wap .i qi ta yik wayk no .a cu
musa .u qi ta yik wayk .i mpi ta ni .u .ai wmi wap ya
kam .i qi .a yik kpaw qo q1 cu
kam .i qi .a yik q1 cu
kapm ki pwa ki maw .u smi .i to .a wimp ya
hamn ya

The vocab is a variety of 3,4 and 5 bit,
so to translate them yourself you’d need all three:

spel.sourceforge.net/doc/lang/vocab-3bit.txt

spel.sourceforge.net/doc/lang/vocab-4bit.txt

spel.sourceforge.net/doc/lang/vocab-5bit.txt

The Lords Prayer is also highly featured in the Rosetta Project, as the bible and it’s excerpts are the most translated pieces of text in the world.

Healthy Clerics

female clericA cleric is a priest(ess), rabbi, monk, nun or other such spirit leader.
For the Immortal Society, the Clerics should lead by example,
and thus be in good health both with mind and body.
That would mean they must be of a healthy weight,
and fat to muscle ratio, with good breathing and blood flow,
while also meditating regularly and learning new things.

To this end, it would make sense that a part of the services they provide the community,
is various weekly fitness events, such as walks, runs, and bike rides.
If not pressed for time, or by social circumstance it would be reasonable to expect them to use such a method for commuting to any location within a 20km radius, as it would only be approximately an hour long bike ride for a healthy person.

Covering of the topics of nutrition, fitness, meditation, education and ecology can be a part of the regular speeches they give to their audience at the spirit gatherings.

I was even thinking that if they fail on some fitness metric, then their clerical abilities would be suspended until they can again be a good example. In that time a substitute that is sufficiently healthy can take their place. Exceptions can of course be made for exceptional circumstances, such as famines, illness, injury or disability.

Also being an Immortal Society, would have to promote reproductive fitness also. So unlike some other contemporary faiths Immortal Societies Clerics would be encouraged to get married and have children. This would also help make their gatherings child and family friendly, since they would like to make it welcoming for their own family.

I’ve seen my fair share of unhealthy Clerics, particularly the overweight and obese kind. Personally it makes it hard for me to take them seriously, because they are less healthy than I am, so it doesn’t seem there is much they could teach me. My most conflicted example of this is the current Dali Lama who is at the very least overweight, sure maybe he likes to pass it off as a “Buddha Belly”, fact is he overindulges in food, or haw low nutrient food and overeats to compensate.
I don’t blame him, his job is hard, and not dependant on his Body-Mass-Index(BMI).
To be lead Cleric in Immortal Society however, would necessitate good health.

Being healthy makes IS Clerics more appealing, so that is likely to help with membership.
Some people seem to go to the “gym” with almost religious regularity,
by making the IS place compatible with fitness it would attract them.

With church attendance at an all time low, and property prices continuing to rise there is no guarantee there will be any market for having a regular style of church.
Instead it could be more similar to a meet-up group,
that could have both online and in person meetings.
The online ones for information exchange and planning.
The in person ones for socializing, fitness activities and celebrations.

SPEL will eventually be able to help with the online portion,
as well as keeping track of fitness metrics.
Meanwhile this can be done with contemporary technologies.