macOS / binaries /

say

/usr/bin/say
Convert text to audible speech

This tool uses the Speech Synthesis manager to convert input text to audible speech and either play it through the sound output device chosen in System Preferences or save it to an AIFF file.

source: man