<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">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).<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 22, 2014, at 6:16 PM, Joe White <<a href="mailto:white.joe4@gmail.com" class="">white.joe4@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hey Dan,<br class=""><br class=""></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 class=""><br class="">Cheers,<br class="">Joe<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 22 October 2014 20:22, Jonathan Wilkes via Pd-list <span dir="ltr" class=""><<a href="mailto:pd-list@lists.iem.at" target="_blank" class="">pd-list@lists.iem.at</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div style="background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" class=""><div class=""><span class="">Why not just draw what you want the curve to be in an array?</span></div><span class="HOEnZb"><font color="#888888" class=""><div style="font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;" class=""><br class=""><span class=""></span></div><div style="font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;" class=""><span class="">-Jonathan<br class=""></span></div> <div class=""><br class=""><br class=""></div></font></span><div style="display:block" class=""> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px" class=""> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px" class=""><div class=""><div class="h5"> <div dir="ltr" class=""> <font face="Arial" class=""> On Wednesday, October 22, 2014 2:04 PM, Dan Wilcox <<a href="mailto:danomatika@gmail.com" target="_blank" class="">danomatika@gmail.com</a>> wrote:<br class=""> </font> </div>  <br class=""><br class=""> </div></div><div class=""><div class=""><div class="h5"><div class=""><div class="">Howdy all,<div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">Any help would be appreciated so I can get this out there and start using it!</div><div class=""><br class=""></div><div class="">pos<span style="white-space:pre-wrap" class="">              </span>freq</div><div class="">0.000<span style="white-space:pre-wrap" class="">  </span>0</div><div class="">0.125<span style="white-space:pre-wrap" class="">     </span>83</div><div class="">0.250<span style="white-space:pre-wrap" class="">    </span>362</div><div class="">0.375<span style="white-space:pre-wrap" class="">   </span>456</div><div class="">0.500<span style="white-space:pre-wrap" class="">   </span>768</div><div class="">0.625<span style="white-space:pre-wrap" class="">   </span>1750</div><div class="">0.750<span style="white-space:pre-wrap" class="">  </span>6300</div><div class="">0.875<span style="white-space:pre-wrap" class="">  </span>12750</div><div class="">1.000<span style="white-space:pre-wrap" class=""> </span>25000</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><img height="300" width="399" class=""></div><div class=""><br class=""><div class="">
<span style="border-collapse:separate;border-spacing:0px" class=""><div style="word-wrap:break-word" class=""><span style="border-collapse: separate; 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;" class=""><div style="word-wrap:break-word" class=""><div class="">--------</div><div class="">Dan Wilcox</div><div class="">@danomatika</div><div class=""><a rel="nofollow" class="">danomatika.com</a></div><div class=""><a rel="nofollow" class="">robotcowboy.com</a></div><div class=""><br class=""></div></div></span><br class=""></div></span><br class=""><br class="">
</div>
<br class=""></div></div></div><br class=""></div></div><span class="">_______________________________________________<br class=""><a class="">Pd-list@lists.iem.at</a> mailing list<br class="">UNSUBSCRIBE and account-management -> <a class="">http://lists.puredata.info/listinfo/pd-list</a><br class=""><br class=""><br class=""></span></div>  </div> </div>  </div> </div></div><br class="">_______________________________________________<br class="">
<a href="mailto:Pd-list@lists.iem.at" class="">Pd-list@lists.iem.at</a> mailing list<br class="">
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank" class="">http://lists.puredata.info/listinfo/pd-list</a><br class="">
<br class=""></blockquote></div><br class=""><br clear="all" class=""><br class="">-- <br class="">Follow me on Twitter @diplojocus
</div>
<span id="cid:10E89C99-38A3-43FC-AC52-CEEDD611CC36"><minimoog_adsr.pd></span></div></blockquote></div><br class=""><div class="">
<span class="Apple-style-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; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><span class="Apple-style-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; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class="">--------</div><div class="">Dan Wilcox</div><div class="">@danomatika</div><div class=""><a href="http://danomatika.com" class="">danomatika.com</a></div><div class=""><a href="http://robotcowboy.com" class="">robotcowboy.com</a></div><div class=""><br class=""></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br class=""></div></body></html>