Re: Insert silence in say's text
Re: Insert silence in say's text
- Subject: Re: Insert silence in say's text
- From: "Gary (Lists)" <email@hidden>
- Date: Sun, 03 Jul 2005 12:41:15 -0400
"Gary (Lists)" wrote:
> "MÁTYÁS Ferenc Farkas" wrote:
>
>> How can I insert silence into the spoken audio text what I am
>> producing with the say "Say this text" command?
> I have tried some of these and they do not appear to work in OS X. (They used
> to work under earlier MacinTalk Pro.)
>
> The breathing phoneme codes are (were?)
>
> % silence
> @ breath intake
Okay, a little more digging and playing. Instead of trying to use AS
classes, (which I used to use, but got me know where), this short script
demonstrates the phoneme mode in action.
====
set pMode to "[[inpt PHON]]" -- this 'flag' switches to phoneme mode
set tMode to "[[inpt TEXT]]" -- this 'flag' switches to normal text mode
--
-- this should be one long line...
set stringToSay to pMode & "mAYkAXl," &
tMode & " can you stand the " &
pMode & "%%%%nt2IHsIXp1EY%%%%%%%SAXn" &
tMode & "?"
say stringToSay
====
So, you can pause with...
[[inpt PHON]]%[[inpt TEXT]]
like this...
====
set breathe to "[[inpt PHON]]%[[inpt TEXT]]"
say "Hello" & breathe & breathe & "there."
====
--
Gary
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden