Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Make the computer sing happy birthday' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Make the computer sing happy birthday
Authored by: gmachen on Feb 06, '12 10:34:26AM
say thisSyllable pitch thisValue using "Cellos" speaking rate speakingRate modulation 0
Syntax Error: "Expected end of line , etc. but found identifier"

....at "pitch"

Leopard 10.5.8

[ Reply to This | # ]
Make the computer sing happy birthday
Authored by: auco on Feb 06, '12 10:43:30AM

if you paste it somewhere as a string you have to escape the quotes: \"Cellos\"

Edited on Feb 06, '12 10:43:50AM by auco



[ Reply to This | # ]
Make the computer sing happy birthday
Authored by: gmachen on Feb 06, '12 10:49:10AM
\"Cellos\"
Made no difference; same error.

[ Reply to This | # ]
Re: Make the computer sing happy birthday
Authored by: Uncle Asad on Feb 06, '12 03:14:01PM

The "pitch", "speaking rate", and "modulation" parameters for the "say" command aren't present in the Standard Additions dictionary in 10.5 (use the Library window of Script Editor to access that dictionary); they must have been added in 10.6 or later.



[ Reply to This | # ]