Hi there!
Sure, it can be done. Take a look at this post that explains how to make use of audio using Python. The next thing is to import dronekit
and get vehicle’s state.
The script should end up being like a couple of hundreds lines of code maximum.