-
This program using FFT to extract the frequency band of audio files then calculate exact tone of audio files.
-
Convert function provide exact 432Hz converter that convert all audio files into 432Hz (most is 440Hz to 432Hz)
-
conda create --name 432Hz python=3.7
-
pip install numpy
-
pip install pydub
-
conda install ffmpeg
-
python Exact432HzConverter.py
-
Analyze is to calculate the Tone of files
-
Convert is for converting the files into 432Hz Tone with filename: 432hz_Filename
-
Supported Input: .m4a, .flac, .mp3, .wav, .wma, .aac
-
Supported Output: .flac, .mp3, .wav
-
It will convert to .mp3 if Input is .m4a, .wma, .aac and OutputFormat set to Same
- Doing FFT on front 100 seconds of PCM RAW data.
- Loop Freq from 424Hz to 448Hz, step 0.1Hz.
- Shift 440Hz tone frequency table to each Freq,
- Find the location of each tone frequency table’s location of FFT data.
- Calculate the sum of each location in FFT data.
- Find the max sum of each Freq.
- Output final maxFreq which is the current Tone frequency.
