hi,
I have set up a table with it's indexes being fed from a h-radio and then it's values being fed from a v-slider using [tabwrite]. I've also then fed the h-radio into [tabread] which then goes back into the fader. The result is that I can set a value for any given number on the h-radio and then any time I click back on that number it will recall the saved value (from the table) into the v-slider. It works nicely... however.... when I duplicate the code and then change the arguments for [tabread], [tabwrite] and [table] for some reason... the second version doesn't work. Even though the first still does. The new arguments are all the same so it's not that. And everything else is identical because I copied and pasted it.
Here's is my patch: -
twoTables.pd
Any ideas what I might be doing wrong here?
Thanks
-
value recall from a table
-
@liamorourke Order of operations. It is reading from the wrong index. When you copied the connection order must have been lost.
It is a very good rule to use triggers everywhere to force the order of operations..... and they make the patch much easier to read.
not.pd
David.
P.S. Just realised that the creation order would have been the same until you renamed [tabread] and [tabwrite] and [table]. -
okay that makes sense... so it didn't copy the order... because when the duplicate was created everything inside the duplicate was created at the same time. So no order. I can see your point with triggers. It makes sure the order is there.
Thank you