[PD] nearest neighbour matching?

Claude Heiland-Allen claude at mathr.co.uk
Fri Oct 5 10:47:37 CEST 2012

Hi list,

I have a -batch patch that randomly samples the parameter space of 
control signals to (some black box)* and uses [sigmund~] to detect 
pitched-ness vs unpitchedness, keeping the pitch info and then a notch 
filter to detect distortion:


So I end up with gnuplots that look something like this:


Now I want to find the best match for a given pitch and distortion and 
get back the corresponding parameters that approximately reconstruct the 
desired sound.

What's the best way to go about this?

I might end up just hand-rolling some Lua for this kind of matching if 
no one has any better ideas.

* currently mutually modulating FM oscillators like
concept to be resurrected and reworked/combined with concepts from
NoIn EP http://gosub10.org/GOSUB10-002.html


More information about the Pd-list mailing list