Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Insert Custom Pause Duration for Text to Speech Content!

Hi,


I am using the TTS feature on my Mac to convert some of my notes to audio files. Super useful for reviewing materials when you are driving. However, I am surprised the TTS feature doesn't support the feature to add custom pauses. I mean c'mon... no one thought about it??! 😮


Here is an example:


density is mass over volume


what is the density? [MAKE IT PAUSE FOR 10 SECONDS HERE SOMEHOW]



1 Kelvin is Celcius plus 273 point 1 5


1 Kelvin is Celcius plus [MAKE IT PAUSE FOR 5 SECONDS] point [MAKE IT PAUSE FOR 10 SECONDS]


As the TTS is right now, it just keeps ramming on. Adding ellipses, periods, more paragraphs are not useful. TTS simply ignores those.


Any tips tricks.. ideas?

OS X Mountain Lion (10.8.4)

Posted on Sep 22, 2013 8:18 PM

Reply
Question marked as Best reply

Posted on Sep 23, 2013 7:29 PM

well... I am not sure exactly what TTS is, nor do I feel like looking it up.


You can write a bash script that can probably do what you want, basically to the effect of


loop [ condition ]

do

say < textfiletoread

sleep 10


operation to select next text file


done



Probably not what you had in mind, but I'm in a Unix mood.


And I just realized it stands for text to speech.

4 replies
Question marked as Best reply

Sep 23, 2013 7:29 PM in response to Roosevelt P

well... I am not sure exactly what TTS is, nor do I feel like looking it up.


You can write a bash script that can probably do what you want, basically to the effect of


loop [ condition ]

do

say < textfiletoread

sleep 10


operation to select next text file


done



Probably not what you had in mind, but I'm in a Unix mood.


And I just realized it stands for text to speech.

Sep 23, 2013 7:47 PM in response to Roosevelt P

Hi Roosevelt P,


You can use embedded commands within the text.


https://developer.apple.com/library/mac/documentation/userexperience/conceptual/ SpeechSynthesisProgrammingGuide/FineTuning/FineTuning.html

Use the slnc command. Here's the example from that page in AppleScript:


say "Don't forget to bring your hat, [[slnc 400]] sunglasses, [[slnc 400]] sandals, [[slnc 400]] and towel."


gl,

kel

Insert Custom Pause Duration for Text to Speech Content!

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.