[PD] String manipulation?

Jack jack at rybn.org
Wed Jan 19 02:10:17 CET 2011


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 at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20110119/622ba649/attachment.pgp>


More information about the Pd-list mailing list