[sharing: the reinvented wheel] one simple easing function
Hi
I tend not to "share" patches/abstractions/tools, simply because of a lack of confidence; plus I always respond to queries etc with a patch when I can. So, before I start officially putting tools and abstractions out there, here is a simple gen~ patch that remaps linear input onto a hybrid exponential/logarithmic function for the highly specific purpose of customized mapping strategies for differing gesture capabilities. Based on a recent thread; if you find this interesting, see Gregory's recent post on this topic.
Brendan
Nice.
Out of curiosity, what's the benefit of doing this at audio rate if it's just math/rescaling?
Absolutely; it relates to a question in another thread regarding latency etc. I am hoping to optimise latency on a system-wide basis.
Brendan
Wouldn't the latency be the same if you still have to convert the audio rate stuff back into a max message at some point?
Link(s) to other thread(s)?
Again correct, the key object in the shared patch in the gen~ stuff, everything else is just for demo purposes; but in my own patches relating to this, I don't leave the signal domain at all, except at the entry point, which is the serial object. I would love to be able to audio-rate gesture sampling in the future though.
I don't think the following qualifies as a thread as such ;) as there's only one contributor so far, perhaps you could offer your expertise here too:
https://cycling74.com/forums/latency-resolution-and-sr-figures/
Thanks Rodrigo
Brendan
ooops
you may have been asking for these too:
(Gregory's response esp.), and:
Brendan
Ah, I see now. Audio rate completely.
By mentioning the serial object I'm guessing you're coming in via arduino?
How do you find the serial/latency there?
Just thinking that in terms of general latency, 'max threading' wouldn't be the highest on my list of things to remove, particularly if it adds massive overhead. Now if your actual capture data ran at that rate, now you're talking!
Have you had a look at these guys:
http://www.x-io.co.uk
Specifically this thing:
http://www.x-io.co.uk/products/x-osc/
I just got one last week, and though I haven't had a chance to implement it in my existing project, I think it's going to be a game changer. I've hated how fickle Arduino/serial/parsing is (lots of kernel panics and parsing errors) when all I really want is the data in Max. This gives you high res (14bit) I/O with 2-3ms latency, coming in as straight OSC. Ka-boom.
...oh lord. That's almost pornographic!
I like the Leo Bodnar HID units for input, they certainly spew out at a fast rate, but the ease of connection with this beauty.
Damn, I wish I had the cash for something like this right now - know if they do, like, sets and such?
Dunno, they literally just came out (I suspect I might have gotten the first one?)
Quite cheap considering all the tech involved.
Hadn't ever seen that Bodnar stuff before. Very cool.