I am making a simple interactive video in which I need to trigger the microphone to start recording automatically in the beginning of the scene and stop recording after 15 seconds. And then, I need the recording to be played automatically after 30 seconds in the next scene. I have found this script (https://gist.github.com/darktable/2317063) for saving the recording as a wav file, and then I can guess how to load it to the next scene. However, I don't know how to properly write the recording+saving. I know this might be very basic but I am a complete beginner and need to do it for my graduation project. Any help/suggestion is greatly appreciated! Cheers!