Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 Amer Sayyed · Jul 14, 2010 at 10:23 AM · speechrecognitionmic

Unity3D & Karaoke / Speech recognition

Dear Experts,

I have a question regarding Unity3D and an application we are developing, what we need to do is compare speech input from users using a mic, for instance the pronunciation of the letter "B", I though that a Karaoke system or API would do the job even if it wasn't completely accurate, is there anything already established regarding Unity3D and speech recognition / Karaoke ??

I appreciate the help.

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 BerggreenDK · Sep 18, 2011 at 10:31 AM 0
Share

Its a good thing its actually regarding Unity3D and an application you are developing. I would have feared a question about God or how to bake a cake.

3 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Noise crime · Jul 14, 2010 at 01:00 PM

I'd be careful about level of expectations. I seriously doubt any Karaoke machine does such advanced speech recognition. Most singing games will simply track pitch as thats relatively easy. Being able to detect specific pronunciations is much harder. Thats not to say it can't be done, but i'd imagine that is state of the art (at least ones with a good recognition percentage) and would have a price tag to match.

If you search online you should find dll plugins, but I doubt they will be cheap. Then its a question of getting that to work in Unity via its own plugin architecture.

The alternative is to look into an FFT (fast Fourier Transform) algorithm (or dll) and build on top of that to detect pitch range. An FFT (in this case) provides a snapshot of the magnitude of all frequencies of a specific timeslice from an audio input. Ha, thats not quite a s simple as I was hoping it was going to sound ;)

Anyway there is plenty of literature online about FFT and you should find easily find code samples. It could feasibly be built in c#, though you might be burning up cpu cycles that could be used elsewhere, in which case a c++ plugin will be needed or you could even try doing it on the gpu. Granted there is much to learn, stuff like the nyquist theorm, how to make FFT efficient etc, but it shouldn't be out of reach.

Personally thats where i'd start, I wouldn't even dream of trying to detect actual words or letters, just pitch.

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
avatar image
1

Answer by Mike 3 · Jul 14, 2010 at 11:13 AM

I don't believe so, no. Most likely you'll need to look for a c++ API, and hook into that (via Unity Pro)

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
avatar image
0

Answer by makisig.du · Sep 18, 2011 at 10:09 AM

Hi, there!

Your question cannot be answered in just one reply here, unfortunately. Speech processing is a big discipline on its own and it took my team several weeks to research and develop it. Anyway, Noisecrime already gave you something to start with which is where we started ourselves.

My team and I successfully implemented a cross-platform speech recognition plugin for Unity. We can probably help you out - just drop me a line.

Comment
Add comment · Show 1 · 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
avatar image ina · Oct 08, 2012 at 05:05 AM 0
Share

maybe you might consider releasing that as a plugin in the asset store?

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

Using the Speech Recognition Library of Android 0 Answers

How to use speech recognition / speech detection to trigger an audio source on an Android device 1 Answer

Speech recognition is not supported on this machine. 1 Answer

DictationRecognizer or KeywordRecognizer change microphone 0 Answers

Speech recognition on Android with Unity 3D 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