4 ms·
Nice suggestion! Just to note, on the Mac there's already a /usr/bin/say, which invokes the text-to-speech. So if you don't create your function, SSHing to the
by aaronharnly 11y ago
Nice suggestion!
Just to note, on the Mac there's already a /usr/bin/say, which invokes the text-to-speech. So if you don't create your function, SSHing to the friend's Mac and typing 'say whatever you want' will have an interesting but probably not desired effect :) I'll admit to having used this on a friend's machine once or twice for amusement.
(And invoking 'say' invokes the TTS even if you SSH in as a user other than the one logged in to the main GUI. I'm pretty sure this wasn't always the case; not sure when it changed.)
- madeofpalk 11y ago> (And invoking 'say' invokes the TTS even if you SSH in as a user other than the one logged in to the main GUI Been this way since at least 2008 - I remember doing this back in school when bored in class.
- ars 11y agoBTW you can get say in linux too. Install the program festival and invoke it with: echo hello | festival -b --tts
- simi_ 11y agoUbuntu and Fedora come with espeak. Stumbled upon that fact when doing https://github.com/andreis/different https://github.com/andreis/different