Get and Set System Output Volume

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?

1 Like

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.

Edit :

You‘ll just have to add :

import javax.sound.*;

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

3 Likes