[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:

http://mathr.co.uk/softrockiii/2012-10-05_probe-puredata.png

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

http://mathr.co.uk/softrockiii/2012-10-05_pitching-distortion.png

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
http://archive.org/details/ClaudiusMaximus_-_Soft_Rock_EP
concept to be resurrected and reworked/combined with concepts from
NoIn EP http://gosub10.org/GOSUB10-002.html


Claude
-- 
http://mathr.co.uk



More information about the Pd-list mailing list