i am making a program that says of sings what ever you put in a little box.
that part works
but i also want it to be able to save whatever is in the little box to the desktop as a .aiff
in a singing voice if a talking voice so far i have…
set fileName to "audio.aiff"
set helper_path to ((path to desktop as alias) as string) & fileName
set hi to the text returned of (display dialog "What do you want to say?" default answer "") as string
say hi using "Fred" saving to helper_path
to save as a talking file and
set fileName to “audio.aiff”
set helper_path to ((path to desktop as alias) as string) & fileName
set hi to the text returned of (display dialog “What do you want to say?” default answer “”) as string
say hi usinbg “Cellos” saving to helper_path
for saving as a singing file
niether work
something about not understanding the message
ok so i messed up the code boxes