libossia
libossia copied to clipboard
[ossia-max][ossia-pd] Range of two values in Pd / Max ?
Hello, when using e.g. ossia.parameter objects we have the
@range -1 1
syntax which says, "the value is between -1 and 1"
but
@range -1 1 2
instead means "the value is either -1, 1, 2"
but it seems that there is no way to be able to say, "the value is either -1 or 1" ? How do you usually do ? shouldn't there be a kind of @set_of_values that would allow to say that ?
yes I think an @enum attribute would be nice, but then we can't use it with @range
I'll try to implement that