Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

"UniBpmAnalyzer" BPM analyzer for Unity - now available for free on GitHub

Discussion in 'Assets and Asset Store' started by WestHill, Apr 29, 2016.

  1. WestHill

    WestHill

    Joined:
    Oct 29, 2012
    Posts:
    174
    I added a new asset on GitHub.

    UniBpmAnalyzer

    BPM analyzer for Unity.
    Get a bpm by audio clip in runtime.

    It is easy to use.

    Code (CSharp):
    1. public AudioClip targetClip;
    2.  
    3. private void Start()
    4. {
    5.     int bpm = BpmAnalyzer.AnalyzeBpm(targetClip);
    6.     Debug.Log("BPM is " + bpm);
    7. }
     
    malakadam and dibdab like this.
  2. dibdab

    dibdab

    Joined:
    Jul 5, 2011
    Posts:
    976
    can it keep up with realtime bpm analyzing too (mp3, ogg) ?
    could it be synchronized with pitch of the clip?

    something like
    if clipbpm < setbpm, clippitch += 0.01f

    the project wouldnt open for me in latest 5.34 patch.
     
    Last edited: Apr 29, 2016