• Flowdeeps

    Hi, I'm not used to working without seeing the code when making programs and am having difficulty with even basic things.

    If I explain what I'm trying to do can someone point me in the direction of a correct answer or give me an example that I can deconstruct?

    I'm trying to load two text files, both enormous lists of unspaced numbers. I want to then have the patch step through each number one by one until the end of each file. Now in more traditional languages I would load the file, split the string and then post into an array so I could step the cursor through them one by one. Obviously that won't work in PD as arrays are something else entirely and as far as I'm aware that's not how they're used in PD. Admittedly my experience is very limited so I might be incredibly wrong.

    Can someone help?

    posted in technical issues read more
  • Flowdeeps

    OK, so I actually got the patch working and doing what I wanted really nicely thanks to you Maelstrom but I've decided to come back and workout the hacks I used first time round.

    I'm opening a very long sequential list from a textfile and trying to auto-size and populate two tables.

    I've got the textfiles loading ok as I can poll the list length and get the correct figure out. I presume I can also feed this figure into the table length somehow. My question is what do I do after the textfiles loading? Tabwrite?

    Thanks in advance.

    posted in technical issues read more
  • Flowdeeps

    I think I'm starting to understand it a little better now. Debugging this element of PD is unnecessarily hard though.

    I'm getting a console error of symbol2list: no method for 'x'.

    posted in technical issues read more
  • Flowdeeps

    I put a bang from the left output of [route x] which never triggers.

    Also [print x2] connected to the rightmost outlet doesn't result in any console output.

    Im very perplexed.

    I've attached it because I'm obviously doing something wrong.

    Use the code below to test the file.

    x 3 0 1 4 1 5 9 2 6 5 3 5 8 9 7 9 3 2 3 8 4 6 2 6 4 3 3 8 3 2 7 9 5 0 2 8 8 4 1 9 7 1 6 9 3 9 9 3 7 5 1 0 5 8 2 0 9 7 4 9 4 4 5 9 2 3 0 7 8 1 6 4 0 6 2 8 6 2 0 8 9 9 8 6 2 8 0 3 4 8 2 5 3 4 2 1 1 7 0 6 7 9 8 2 1 4 8 0 8 6 5 1 3 2 8 2 3 0 6 6 4 7 0 9 3 8 4 4 6 0 9 5 5 0 5 8 2 2 3 1 7 2 5 3 5 9 4 0 8 1 2 8 4 8 1 1 1 7 4 5 0 2 8 4 1 0 2 7 0 1 9 3 8 5 2 1 1 0 5 5 5 9 6 4 4 6 2 2 9 4 8 9 5 4 9 3 0 3 8 1 9 6 4 4 2 8 8 1 0 9 7 5 6 6 5 9 3 3 4 4 6 1 2 8 4 7 5 6 4 8 2 3 3 7 8 6 7 8 3 1 6 5 2 7 1 2 0 1 9 0 9 1 4 5 6 4 8 5 6 6 9 2 3 4 6 0 3 4 8 6 1 0 4 5 4 3 2 6 6 4 8 2 1 3 3 9 3 6 0 7 2 6 0 2 4 9 1 4 1 2 7 3 7 2 4 5 8 7 0 0 6 6 0 6
    

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

    posted in technical issues read more
  • Flowdeeps

    Debugging textfile stuff is a bit of a pain isn't it.

    I've managed to get the textfile to load, I know this because I've brought PD to it's knees twice by accidentally trying to print textfile to the console whilst debugging. That was the float list. I'm now parsing it through [symbol2list] and [symbol( after adding a preceding x to the text files as per your suggestion.
    How do I test to see if the symbols are now in a list?

    ?

    posted in technical issues read more
  • Flowdeeps

    Yeah. Not to worry right now though, the most important bit about this project is the learning and if one thing trips me up I can't let it stop me from other parts of it.

    In the end I just made a table and put the data in there manually. Obviously later that will have to change to the text file data source as each table (there will be two) will have ten thousand, possibly more, digits in them and I don't want to have to let PD try and handle that from the GUI.

    posted in technical issues read more
  • Flowdeeps

    Would I then use [print] to see the list in the console?

    So far I've got:

    [bang]
    |
    [textfile read numbers.txt]
    |
    | [symbol(
    | |
    [symbol2list]
    |
    [print]

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!