Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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
0
Question by John Ong · May 01, 2015 at 01:20 AM · audiopitchgetspectrumdata

How to determine the pitch from GetSpectrumData() to make a polyphonic tuner?

Hi,

I'm currently stucked with no clues on how to get accurate analysis of the getSpectrumData. I'm trying to make a pitch detection or polyphonic tuner for guitars. My existing idea is to pinpoint the exact position of every pitch on the guitar frets through the samples:float[] data. Does anyone know an effective way to collect those data or any other workaround to make a pitch detector? Thanks in advance.

Comment
Add comment · 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 John Ong · May 05, 2015 at 04:40 PM 0
Share

I've found some resource http://answers.unity3d.com/questions/127562/pitch-in-unity.html http://www.kaappine.fi/tutorials/fundamental-frequencies-and-detecting-notes/ http://answers.unity3d.com/questions/175173/audio-analysis-pass-filter.html http://answers.unity3d.com/questions/720179/getspectrumdata-cant-recognize-correct-note.html

$$anonymous$$ost of it is from Aldonaletto. However, I keep on getting frequencies that are higher than usual. For instance, C3 should be 130.8 or 131, but I got something that is close to C-middle, which is 262, but the result was 266.

I'm running on FFT with 1024 samples, blackmanharris, sample rate 44100 hz. I also tried running with 2048 samples, but it causes lower sensitivity. I also found out that there's not much difference running sample rate of 48000 hz. Can someone please help out here?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Wajdi-azar · Jul 28, 2016 at 02:00 PM

I'v been searching and trying for weeks and the results are same as yours not even close, please if u find something can u share it.

Comment
Add comment · 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.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Slowly fade audio's pitch on key press? 3 Answers

Change Pitch on Collision 1 Answer

GetSpectrumData or equivalent in non-realtime mode? 2 Answers

car shifting smoothed. help! 0 Answers

Rigidbody crate collide sound. 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