• jbzez

    Hey all,

    I have been trawling the net and scratching my head for a couple of hours now:

    I have a text file with about 120 words in it. I want to randomise the word order within pd and output that as another text file.

    What would be the best way of going about this?

    Many thanx in advance,

    Jb

    posted in technical issues read more
  • jbzez

    Hey all,

    Ok, I attach my version for others to expand and improve.

    Big props to those that helped.

    I'm gonna do it by hand for now but it would be really good to have the various words taking up a whole line rather than being in a list where there is one word per line, also, of course, with a space between each word. Getting pedantic now though:)

    Cheers y'all,

    Jbz

    http://www.pdpatchrepo.info/hurleur/word_manipulation.pd

    posted in technical issues read more
  • jbzez

    Many thanx to you guys who weighed in,

    So, I think I'm almost there.

    I used list-idx and now have my word list being spat out in a random order. Joy.

    Now I could just cut and paste the output of print, but I would like to do this 'properly' and be able to create a new text file with just the wordlist, without having 'symbol' as a prefix.

    Any pointers peeps?

    Jbz

    posted in technical issues read more
  • jbzez

    Right then.

    I've used 'list-enumerate' and I now have a text file that has each word assigned a number with a semicolon on the end of each word too. I'm trying to put that into an array but each of the items in the array list has a value of 0. I'm not sure what you mean by 'resolution' of the array. Could you explain further, also, what is 'list-accum' being used for.

    Ta for this,

    Jb

    posted in technical issues read more
  • jbzez

    Cheers Arif,

    Atm I'm thinkin about using 'random' 'select 1-120' and writing each word in a message box going into print. Which seems well clunky:(

    If I can find something a little more elegent I will defo post.
    Bests,

    Jbz

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!