Python query current audio panel settings

   185   0   1
User Avatar
Member
20 posts
Joined: 1月 2024
Offline
Is there any good way to query the currently configured audio panel settings? I'm in particular looking to query the currently selected file or CHOPs?

I've seen the hou.audio module [www.sidefx.com]. However, it has no ways to query the currently set values - only ways to set new values.

Then there is the hscript equivalent audiopanel [www.sidefx.com] which when executed without arguments would print the current configuration.

As such - the only way seems to parse the result of that into Python object, e.g. similar to this quick prototype [github.com].

Is there an easier way to access this?

Preferably there would just be access to e.g. `hou.audio.filename()` etc.
  • Quick Links