<div dir="ltr"><div>Maybe start with your x values somewhere negative, since exp(0) = 1. In your graph it looks like around 0.6 would be 0, so subtract 0.6 from x, looks like maybe 1000*exp(x-0.6).<br><br></div>Martin<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 22, 2014 at 2:03 PM, Dan Wilcox <span dir="ltr"><<a href="mailto:danomatika@gmail.com" target="_blank">danomatika@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Howdy all,<div><br></div><div>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. </div><div><br></div><div>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</div><div><br></div><div>Any help would be appreciated so I can get this out there and start using it!</div><div><br></div><div>pos<span style="white-space:pre-wrap">              </span>freq</div><div>0.000<span style="white-space:pre-wrap">        </span>0</div><div>0.125<span style="white-space:pre-wrap">   </span>83</div><div>0.250<span style="white-space:pre-wrap">  </span>362</div><div>0.375<span style="white-space:pre-wrap"> </span>456</div><div>0.500<span style="white-space:pre-wrap"> </span>768</div><div>0.625<span style="white-space:pre-wrap"> </span>1750</div><div>0.750<span style="white-space:pre-wrap">        </span>6300</div><div>0.875<span style="white-space:pre-wrap">        </span>12750</div><div>1.000<span style="white-space:pre-wrap">       </span>25000</div><div><br></div><div><br></div><div><br></div><div><img src="cid:080943D8-9AA4-41E8-A9B0-126BAC66031B" height="300" width="399"></div><div><br><div>
<span style="border-collapse:separate;border-spacing:0px"><div style="word-wrap:break-word"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><div style="word-wrap:break-word"><div>--------</div><div>Dan Wilcox</div><div>@danomatika</div><div><a href="http://danomatika.com" target="_blank">danomatika.com</a></div><div><a href="http://robotcowboy.com" target="_blank">robotcowboy.com</a></div><div><br></div></div></span><br></div></span><br><br>
</div>
<br></div></div><br>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>