[PD] curve fitting help?
Chris McCormick
chris at mccormick.cx
Fri Oct 24 05:54:32 CEST 2014
Hi Dan,
I had a crack based on Joe's and used this solver with your data to get
a close-enough polynomial for expr:
http://www.arachnoid.com/polysolve/
Cheers,
Chris.
On 23/10/14 06:16, Joe White wrote:
> Hey Dan,
>
> Does the attached patch do what you want? It's a bit crude but you get
> the same graph output, I suppose you could always smooth the data if you
> didn't want it linear as well.
>
> Cheers,
> Joe
>
> On 22 October 2014 20:22, Jonathan Wilkes via Pd-list
> <pd-list at lists.iem.at <mailto:pd-list at lists.iem.at>> wrote:
>
> Why not just draw what you want the curve to be in an array?
>
> -Jonathan
>
>
> On Wednesday, October 22, 2014 2:04 PM, Dan Wilcox
> <danomatika at gmail.com <mailto:danomatika at gmail.com>> wrote:
>
>
> Howdy all,
>
> I’m *almost* done with my rjlib compatible s_minimoog abstraction
> for the rc-patches, but I need help finding the right curve for the
> ADSR controls. I used block diagrams and the Minimoog Service Manual
> to build the dsp chain. What I have now can give a *reasonably*
> accurate rendition of Minimoog patches from sheets found online (ELP
> Aquatarkus, for instance). What I did notice in comparing it to the
> Arturia Mini V AudioUnit minimoog simulation, is that the knob
> curves for frequency are different form what I’ve been able to do,
> so some patches aren’t quite *right* yet.
>
> Basically, I’ve tried a number of different exponential and power
> curves but can’t get one that has the long, low slope on the low
> end. All of my curves rise too quickly. In any case, this is a curve
> fitting problem and this is the data I’m working with. The mapping I
> want is 0 - 1 to 20 0 20kHz. And no, I don’t to just stick a log hsl
> in there :D
>
> Any help would be appreciated so I can get this out there and start
> using it!
>
> posfreq
> 0.0000
> 0.12583
> 0.250362
> 0.375456
> 0.500768
> 0.6251750
> 0.7506300
> 0.87512750
> 1.00025000
>
>
>
>
> --------
> Dan Wilcox
> @danomatika
> danomatika.com
> robotcowboy.com
>
>
>
>
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
>
> _______________________________________________
> Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
>
>
> --
> Follow me on Twitter @diplojocus
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
--
http://mccormick.cx/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minimoog_adsr_2.pd
Type: text/x-puredata
Size: 2170 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20141024/605c40a8/attachment.bin>
More information about the Pd-list
mailing list