User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18

Thread: Check pitch of music?

  1. #1
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    667
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)

    Check pitch of music?

    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

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by BartekB View Post
    Hello

    Is there anyway of checking the pitch of current music playing?
    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).

  3. #3
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    667
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    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

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by BartekB View Post
    I meant, how to check the current pitch of the music playing, not change it.
    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.

  5. #5
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    667
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by happygreenfrog View Post
    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.
    I'm not changing any of the music, I just want to check for the current Pitch of the music, by Pitch I mean how low or High the current sound is.

    Thanks anyway frog
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/R3WuvF3mHr

  6. #6
    Clicker Fusion 2.5iOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    SolarB's Avatar
    Join Date
    Feb 2012
    Location
    Melbourne
    Posts
    904
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    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.

  7. #7
    Clicker

    Fusion 2.5 Developer
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    J3sseM's Avatar
    Join Date
    Feb 2013
    Location
    Finland
    Posts
    868
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    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

  8. #8
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    667
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    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

  9. #9
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCHTML5 Export ModuleiOS Export ModuleSWF Export Module
    MTCMusic's Avatar
    Join Date
    Jan 2007
    Location
    Montreal, Canada
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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!

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    happygreenfrog's Avatar
    Join Date
    May 2011
    Location
    I.L.T.D.O.I.R (I.L.T.D.O.I.R's Location: The Dimension Of Infinite Recursion)
    Posts
    4,307
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by MTCMusic View Post
    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!
    The question is if anybody has ever done it for anything else. If it hasn't been done outside of MMF2, then it almost certainly can't be done inside MMF2.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Faster to run always check distance vs always check collision?
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 18th September 2013, 08:28 PM
  2. [Possible Bug] Sound Pitch
    By ProdigyX in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 3rd November 2012, 11:21 PM
  3. audio pitch
    By TheCrimsonTaco in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 24th October 2012, 04:52 AM
  4. pitch extension?
    By zephni in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 29th April 2010, 06:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •