• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
Question by Tyler 2 · Dec 16, 2010 at 06:24 AM · audio

finding audio BPM?

Hello. I used AudioSource.GetSpectrumData and AudioSource.GetOutputData to get a list of values pertaining to the audio currently playing, how would I get the songs BPM from either of those value lists? Thanks

Comment
Novodantis 1

People who like this

1 Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Jesse Anders · Dec 16, 2010 at 01:22 PM 2
Share

Tyler: It seems you cross-post most of your questions both to Unity Answers and the forums. I don't know that this is discouraged per se, but could you at least provide cross-links to the corresponding threads? The reason cross-posting is usually discouraged is that it results in duplicated effort. I responded to your forum thread, but if I'd seen Jessy's answer below, I wouldn't have bothered. It's not a big deal of course, but it would be courteous, I think, to provide cross-links so that we can at least see if the question's already been answered.

1 Reply

· Add your reply
  • Sort: 
avatar image

Answer by Jessy · Dec 16, 2010 at 06:53 AM

There's no guaranteed way you can get that. Use your ears and a proper audio editing tool. Then, store the data you need, how you need it, in Unity. Most DAWs and waveform editors have a feature like you're talking about, but it's only a tool to help you lay down a rough estimate, for you to finish off the work manually. If you happen to have a four-on-the-floor dance track, where some frequency range of the kick is mixed to constantly be the loudest element in the mix, you may have some luck, but in general, what you're talking about is a pipe dream.

Go run one of the songs off this album through a beat detector in Logic/Pro Tools etc. and tell me what you come up with. ;-) http://mastering-media.blogspot.com/2008/09/metallica-death-magnetic-clipping.html

Comment
Eric5h5

People who like this

1 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

getting rough BPM of AudioClip 2 Answers

Edit Audio Clips? 1 Answer

how to make a edge for my speaker?,how do i make the edge of my speaker? 0 Answers

Audio Trigger Question 1 Answer

Audio playing when not colliding but not playing when colliding!!?? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges