<div dir="ltr"><div>Hey Dan,<br><br></div>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. <br><br>Cheers,<br>Joe<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 22 October 2014 20:22, Jonathan Wilkes via Pd-list <span dir="ltr"><<a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div><span>Why not just draw what you want the curve to be in an array?</span></div><span class="HOEnZb"><font color="#888888"><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><br><span></span></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;background-color:transparent;font-style:normal"><span>-Jonathan<br></span></div> <div><br><br></div></font></span><div style="display:block"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div><div class="h5"> <div dir="ltr"> <font face="Arial"> On Wednesday, October 22, 2014 2:04 PM, Dan Wilcox <<a href="mailto:danomatika@gmail.com" target="_blank">danomatika@gmail.com</a>> wrote:<br> </font> </div>  <br><br> </div></div><div><div><div class="h5"><div><div>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 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 rel="nofollow">danomatika.com</a></div><div><a rel="nofollow">robotcowboy.com</a></div><div><br></div></div></span><br></div></span><br><br>
</div>
<br></div></div></div><br></div></div><span class="">_______________________________________________<br><a>Pd-list@lists.iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -> <a>http://lists.puredata.info/listinfo/pd-list</a><br><br><br></span></div>  </div> </div>  </div> </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><br clear="all"><br>-- <br>Follow me on Twitter @diplojocus
</div>