• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Insert silence in say's text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Insert silence in say's text
      • From: Christopher Nebel <email@hidden>
References: 
 >Re: Insert silence in say's text (From: "Gary (Lists)" <email@hidden>)

  • Prev by Date: Re: Insert silence in say's text
  • Next by Date: Re: HTML email results in "??????????" when captured
  • Previous by thread: Re: Insert silence in say's text
  • Next by thread: Re: Insert silence in say's text
  • Index(es):
    • Date
    • Thread