Results 802 comments of Julian Rohrhuber

You are right about `round`. We could add a `trunc2` op, which would implement the other behavior. The `2`would make sense in the sense of symmetry. What do you think?

@Beechside It turns out that the description on the page is really different. Very bad. Probably because sc uses `std:trunc`? But, no, seems not. We need to find the origin...

I agree that it would be a better life with a fixed trunc. I'l like to collect some other voices and let it sink a little. I'm not sure still...

that said, it is still unclear to me why our `sc_trunc` primitive does what it doesn't do. (`return std::trunc(x);`).

@Beechside thank you for the explanation, I see now how it is meant, and that rounding and flooring can be different, yet analogous. All these methods have symmetric counterparts. _This...

… and it would affect any code that uses `trunc` on a ugen.

> By the way, I think that creating `trunc2`, which always rounds to negative infinity would be a mistake. I was suggesting that `trunc2` and all the corresponding other methods...

``` LOOP1( inNumSamples, float curtrig = ZXP(trig); if (prevreset 0.f) level = 0.f; else if (prevtrig 0.f) { level += 1.f; } ZXP(out) = level; prevtrig = curtrig; prevreset =...

> > As it is now, you have many examples of how a trigger is defined. > > Could you provide an example? I just meant that in the current...

- In terms of reflection, it is absolutely ok semantically to call `respondsTo`. - it is a good step to not use respondsTo in the class library to make it...