[PD] curve fitting help?
Dan Wilcox
danomatika at gmail.com
Fri Oct 24 00:57:57 CEST 2014
This totally works Joe .. and it’s both simpler and more elegant that all the other stuff I tried. I’m adapting it to a couple of other controls. Should be done soon … (this thing is fun to play).
> On Oct 22, 2014, at 6:16 PM, Joe White <white.joe4 at gmail.com> 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!
>
> 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 <mailto:Pd-list at lists.iem.at> mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>
>
>
>
> --
> Follow me on Twitter @diplojocus
> <minimoog_adsr.pd>
--------
Dan Wilcox
@danomatika
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20141023/f4c57432/attachment.html>
More information about the Pd-list
mailing list