Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

loading and comparing incoming data with XML (java)

  • 09-05-2006 07:21PM
    #1
    Closed Accounts Posts: 1


    hi, this is my first post and i want to stress i know NOTHING about Java script.

    firstly, I have been spending the past few months building a patch in a midi/audio processing program called Max/MSP, you probly know it. Anyway ive got to the very end of the patch and the last thing I have to do is compare incoming data (which isn't indexed) with data stored in an xml file which is indexed 0-31. then, when the closest match is found, for the 'coll' (collection object used in Max) to output the index number at which the stored data matches.
    that way the index will jump straight to that part in the sample.

    i have looked into it in Max and have got a bit stuck, i thought java might be the way forward as max supports basic java scripting. i have been told to
    'use a loop to step through the array checking the input data against each array index' but i dont know how to go about this.

    any thought?

    cheers in advance,

    declan!

    EDIT: i can get the incoming data indexed, if it would help matters...


Comments

Advertisement