Several months ago I posted some code that I’ve been using to successfully record short audio clips. Here’s the link.