This is a quick note for my following project.
https://github.com/Amitmund/ABCD_samvrita
Learn A to Z with image and audio... just for fun and for my daughter [ samvrita ]
For sound recording in mac:
say -o apple.m4a "a,p,p,l,e,apple"
Following is an example of sample code.