Welcome to %s forums

BrainModular Users Forum

Login Register

Array Find and Array Compare

Discussions about add-ons, announcements
Post Reply
bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 27 May 2010, 00:48

I've uploaded two new scripts that might come in handy once in a while, see the Wiki for details:

-Array Compare
-Array Find

You find them in the Data Tools section, or download from here:

- Array Compare
- Array Find

If you find any bugs, please post a report in this thread.
Bjørn S

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 27 May 2010, 04:38

coooooooooool thanks a lot master bsork!

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 27 May 2010, 09:47

thanks bsork !
btw, any example of applications..?

bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 27 May 2010, 10:40

I imagine that Array Find can be used in simple SysEx patches to get to the right input data; at least that's why I made it in the first place. SysEx messages are by nature different between manufacturers and devices, but all of them have a header of at least a handful of bytes that needs to be identified before you get to the interesting data parts. Also there's a possibility that several messages come together, so one might need to scan the array for finding all the data parts.

I'm still working on my FC300 SysEx patch which will need similar coding, so as it's not often that I program this kind of stuff I created a separate script to make debugging easier for myself. I made the Array Compare script first even though I actually don't need anything like it at the moment just because it's a simpler but similar program, and because I thought that as some other users do array trickery to handle strings and this kind of function is found in practically every standard programming library, it could be handy for them.

Also - if I've understood things correctly - some of the OSC patches created by others (I've only had a short test with OSC a long time ago myself) might benefit from something like this.
Bjørn S

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 27 May 2010, 10:59

great !
thanks for this explanation !

ethnix73
Member
Posts: 604
Location: France, Caen
Contact:

Unread post by ethnix73 » 27 May 2010, 13:59

Thanks Bsork for this two scripts...
Seb.Dub

moody33
Member
Posts: 338
Contact:

Unread post by moody33 » 23 Feb 2011, 22:40

Just let you know that these two scripts are corrupt on the wiki page (0kb). The addons files works though.

bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 24 Feb 2011, 11:11

Thanks moody. I won't have time to do anything with this in a few days, but eventually... :)
Bjørn S

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests