Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Adjusting system volume using OF

$
0
0

glad it worked, at least the system commands.

I've tried getting arduino and volume control to work together with a proximity sensor. I ended up just 'easing' the value. So for example I get 1 from arduino and the volume is at 5, it gradualy goes to 1 in OF, worked slow but fine. Not super precise as you can see :slightly_smiling:

new_volume = (new_volume * 0.75) + (old_volume * 0.25);

Please let us know how you do it in the end, since it's useful and interesting to know.


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>