How to build a simple app that turns text to m4a files
Simple Automator Application : 


Create a new Application 
Add a Ask for text action
Add a Run a sheel script action
Select Pass input as Arguments
Copy the following script (Assuming ~/Desktop/Test exists) 


=>

cd ~/Desktop/Test
say -o "$@.m4a" $@



Save your application. It's ready to use.