Advertisement
Guest User

man say (OS X)

a guest
Nov 11th, 2012
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.54 KB | None | 0 0
  1. SAY(1) Speech Synthesis Manager SAY(1)
  2.  
  3.  
  4.  
  5. NAME
  6. say - Convert text to audible speech
  7.  
  8. SYNOPSIS
  9. say [-v voice] [-r rate] [-o outfile [audio format options] | -n name:port | -a device] [-f file | string ...]
  10.  
  11. DESCRIPTION
  12. This tool uses the Speech Synthesis manager to convert input text to
  13. audible speech and either play it through the sound output device
  14. chosen in System Preferences or save it to an AIFF file.
  15.  
  16. OPTIONS
  17. string
  18. Specify the text to speak on the command line. This can consist of
  19. multiple arguments, which are considered to be separated by spaces.
  20.  
  21. -f file, --input-file=file
  22. Specify a file to be spoken. If file is - or neither this parameter
  23. nor a message is specified, read from standard input.
  24.  
  25. --progress
  26. Display a progress meter during synthesis.
  27.  
  28. -v voice, --voice=voice
  29. Specify the voice to be used. Default is the voice selected in
  30. System Preferences. To obtain a list of voices installed in the
  31. system, specify '?' as the voice name.
  32.  
  33. -r rate, --rate=rate
  34. Speech rate to be used, in words per minute.
  35.  
  36. -o out.aiff, --output-file=file
  37. Specify the path for an audio file to be written. AIFF is the
  38. default and should be supported for most voices, but some voices
  39. support many more file formats.
  40.  
  41. -n name, --network-send=name
  42. -n name:port, --network-send=name:port
  43. -n :port, --network-send=:port
  44. -n :, --network-send=:
  45. Specify a service name (default "AUNetSend") and/or IP port to be
  46. used for redirecting the speech output through AUNetSend.
  47.  
  48. -a ID, --audio-device=ID
  49. -a name, --audio-device=name
  50. Specify, by ID or name prefix, an audio device to be used to play
  51. the audio. To obtain a list of audio output devices, specify '?' as
  52. the device name.
  53.  
  54. If the input is a TTY, text is spoken line by line, and the output
  55. file, if specified, will only contain audio for the last line of the
  56. input. Otherwise, text is spoken all at once.
  57.  
  58. AUDIO FORMATS
  59. Starting in MacOS X 10.6, file formats other than AIFF may be
  60. specified, although not all third party synthesizers may initially
  61. support them. In simple cases, the file format can be inferred from the
  62. extension, although generally some of the options below are required
  63. for finer grained control:
  64.  
  65. --file-format=format
  66. The format of the file to write (AIFF, caff, m4af, WAVE).
  67. Generally, it's easier to specify a suitable file extension for the
  68. output file. To obtain a list of writable file formats, specify '?'
  69. as the format name.
  70.  
  71. --data-format=format
  72. The format of the audio data to be stored. Formats other than
  73. linear PCM are specified by giving their format identifiers (aac,
  74. alac). Linear PCM formats are specified as a sequence of:
  75.  
  76. Endianness (optional)
  77. One of BE (big endian) or LE (little endian). Default is native
  78. endianness.
  79.  
  80. Data type
  81. One of F (float), I (integer), or, rarely, UI (unsigned
  82. integer).
  83.  
  84. Sample size
  85. One of 8, 16, 24, 32, 64.
  86.  
  87. Most available file formats only support a subset of these sample
  88. formats.
  89.  
  90. To obtain a list of audio data formats for a file format specified
  91. explicitly or by file name, specify '?' as the format name.
  92.  
  93. The format identifier optionally can be followed by @samplerate and
  94. /hexflags for the format.
  95.  
  96. --channels=channels
  97. The number of channels. This will generally be of limited use, as
  98. most speech synthesizers produce mono audio only.
  99.  
  100. --bit-rate=rate
  101. The bit rate for formats like AAC. To obtain a list of valid bit
  102. rates, specify '?' as the rate. In practice, not all of these bit
  103. rates will be available for a given format.
  104.  
  105. --quality=quality
  106. The audio converter quality level between 0 (lowest) and 127
  107. (highest).
  108.  
  109. ERRORS
  110. say returns 0 if the text was spoken successfully, otherwise non-zero.
  111. Diagnostic messages will be printed to standard error.
  112.  
  113. EXAMPLES
  114. say Hello, World
  115. say -v Alex -o hi -f hello_world.txt
  116. say -o hi.aac 'Hello, [[slnc 200]] World'
  117. say -o hi.m4a --data-format=alac Hello, World.
  118. say -o hi.caf --data-format=LEF32@8000 Hello, World
  119.  
  120. say -v '?'
  121. say --file-format=?
  122. say --file-format=caff --data-format=?
  123. say -o hi.m4a --bit-rate=?
  124.  
  125. SEE ALSO
  126. "Speech Synthesis Programming Guide"
  127.  
  128.  
  129.  
  130. 1.0 2012-01-31 SAY(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement