-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Map generation: bandpass filters or fourier analysis #8
Comments
I am not sure about that... I am using |
What I've seen in the array is just a normal stereo audio signal. You can mathematically treat it just like any other function. We can use a bandpass filter to get the signal in a specific frequency range. If we change the filter during the song the player might e.g. need to jump over the rhythm of the melody first and the rhythm of the drums after that. I am sure there are suitable implementations of fft in python out there, only a quick search away. |
Seems fair to me. We can implement the new algorithm then. I will merge the current state of development to main (I will review your PR first and if they don't introduce any bug they will become the 1.4.2 release) and start adding new things to main... |
Some songs are heavily compressed. Hence the volume is a bad metric to get interesting maps.
Instead the volume of specific (randomly chosen?) frequency bands might be better at representing the rhythm.
The text was updated successfully, but these errors were encountered: