We are all living in the days where operating systems have voice assistants installed, back in the days say command was very popular to convert text to speech using macOS X terminal.
Example: using String
Syntax: say [-v voice] [-f file | string ...]
Example: using external file
say "Hello, World! This is your macOS terminal say command saying hello!
Example: change voice -v (Agnes, Albert, Alex, Bad, Bahh, Bells, Boing, Bruce, Bubbles, Cellos, Deranged, Fred, Good, Hysterical, Junior, Kathy, Pipe, Princess, Ralph, Trinoids, Vicki, Victoria, Whisper, Zarvox )
say -f externalFile.txt
say -v Agnes "Hello there!"
say -v Cellos "Hello there!"
say -v Ralph "Today is a good day!"
say -v Trinoids "This is really a good idea!"
More Posts related to MacOS,
- wget Command on macOS Terminal
- bash: command not found error [macOS Terminal Linux, Unix or Windows]
- Spotlight Search Mac Keyboard Shortcut
- Show CPU and Memory Usage on macOS Menu Bar
- The default interactive shell is now zsh. [macOS]
- Display ls command file sizes in KB (kilobytes) MB (megabytes) or GB (gigabytes) [Linux/macOS]
- ls: .: Operation not permitted - Mac Big Sur Terminal Zsh Error
- [macOS] Change homepage Macbook Safari Browser
- Youtube spacebar not working in search on macOS Safari
- 30+ Zoom video communications application shortcuts for macOS
- How to load zsh profile on opening shell terminal
- How to Use Command Prompt on a Mac?
- Setting JAVA_HOME in macOS Big Sur
- Set Python 3.8 as a default python version on macOS
- say command macOS terminal examples
- Display Seconds in Digital Clock on Mac Menu Bar [macOS]
- Opening mac Terminal
- How to uninstall GarageBand from Mac
- How to identify installed Java (JDK) Version on macOS
- 10 Beginners Commands for macOS Terminal Usage
- How to Close Safari in Mac using Keyboard shortcut
- Zsh Shell: Custom alias that you may find useful
- How to make macOS Terminal window Transparent (or Opaque)
- How to install homebrew (brew) on M1 Mac
- Where is .zshrc file located in macOS