Var (float *value) if I may?


#1

hey Jules,
What do you think of adding the float* to the var object? it would allow any valueTree to hold float pointers.
In my case It would be amazing as I intend to pass float pointers when writing a modulation matrix for the Seaboard.

So far I store the address of the input as an int and cast it back to float* … Doesn’t sound so reliable…

Looking forward to hear from you
Silvere


#2

No… definitely not! The var object is very much a copy-by-value object. Perhaps you need to be using Value objects instead?


#3

Oh right I see! thanks for the tip Jules