|
Post by AnthroHeart on Mar 31, 2024 18:24:11 GMT
When I use smoothing of 100% to generate a pure tone of 528 Hz with intention "I am Love.", I get a peak of 528.08 Hz, which is really good.
|
|
|
Post by AnthroHeart on Mar 31, 2024 18:28:21 GMT
528Hz for "I am Love" with 0 Smoothing creates these peaks (528.08 is the loudest):
Frequency (Hz) Loudness (dB) 174.32 -33.1 410.16 -16.26 528.08 -4.66 704.59 -21.99 822.51 -36.7 940.43 -38.25 1294.19 -52.72 1470.7 -53.44 1706.54 -56.5
|
|
|
Post by AnthroHeart on Mar 31, 2024 19:37:36 GMT
When I specify sampling rate of 767500 and use 528Hz with 100% smoothing, the peak is actually at 527Hz.
When I choose a sampling rate of 48000, the peak is at 528.08Hz. That little 0.08Hz difference adds up at a higher sample rate, and shifts it down by 1Hz.
I tried using Double for higher precision to 28-decimal places, but it's still showing this discrepancy.
It's not much though. I will see if I can solve this.
|
|
|
Post by nathanmyersc on Mar 31, 2024 20:02:45 GMT
When I specify sampling rate of 767500 and use 528Hz with 100% smoothing, the peak is actually at 527Hz. When I choose a sampling rate of 48000, the peak is at 528.08Hz. That little 0.08Hz difference adds up at a higher sample rate, and shifts it down by 1Hz. I tried using Double for higher precision to 28-decimal places, but it's still showing this discrepancy. It's not much though. I will see if I can solve this. Double helped? or no? is it consistent. perhaps theres a way to correct it like aim for a slightly higher frequency or lower frequency depending on the sampling rate and smoothing rate. i have no idea tho perhaps theres also inaccuracy in reading instruments.
|
|
|
Post by AnthroHeart on Mar 31, 2024 20:51:22 GMT
I tested it with using numpy sin instead of math sin, but it made no difference. I tried double number to 28-decimal places of precision, but it didn't make a difference.
At 48000 432Hz = 432.13 At 767500 432Hz = 433.31
So I'm not sure if it's about precision.
|
|
|
Post by AnthroHeart on Mar 31, 2024 21:19:31 GMT
Ok, I was able to fix the issue with frequency being off more at higher sampling rates. According to Claude: "Use a sampling rate that is an exact multiple of the desired frequency. For example, if you want to generate a 432 Hz frequency, you can use a sampling rate of 43200 Hz (432 * 100) or 86400 Hz (432 * 200). This ensures that the number of samples per cycle is an integer, minimizing rounding errors." So for 432Hz, I picked a sampling rate of 432000. And 432Hz became 431.76Hz, which is about as close as I can get. It could be the precision with which Audacity exports as well. Even at lower sampling rate of 86400 I still got 431.76Hz. So yeah, use a sampling rate that is a multiple of your frequency. I might default the program to give 100X the specified frequency for the sampling rate. Though you can go 1000X up to the max of 767500.
I checked and Audacity creates a pure tone of 432.01 Hz for 432Hz. We are mapping ASCII characters rather than high-precision functions, so it makes sense.
|
|
|
Post by AnthroHeart on Mar 31, 2024 21:41:42 GMT
|
|
|
Post by AnthroHeart on Mar 31, 2024 21:56:22 GMT
I was able to get within 0.1Hz using my 100 Affirmations textfile when choosing 174Hz, with 33.333% Smoothing, which peaked at 173.9Hz. Sample rate was 174000.
|
|
|
Post by AnthroHeart on Mar 31, 2024 22:54:55 GMT
GPT-4 created a python code for me to create a random string of all alphanumeric characters including space.
I ran this string as intention in my WAV Repeater:
And I got this audio out of it: LsPAcDb80eFVQfNGyYRaI7K4p TW1EBxliOZCnjmHJvtu26w3d5XShUMkz9qgro
I did this because I wanted to test the widest range of characters in the text that could be entered for an intention. Non-alphanumeric characters are excluded.
Here is the Python code for generating a random string of all alphanumeric characters including space:
import string import random
# All alphanumeric characters including space characters = string.ascii_letters + string.digits + " "
# Shuffle the characters random_characters = list(characters) random.shuffle(random_characters)
# Join the shuffled characters back into a string random_string = ''.join(random_characters)
print(random_string)
|
|
|
Post by nathanmyersc on Mar 31, 2024 23:10:38 GMT
GPT-4 created a python code for me to create a random string of all alphanumeric characters including space.
I ran this string as intention in my WAV Repeater:
And I got this audio out of it: LsPAcDb80eFVQfNGyYRaI7K4p TW1EBxliOZCnjmHJvtu26w3d5XShUMkz9qgro
I did this because I wanted to test the widest range of characters in the text that could be entered for an intention. Non-alphanumeric characters are excluded.
Here is the Python code for generating a random string of all alphanumeric characters including space:
import string import random
# All alphanumeric characters including space characters = string.ascii_letters + string.digits + " "
# Shuffle the characters random_characters = list(characters) random.shuffle(random_characters)
# Join the shuffled characters back into a string random_string = ''.join(random_characters)
print(random_string)
Your a true scientist
|
|
|
Post by AnthroHeart on Apr 1, 2024 17:53:17 GMT
This one is intention the previous one is text file. both work. way faster than any python script we can write. I made some big updates to your code. It wasn't excluding non-alphanumeric characters. So punctuation was throwing off the waveform. It was also producing sharp peaks instead of smoother waveform. It took me a few hours to research and fix it.
I removed the additional intentions you had in this because it was a bit too complicated to figure out. You might be able to add them back in if you like this version.
I was able to get it to work well. I also added a progress bar.
This one has Textfile and Text intention in the same file.
You have to compile the cpp as: g++ -O3 -Wall -static .\Wav_Repeater_Smoothing.cpp -o .\Wav_Repeater_Smoothing.exe -std=c++20
It's also very fast. With 100% smoothing, the 432Hz is at 431.762695 Hz.
The samples around this peak are as follows. You can see how the amplitude drops really fast around the frequency.
Frequency(Hz) Amplitude (dB)
428.466797 -23.530962 431.762695 -0.074169 435.058594 -22.278799
|
|
|
Post by AnthroHeart on Apr 1, 2024 19:33:07 GMT
Even Audacity, which can create really pure tones, at high sampling rate of 767500 produces 433.31Hz for 432Hz specified.
For "I am Love." at 432Hz at 767500 sampling rate, I get 433.31Hz for 432Hz specified as well. It makes me feel a bit better. We are matching Audacity.
Can generate 432.01Hz for 432Hz.
At 48000 sampling rate I can generate 432.13.
At 52800 sampling rate I can generate 528.11 for 528Hz.
At 17400 sampling rate I can generate 174.04 for 174Hz with Smoothing = 100% for "I am Love."
|
|
|
Post by AnthroHeart on Apr 1, 2024 19:55:25 GMT
|
|
|
Post by reden on Apr 1, 2024 22:24:49 GMT
No, that's bad as the nyquist (usable) frequency is only 5000, which is too low (anything beneath 11000 is too low). We are trying to avoid low frequencies as they could harm spiritual progress. Anyway, changing the sampling rate to nonstandard (and even worse, low) numbers was rather useless as everyone even before this tool just used standard rates and are happy. The energy was feelable according to you. Standard rates: 44100 48000 96000 192000 384000 655350 (for flac) You can go higher or anything you want as WAV, but you shouldn't go lower than 44100.
|
|
|
Post by AnthroHeart on Apr 1, 2024 22:38:59 GMT
No, that's bad as the nyquist (usable) frequency is only 5000, which is too low (anything beneath 11000 is too low). We are trying to avoid low frequencies as they could harm spiritual progress. Anyway, changing the sampling rate to nonstandard (and even worse, low) numbers was rather useless as everyone even before this tool just used standard rates and are happy. The energy was feelable according to you. Standard rates: 44100 48000 96000 192000 384000 655350 (for flac) You can go higher or anything you want as WAV, but you shouldn't go lower than 44100. Ok, I updated the program to not allow less than 44100 for sampling rate.
|
|