Hi,
I'm trying to convert a series of transcribed interviews to spoken text through applescript. So far I've been using:
But I'd like to use two different voices (eg. "Ralph" and "Fred") to differentiate the two speakers. This is very time consuming to do with the above script. What I'd like to have is a script that takes a text file like this:
And uses the strings "Ralph: " and "Fred: " to create speech files with the different voices as well as a number in the filename to show it's position in the conversation. I guess ideally it would just create one speech file with all the back and forth speech files compiled, but I have a feeling that isn't possible with applescript... although maybe it can do it through quicktime or audacity.
Any help is much appreciated!
-Mark
I'm trying to convert a series of transcribed interviews to spoken text through applescript. So far I've been using:
Code:
say "this is what one person says" using "Ralph" saving to file (((path to desktop) as string) & "test.aiff")
But I'd like to use two different voices (eg. "Ralph" and "Fred") to differentiate the two speakers. This is very time consuming to do with the above script. What I'd like to have is a script that takes a text file like this:
Ralph: Where were you born?
Fred: Montana
Ralph: I see
And uses the strings "Ralph: " and "Fred: " to create speech files with the different voices as well as a number in the filename to show it's position in the conversation. I guess ideally it would just create one speech file with all the back and forth speech files compiled, but I have a feeling that isn't possible with applescript... although maybe it can do it through quicktime or audacity.
Any help is much appreciated!
-Mark