Read text from a website
Hi guys, I'm trying to make a patch that reads text from a website and can have the function to speak it (either somehow using the speech function on OSX or using syllables that I record myself.
I know I can view a website in max using jWeb but am having trouble finding a way to get the raw text into max.
Has anyone tried anything like this or know of a way to do this?
So I've managed to do this:
But I can't seem to work out a way to get rid of ""
any ideas?
You can use another regular expression to process the message coming out of [jit.str.tosymbol]. Just put the following before the message that is displaying your output
regexp @substitute %0
Aha! thank you. I hadn't thought of regexp. I think this is going to help me a lot.
My question now then, I guess, is how to split syllables. and then how to detect their vowel or consonant sound in context of a word.
If you don't mind avoiding the linguistic analysis into phonemes :) you might try the [aka.speech] object