[PD] curve fitting help?

Joe White white.joe4 at gmail.com
Thu Oct 23 00:16:33 CEST 2014


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>
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>
> 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!
>
> pos freq
> 0.000 0
> 0.125 83
> 0.250 362
> 0.375 456
> 0.500 768
> 0.625 1750
> 0.750 6300
> 0.875 12750
> 1.000 25000
>
>
>
>
> --------
> 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 mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>


-- 
Follow me on Twitter @diplojocus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20141022/5dd21e25/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minimoog_adsr.pd
Type: application/octet-stream
Size: 3401 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20141022/5dd21e25/attachment-0001.obj>


More information about the Pd-list mailing list