# Get and Set System Output Volume

**URL:** <https://discourse.processing.org/t/get-and-set-system-output-volume/15761>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [November 24, 2019, 11:40am UTC](https://discourse.processing.org/t/get-and-set-system-output-volume/15761 "2019-11-24T11:40:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mildyredbeard](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@mildyredbeard](https://discourse.processing.org/u/mildyredbeard)\
**Post date:** [November 24, 2019, 11:40am UTC](https://discourse.processing.org/t/get-and-set-system-output-volume/15761/1 "2019-11-24T11:40:50Z")

</div>

Hi Everyone,  
I’m working on a project that is supposed to take the Windows Output Volume, and map that to an LED strip. I’ve managed to get everything working exactly the way I want except for the part where I actually get the volume. So I would like to be able to read the System Volume, display that on a Slider UI element, and then set the Volume when I change the slider. Is anyone able to point me in the right direction for this sort of problem?

---

<div class="post-metadata">

**Author:** ![Lexyth](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/lexyth/32/7403_2.png) [@Lexyth](https://discourse.processing.org/u/Lexyth)\
**Post date:** [November 24, 2019, 12:13pm UTC](https://discourse.processing.org/t/get-and-set-system-output-volume/15761/2 "2019-11-24T12:13:29Z")

</div>

That is something you‘ll probably have to solve using plain java, since i doubt that‘s a part of Minim or similar Processing libraries.

Here‘s a Link to a way to solve it with Java.

> <https://stackoverflow.com/questions/14298917/turning-the-computer-volume-up-down-with-java>

Edit :

You‘ll just have to add :

```auto
import javax.sound.*;

```

And you‘ll be able to access all those classes used in the answer in the link.
