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
1
Question by vanofthedawn12 · Jul 24, 2012 at 02:30 AM · c#audio

How to have two audio listeners...splitscreen

Sir.. i'm implementing a splitscreen window on my current development and I have 2 cameras...one for the first player and other for the second player.. how I could I possibly attach 2 audio listeners in one scene.. unity only allows one.. thanks for those who will spare time.

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

4 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by LunaArgenteus · Oct 22, 2014 at 06:08 AM

I've just released an asset that allows you to simulate multiple Audio Listeners. You can pick from one of three methods to play audio back, depending on what suits your needs best! You can check it out here:

https://www.assetstore.unity3d.com/en/#!/content/23584

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 Tinus · Jan 11, 2013 at 02:44 PM

I'm developing a Multi Audio Listener plugin based on Unity's default audio components.

The plugin is currently available for testing (on demand) and will later be sold on the Asset Store. Contact me if you're interested!

MultiAudio Listener: Split Screen Audio on the Unity Forums

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 Linus · Jul 24, 2012 at 03:13 AM

Have only one listener, but place it between the players cameras.

Check this out:

http://forum.unity3d.com/threads/117130-Multiple-Cameras-and-Audio-Listeners

http://forum.unity3d.com/threads/4337-Multiple-AudioListeners

Comment
Add comment · Show 4 · 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 vanofthedawn12 · Jul 24, 2012 at 03:25 AM 0
Share

but I cannot switch cameras because each car has it's own camera following them.. thanks

avatar image Linus · Jul 24, 2012 at 03:43 AM 0
Share

I have to ad$$anonymous$$t, I have not done split screen myself. Im afraid it is not possible, to have one per player in split screen. Best bet is then to have one listener nicely positioned between the players. I am updating my answer with better references.

avatar image vanofthedawn12 · Jul 24, 2012 at 03:51 AM 0
Share

thanks you sir for the help...

avatar image Linus · Jul 24, 2012 at 03:54 AM 0
Share

Wish I could help you more. The second link has a good discussion on the matter though.

avatar image
-1

Answer by ADoby · Jul 15, 2014 at 09:49 AM

Just play it for each camera once.

Use a gameobjectpool for performance reasons.

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

9 People are following this question.

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

Related Questions

Audio: how do I immediately play a new audioclip without delay(code included)? 2 Answers

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

I need help with a script(brauche hilfe mit einen Script) 0 Answers

Movement Script Help 1 Answer

C# Non-Static Member Rigidbody2D.MovePosition 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