hello list, i have a list of lists - floats/arrays (x y z) using datastructures. i'd like to compare incoming data of 3 floats with my list items (x1, y1, z1/x2, y2, z2, etc.). if it matches one of the list items, i'd like to perform an action specific to the list item it matches. i've been trying to start this with the select object but it's not accepting a list as an arguement, eventually i want to have all the list items as arguements to compare with. i've been trying to search for an answer reading through the archives but i'm getting quite confused. it seems pretty simple, just can't figure it out though... i'd appreciate any clues... i'm attaching something i've been trying with the element object help file, it might give a better idea...
thanks!
tina
Hallo, Tina Shah hat gesagt: // Tina Shah wrote:
hello list, i have a list of lists - floats/arrays (x y z) using datastructures. i'd like to compare incoming data of 3 floats with my list items (x1, y1, z1/x2, y2, z2, etc.). if it matches one of the list items, i'd like to perform an action specific to the list item it matches. i've been trying to start this with the select object but it's not accepting a list as an arguement, eventually i want to have all the list items as arguements to compare with.
Maybe attached patches can give you some inspiration. They require pd-0.39 and list-drip/list-dripslow from my [list]-abs collection (see http://footils.org/cms/show/46)
What you get in the "==" example is a list of the results of the comparison of each respective element in two lists. So "list 1 2 3" and "list 1 2 0" would give "list 1 1 0" as a result.
Frank Barknecht _ ______footils.org_ __goto10.org__
dear list,
a little message to say that i just got freebob (driver for firewire sound cards on linux) to work with an edirol FA66, jack and puredata, yesterday on a recent toshiba laptop. it feels quite good indeed. i had to compile libs by hand though, following instructions here: http://freebob.sourceforge.net/index.php/Compiling_from_SVN_HOWTO#Downloadin... as distro, i used dapper (it is still beta but seems to work already quite nicely and has a preemptive flag in its kernel by default) - the only annoying thing is that for the time being i have to launch jackd/freebob in sudo mode to get realtime performances available...
best regards, vincent
only annoying thing is that for the time being i have to launch jackd/freebob in sudo mode to get realtime performances available...
best regards, vincent
are you sure that adding your user to the same group as the owner of the file /dev/raw1394 doesn't help? in my case that file was owned by root:disk so adding my user to the disk group was enough to start freebob as a normal user instead of root
davide.
Davide Morelli a écrit :
only annoying thing is that for the time being i have to launch jackd/freebob in sudo mode to get realtime performances available...
best regards, vincent
are you sure that adding your user to the same group as the owner of the file /dev/raw1394 doesn't help?
yes it does - thank you! vincent
in my case that file was owned by root:disk so adding my user to the disk group was enough to start freebob as a normal user instead of root
davide.