TODO: Maya Kin calculation for PLAYER date of birth

This commit is contained in:
fred 2024-03-02 18:47:53 +01:00
parent a2990e9420
commit 766fd6dc79
1 changed files with 3 additions and 17 deletions

View File

@ -1,22 +1,6 @@
#!/bin/bash
echo "KIN CALCULATION HAS DEFAULT - EDIT - CORRECT and run by hand"
exit 0
# Create KIN directory if not exists
mkdir -p ~/.zen/tmp/KIN
# Loop through numbers 1 to 260
for i in {1..260}; do
# Construct the URL
url="http://www.starroot.com/dreamspell/prayers/kin${i}.rm.mp3"
# Download the file to the KIN directory
[[ ! -s ~/.zen/tmp/KIN/kin${i}.mp3 ]] \
&& echo "$i"
&& curl -o ~/.zen/tmp/KIN/kin${i}.mp3 "$url"
done
echo "THIS KIN CALCULATION HAS DEFAULT - EDIT - CORRECT and run by hand"
# Function to describe tonality based on the provided tonality
describe_tonality() {
@ -180,6 +164,8 @@ calculate_maya_kin() {
kin=$((kin - 260))
fi
aplay /ipfs/Qmbt31Txi8hq9FUMhrEHbjtpgv8A8o3SqysJUrEA4nuZBe/kin$kin.mp3 &
# Print the calculated kin
echo $kin
}