This is a wee project that will let you play with the QTRecordSound Xtrn, try out the various parameters without writing a script. I will show the script it is using in a field eg:
Download qtrecordsound_example.sc45.zip Probably best to treat this as a beta project. If you like it or have problems/questions let me know in the comments.