The following will play AAC (.m4a) files from the
command line. (It's written for the /bin/sh shell.)

faad -w $1 2>/dev/null | audioplay