Le mercredi 19 janvier 2011 à 00:25 +0000, Andrew Faraday a écrit :
Hey Guys
I've been playing around with the [httpget] abstraction, building some music generation patches using html files.
Presently using the length of each line in 'words' (pd lists) as an array and playing as a musical phrase, which actually works really well.
Any ideas how I could use their length in characters?
Hello, You 'drip' your list of 'words' and use [s2l] from Zexy. Then you have a new list with each letter of your word. ++
Jack
Or parse away html tags?
Or any other nifty data-from-string tricks?
I'm considering using [shell] and writing either an irb or bash script to get some of this stuff. But this is a little bit clunky and not particularly portable (cross-platform), so I'm not keen on it as a long-term solution.
Any ideas appreciated.
Andrew _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list