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
1
Question by mbzdmvp · Jul 30, 2014 at 03:14 AM · audiosystemvolumeos

Any way to change system volume?

Is there way to increment/decrement the volume of the operating system, similar to how headphones have an up and down button?

Comment
Add comment · Show 2
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 rutter · Jul 30, 2014 at 03:14 AM 0
Share

I can't vouch for OS-specific plugins, but there's no way built into Unity, no.

You can manipulate the master audio listener's volume, though.

avatar image Kiwasi · Jul 30, 2014 at 07:22 AM 0
Share

Typically applications can't access this. There is a reason you have a master volume. Its so the user has control over the volume regardless of what your application is doing. This sort of feature would quickly get abused by advertisers ect, to the point you would be begging the appropriate operating system owner to design it out.

Besides, how do you expect kids to play your game at school when they are supposed to be in class if you keep turning up the volume?

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by operhiem1 · Mar 24, 2019 at 10:38 AM

I wrote a plugin to do this: https://github.com/Thynix/OpenVR-VolumeControl/tree/master/Assets/Plugins/SystemVolumePlugin/Windows

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 K0ST4S · Mar 24 at 06:52 PM 0
Share

Would it be possible to receive events when windows volume becomes muted/unmuted?

avatar image
0

Answer by VIPINSIRWANI · Jul 30, 2014 at 05:12 AM

 public AudioSource source;
 
 void Start () {
 
 source.volume = 0.5f; //or Whatever 
 
 }
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

7 People are following this question.

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

Related Questions

How do I get the current overall System's volume? 0 Answers

Why won't 3d sounds play anywhere near 100% volume? 1 Answer

Audio on object plays low in unity 5 1 Answer

Setting audio volume with horizontal slider (to many AudioSources with different volume) 2 Answers

Getting iOS device volume 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