Read volume value from AC app?

I would like to make an app that reads the current sound volume of a specific sound device and shows the result on screen. I already have the second part, but is it possible in Python to read the volume or get that data from Simhub? (it's the app that controls de volume of my shakers).
 
I don't have a piece of code that will do exactly what you want, but I'm pretty certain you can do it, if by no more elegant means than using ctypes. The Sidekick app is an example of how ctypes can be used (it basically calls some functions in the USER32 DLL to let it provide hotkeys in a way that AC itself can't).
 

Latest News

What is the reason for your passion for sim racing?

  • Watching real motorsport

    Votes: 401 69.5%
  • Physics and mechanics

    Votes: 253 43.8%
  • Competition and adrenaline

    Votes: 270 46.8%
  • Practice for real racing

    Votes: 120 20.8%
  • Community and simracers

    Votes: 161 27.9%
Back
Top