Hello
Is there anyway of checking the pitch of current music playing?
Hello
Is there anyway of checking the pitch of current music playing?
- BartekB, a.k.a Uppernate
Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr




You can get close, but it will also adjust the speed. I'm not sure if it's possible to adjust the pitch of something in real time, though, since it also would involve stretching the music so that it plays at full length. Anyway, the action to use is the "change sample frequency" action, or something like that (it involved frequency, I remember that much).
I meant, how to check the current pitch of the music playing, not change it.
- BartekB, a.k.a Uppernate
Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr




That might be a little more difficult. I'm not sure how one would do that, but it might be possible. If you are already changing the frequency of it (and you want to check for that), then there is a way to do that (there is an expression for it), but that's just about all I know about that. It may or may not require an extension to check the pitch that is currently playing other than that, though, so I don't really know how to help you. Sorry about that.![]()
- BartekB, a.k.a Uppernate
Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr
Perhaps by checking the frequency? You would probably need to code/find an equaliser extension, then see if the loudest frequencies of your sound fall into the required pitch, ie. musical note A = 440hz.
http://www.johndcook.com/blog/2013/0...ency-to-pitch/
You could check if that helps.
If you get it to work, then you could manually code it.
For example pairing frequency to a value, and checking if value is greater than X and lower than X - Set value B to: Current note.
Then add a string to game that always looks for value B. So it would update in real time. Should basically work, but might take some patience to code it all down.
- Jesse
There was an example of this. At the last frame,
the particles were shot when there was a current frequency
The music was onusong1.it but I cannot find the .mfa file
- BartekB, a.k.a Uppernate
Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr





Hi all,
I've been trying to find a way to do that for years. The biggest problem is creating an algorithm that can filter out everything except the frequency you want to measure. Someone had written an extension (looki I think) a few years back and I was testing it for a virtual digital tuner, but it was not acurate enough to maintain any steady readings.
If anyone could find a way of doing this in MMF2, it would be an incredible breakthrough!