Mac Command Daquan

Source: Internet
Author: User

Continuous update ...


1. Say command

This is an interesting command: Say converts text to speech using the text-to-speech system used by voiceover in OS X. Without any options, the say command translates any text content you enter into speech output:

$ say "Never trust a computer you can ' t lift."

You can use the say command with the-f flag to read the contents of a text document while using the-O identity to save the output's audio content:

$ say-f Mynovel.txt-o Myaudiobook.aiff

The say command can be used for script console logs and alarm sounds. For example, you can set up batches or hazel scripts to process files and use the say command to issue reminders after processing is complete.

But the best way to play with the say command is sinister: if you have SSH access to your friend or colleague's Mac, you can log on to their computer silently via the command line. Then give them a siri-ous surprise.

You can set the voice (and language) of the say command in the Dictation and speech panel in System Preferences.


Mac Command Daquan

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.