Forums > MaxMSP

Read text from a website

Jun 24 2012 | 8:41 pm

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?

Jun 24 2012 | 10:11 pm

So I’ve managed to do this:

-- Pasted Max Patch, click to expand. --

But I can’t seem to work out a way to get rid of ""

any ideas?

Jun 27 2012 | 12:00 pm

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

Jun 27 2012 | 10:33 pm

Aha! thank you. I hadn’t thought of regexp. I think this is going to help me a lot.

Jun 27 2012 | 10:36 pm

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.

Jun 28 2012 | 12:57 am

If you don’t mind avoiding the linguistic analysis into phonemes :) you might try the [aka.speech] object

Viewing 6 posts - 1 through 6 (of 6 total)

Forums > MaxMSP