hello listers,
i’m working in a rather complex patch which was giving erroneous results. it might be something i didn’t understand or i’m doing something wrong (most likely), but see by yourself…
OpenMusic 1 > (p-form :fn '(0 1 2))
|3-1|
OpenMusic 2 > (p-form :fn '(1 0 2))
|3-1|
OpenMusic 3 > (p-form :fn '(0 5 7))
nil
OpenMusic 4 > (p-form :fn '(5 7 0))
nil
OpenMusic 5 > (p-form :fn '(0 2 7))
|3-9|
OpenMusic 6 > (p-form :fn '(2 0 7))
|3-9|
as you see, p-form gives an erroneous result, just on that particular set-class. it seems it gets confused with TnI of that set-class. see that an inversional instance of 3-9 results in nil, but if you give '(0 2 7) or any Tn of it will yield the right set-class. for other set-classes the results are ok.
it was very difficult to pinpoint this as it was buried inside an internal patch of an internat patch of an internal patch…
can anyone please confirm this strange behaviour? i can confirm that is the same with pcs-prime-form function and with the icon as well.
i’m still on 6.12/el-capitan
thank you so much in advance,
perti