high resolution sah~
Hello all, I'm needing a high res equivalent of the [sah~ ] object for a patch, and there isn't one in the hr.library.
However, I'm thinking there *might* be away of doing it mathematically using the hr objects that do exist?
There are no comparison objects (>,
I'm needing this because I need a way of synching a param change to a high resolution phasor~ object.
So.........does anyone think it's possible to create a sample and hold with normal math? I'm not too optimistic, but being as flakey at math as I am, I thought I would ask.
Failing that, does anyone have the know-how to compile a double-precision version of sah~ or Andrew Benson's wait~ external?
Cheers for the help
This seems to work well enough for now :)
I would do the below - the hr bit of the phasor isn't needed. You can use the same trigger for both. The 0.999 trigger threshold will potentially be off (by a constant amount for a set frequency) from the onset of your phasor), and this nasty hack isn't necessary if you use the delta of the phasor, which can be thresholded easily and with total accuracy:
Alex
Ahh very nice, I was aware than an argumented sah~ would be a problem in this scenario.....didn't think to delta~ it.
Thanks muchly Alex!
indeed, an argumented object might be a problem for a "hr" circuit. :D exept expr~ mb.