Mike McCrea

Results 269 comments of Mike McCrea

> This is how trigs are defined in sc, and what happens with no interpolation (for example in Phasor_next_kk). Yes, but @dietcv is referring to the _continuous_ signal case. It's...

I'm hesitant to remove support for inter-sample triggering, since it's been there for 20+ years. How about adding an `interp` argument to Sweep and Phasor? 0: no interpolation (for accuracy...

>Whats with the two edge cases ? step-like signals (LFPulse) and oscillators in the range [0, +whatever] ? A trigger caused by a step function between samples wouldn't be accurately...

Sorry I should have been more clear... >A trigger caused by a step function between samples wouldn't be accurately captured by either method (inferring an impulse or interpolating) detecting the...

To add to @dyfer's comment, it's important that the data aligns properly with x axis, in the context of discrete sampling of data (like audio). So the current behavior of...

I think the solution would be closer to this: ```supercollider ( x = ((1..3)!2).plot.plotMode_([\plines, \bars]).superpose_(true); x.domain_((0..x.data[0].size-1)); // explicitly set to data indices for introspection below x.plotMode.includesAny([\bars, \levels]).if { x.domainSpecs_([x.domain.first-0.5, x.domain.last+0.5].asSpec)...

And in any case \bars and \levels don't appear to behave correctly (last value "disappears"): ```supercollider x = (1..3).plot.plotMode_(\bars) x = (1..3).plot.plotMode_(\levels) ```

> do you mean with this PR? No, I was referring to `develop` and `3.13`, where I get: ```supercollider x = (1..3).plot.plotMode_(\bars) ``` ![Screenshot 2024-09-17 at 14 50 10](https://github.com/user-attachments/assets/4a69c3e4-3946-4114-9bd0-e67ccaffe8fc)

> actually now it is clear that it doesn't finish correctly OK, note that in addition to whatever fix is needed for the notify test, also `condVar` can't be signaled...

+1 for this enhancement! This limit has complicated unit tests repeatedly, so would be great to have some more overhead.