• 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

  • 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

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta by June 9. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

getting rough BPM of AudioClip 2 Answers

Audio in editor stops working after exiting playmode 1 Answer

How to use audio commands and Audio Source? 2 Answers

Sound through wall / Audio zones 2 Answers

iOS: Compressed audio not affecting memory? 2 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