What is a good link for Apple script?
On Mar 16, 2014, at 12:36 PM, Jonathan C. Cohn <jon.c.c...@gmail.com> wrote: > Tracy, > > Just in case you did not find the say command instructions from the Standard > Editions dictionary, here they are. > > und to play > say v : Speak the given text > say text : the text to speak, which can include intonation characters > [displaying text] : the text to display in the feedback window (if > different). Ignored unless Speech Recognition is on. > [using text] : the voice to speak with. (Default is the system voice.) > [speaking rate number] : the rate of speech in words per minute. Average > human speech occurs at a rate of 180 to 220 words per minute. (Default > depends on the voice used. If “using” is not given, the system speaking rate > is the default.) > [pitch number] : the base pitch frequency, a real number from 0 to 127. > Values correspond to MIDI note values, where 60 is equal to middle C. Typical > pitches range from around 30 to 40 for a low-pitched male voice to perhaps 55 > to 65 for a high-pitched child’s voice. > [modulation number] : the pitch modulation, a real number from 0 to 127. A > value of 0 corresponds to a monotone in which all speech is at the base > speech pitch. Given a pitch value of 46, a modulation of 2 means the widest > range of pitches would be 44 to 48. > [volume number] : the volume, a real number from 0 to 1 (default is the > system volume). > [stopping current speech boolean] : stop any current speech before starting > (default is false). When false, “say” waits for previous speech commands to > complete before beginning to speak. > [waiting until completion boolean] : wait for speech to complete before > returning (default is true). > [saving to any] : the alias, file reference or path string of an AIFF file > (existing or not) to contain the sound output. > When “saving to” or voice-modifying parameters other than “using” are given, > text is not displayed in the Speech Recognition feedback window, as it is not > used to produce the speech in that case. > Best wishes, > > Jonathan > > > > On Mar 14, 2014, at 12:45 PM, Traci Duncan <our4p...@gmail.com> wrote: > >> Thank you, >> >> I’m not actually inputing any text file; I’m writing something like this: >> beep >> delay 0.5 >> say “You have a new message.” Using “Will” >> >> My goal is to have this be an audio file that I can use later. On the last >> line would I type -o will.aiff >> >> I’ve been reading documentation, but much to my annoyance, I’m still doing >> something wrong. >> >> Thanks for the help, >> Traci >> >> On Mar 13, 2014, at 9:06 PM, Chris Blouch <cblo...@aol.com> wrote: >> >>> I'm no AppleScripter but the say command takes a parameter to say where to >>> save the aiff audio output instead of playing it through the speakers. >>> Normally you could do >>> >>> say -f input_text_filename.txt -o output_audio.aiff >>> >>> there are lots of other parameters to the say command which you can find by >>> doing a >>> >>> man say >>> >>> in terminal. >>> >>> CB >>> >>> On 3/13/14 6:08 PM, Traci Duncan wrote: >>>> Hi all, >>>> >>>> I've done this in the past and I can't remember how. It is driving me >>>> crazy and googling isn't getting me the correct solution. >>>> >>>> If I'm creating a script with the say command, using a particular voice, >>>> what is the last line in the script to save that as an .aiff file? >>>> >>>> One reason I'm doing this via Apple script instead of save to iTunes as a >>>> spoken track, is I want to use the beep command before the say command. >>>> >>>> Fingers crossed, someone out there knows exactly what I need. :) >>>> >>>> Traci >>>> >>> >>> -- >>> ¯\_(ツ)_/¯ >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "MacVisionaries" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to macvisionaries+unsubscr...@googlegroups.com. >>> To post to this group, send email to macvisionaries@googlegroups.com. >>> Visit this group at http://groups.google.com/group/macvisionaries. >>> For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "MacVisionaries" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to macvisionaries+unsubscr...@googlegroups.com. >> To post to this group, send email to macvisionaries@googlegroups.com. >> Visit this group at http://groups.google.com/group/macvisionaries. >> For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "MacVisionaries" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to macvisionaries+unsubscr...@googlegroups.com. > To post to this group, send email to macvisionaries@googlegroups.com. > Visit this group at http://groups.google.com/group/macvisionaries. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to macvisionaries+unsubscr...@googlegroups.com. To post to this group, send email to macvisionaries@googlegroups.com. Visit this group at http://groups.google.com/group/macvisionaries. For more options, visit https://groups.google.com/d/optout.