VST~ & coll snafu
i could use a little help. i'm trying to get the stored program names of a vst out and stored into a coll. ideally, because the list will come out as symbols, i'd need to add an index as they get stored. then when i send a number to vst, i can get the stored name of that program. so i'm thinking [listfunnel] and [fromsymbol], but i'm having issues with how the list gets sent to print and how it actually imports into coll.
here's where i've started, but there are issues . . . .
thanks!
drew
You don't need listfunnel at all because the output of the vst~ object when you send it "pgmnames" is not a single list, it just gives you all the names one by one.
The store message doesn't work like this with the coll object. In fact, you don't need the store prefix.
If I want to store "program name 2" in my coll and want it output when I send a 2, you need to send "2 program name 2"
so basically, all you need in front of your names to store them in the coll is a prepend int where the int is where the name should be stored, aka its "id" to get a different prepend for each name, you could use a counter that is banged just before or after each output.
Is this what you're looking for?
this is great jbl, thanks! my basic troubleshooting tool of [print] kept giving me different results with everything i tried. but now i understand how it works, and how pilot error has tricked me once again. much obliged!
drew
I just found out that the first item in your coll should be associated with 1 and not 0, it's easy to have it set that way by changing how the counter is reset from "reset on next count" to "reset immediately".
I did pick up on that when i started to use the patch. And once i got everything working, i shifted gears and went with a umenu.
It's all about the journey . . . .
thanks again!
drew
Oh yes! populating a umenu is pretty much the same type of message and then you can use it to send which preset you want to load to the vst~ object. Neat.