Python query current audio panel settings

   938   2   1
User Avatar
Member
44 posts
Joined: Jan. 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.
User Avatar
Member
44 posts
Joined: Jan. 2024
Offline
Just raising this question again - is there an easier way?
User Avatar
Staff
678 posts
Joined: Aug. 2019
Offline
Please submit an RFE so this can be triaged. Thanks!
  • Quick Links