Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 jjuliacaroline · Aug 21, 2017 at 11:53 AM · audiomultiplayer-networkinguser

How to make multiplayer character say out loud the user input?

Is there a way to program a multiplayer character say out loud user input (a sentence for example) and attach it to the user's character? How do you do it?

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

1 Reply

· Add your reply
  • Sort: 
avatar image
2

Answer by HarshadK · Aug 21, 2017 at 12:05 PM

The exact solution will depend on your specific requirements. But here are a few to give you an idea:

  • You can have sound files to each user input and play the associated sound file for the input received. This is useful when you have a small set of fixed inputs.

  • Integrate a Text to Speech service like IBM Watson Text to Speech. The Unity SDK for Watson Developer Cloud Unity SDKServices is available on Github. This is useful when there is no fixed set of inputs or the input set is too large to create sound files for each. This will however require to have internet connectivity and will have latency between receiving input and producing the sound.

  • Or a combination of these two methods above. Where you can have pre-defined set of inputs with their associated sound files and can get sound for variable inputs as they are received.

If you can provide details of your specific requirements we might be able to suggest a proper solution.

Comment
Add comment · Show 3 · 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 jjuliacaroline · Aug 21, 2017 at 12:19 PM 0
Share

Thanks for your reply!

About my requirements: I need a window where the user can type the message and send it. After that it needs to be printed on the screen which can be seen by other people playing the game and hear the text-to-speech of the input as well. I am new to program$$anonymous$$g so I might not be using the right terms, but this is basically what I want to do.

avatar image HarshadK jjuliacaroline · Aug 21, 2017 at 01:00 PM 0
Share

Since you do not have a specific set of inputs (users can type any message but within the confines of the supported language), you would need to go with option #2 i.e. a text-to-speech service like IB$$anonymous$$ Watson or Amazon Polly to achieve it. Which service to use exactly again depends on various factors like expected output, required languages, costing of service, etc. So it is up to you to choose the proper service.

One more advice is that before you start to research and develop this feature, you should weigh the benefits of having this feature against the resources (time, cost and others) to and overall impact on output to decide whether you should really have this feature in your game.

avatar image EdwinChua HarshadK · Aug 21, 2017 at 02:13 PM 0
Share

In addition, do consider if the target users will type out words recognizable by a computer.

eg. afaik, computers cnt rd our shrt hnd nor can they interpret typos.

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

85 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How can I record a short audio clip, then send that to another player in a multiplayer asynchronous game? 1 Answer

Code for playing sound in editor in 5.5.0 does not appear to work in 2017.2 0 Answers

Audio Noise Removal 0 Answers

Get certain audio sources from unity as buffer? 0 Answers

A way to combine 2 or more objects to make 1? 1 Answer


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