Trigger sounds using Twitter

Teej's icon

Hey all,

I'm in the process of making a sound installation that uses twitter to trigger sounds in maxmsp. The idea is to use a twitter search API to filter and search for certain words, using the specified words to trigger sounds within maxmsp, essentially creating an aleatoric composition, using tweeted trends to compose the music, a kind of musical representation of social and cultural trends. I'm a bit lost as to where to start with this, i've seen that people have made it possible to post tweets to twitter from within maxmsp, so getting the two to communicate should be possible, any help on areas to look into to make this happen will be amazing.

many thanks,

Tom

cap10subtext's icon

Did you try searching the forum for "twitter"?

Teej's icon

yes mate, ive read all the post concerning twitter and maxmsp, but am still wondering if anyone can offer any more help on the subject, its all a bit of a mess in my head.

Teej's icon

so, i've worked out that i need to use a combination of [jit.uldl] and [jit.str.regexp] but I'm completely lost as to how to use regular expressions. i feel the easier option is to embed the twitter serch api into a website, then download the website using jit.uldl, then somehow filter the code using jit.regexp so it only reads specific words, then use these words to trigger sound. any thoughts on how to go about this?

many thanks again

Tom

Gokce Kinayoglu's icon

I just wrote a java mxj external names searchtweet, for reading twitter posts for an installation that I was working on. I have a feeling this might be useful for a lot of people interesed in controlling their max patches remotely or allowing user interaction via twitter posts:

I will post it here on the cycling74 forums since my hosting is not too reliable.

Use responsibly ;)

Gokce Kinayoglu

nightrider's icon

I'm experiencing waves of search strings coming back to me....I'm wondering if you've experienced this or I'm doing something wrong....

Max Patch
Copy patch and select New From Clipboard in Max.

they're kind of obvious here when i sent the data to midi

3408.ScreenShot20120221at10.16.20PM.png
png
Nick Donovan's icon

As Twitter announce their API restrictions plan what could this mean for the searchtweet external? Would performance be lost/ shut down totally?