i observed something strange: my machine, mixio, has a parameter named "Pan".
when i try to subscribe to propertychanged on it, it observes the buzz pan.
Pan_ValueChanged(machine.GetParameter("Pan"), 0);
i could rename it but it would break backwards compatibility (?).
is there a way i can separate the two without renaming my param ? is there maybe some convetion how buzz renames a parameter that collides with an internal one ?
PropertyChanged subscription on parameter named "Pan"
Re: PropertyChanged subscription on parameter named "Pan"
the solution was to use:
Pan_ValueChanged(machine.AllNonInputParameters().First(p => p.Name == "Pan"), 0);
Pan_ValueChanged(machine.AllNonInputParameters().First(p => p.Name == "Pan"), 0);
- strobotone
- Posts: 297
- Joined: Wed Nov 23, 2011 2:59 pm
- Location: berlin
- Contact:
Re: PropertyChanged subscription on parameter named "Pan"
that´s it. i am seriously quitting my job and get into c# and c++ .