String Spreads

Hello , i’m using output from subdir to list all directories in a dir, i was trying to insert in that output another list of strings, just can’t get how i should treat subdir output to insert new spread, i can’t just treat it like a spread i suppose, how does it works ?

Thnak u in advance, hierro.

did you tried cons(string)?

Yes but i what i need is to insert new spread at a selcted index , let’s say we have 1,2,3,4,5 and 7,8,9…i should be able to have this in example 1,2,3,7,8,9,3,4,5, i saw that obviously that’s possible with spread, but how can i treat a subdir output as spread ?

Hey,

I think here’s a workaround, not very clean patching but should work as expected. I’ve hidden some pins (especially in Scroll (String) node) to clean the patch so don’t forget the inspektor.

Hope it helps.
cheers,
O.

hierro.v4p (13.6 kB)

well, i think it does exactly what i was talking about, so thank u very much :)

hrovac , thank u too, i didn’t get i could use cons with spreads of strings (is that a spread of strings right ? )

btw, i can i get the max value in a spread ? :)

The Bounds (Spectral) node might help ;)

and does a lot of thing more :) thank u :)

just very addicted in so much time…nice vvvv hemp, by the way , if i have a values spread 1,2,6,3,6,6 how can i count the occurences of max value ? i’m trying to unerstand the select node, and i can’t just compare (can i ^) a spread with a number, i need to understand working on spreads better :)

if i have a values spread 1,2,6,3,6,6 how can i count the occurences of max value ?

I tried it for you, but I have a feeling I missed some nodes to do it even more easy.

MaxCount.v4p (7.6 kB)

Hello west :) finally it does what i meant, i still find diffcult to reason that way , that’s why i appreciate and i’ll study it better :)

Just saw the Bounds (spectral) nodes gives you the Max in 1 go…