<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1443749416749_32270" dir="ltr">I think I saw it used just to fade in and out on a sine tone.</div><div id="yui_3_16_0_1_1443749416749_32272" dir="ltr"><br></div><div id="yui_3_16_0_1_1443749416749_32064"><span></span></div>  <br><div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <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 dir="ltr"> <font face="Arial" size="2"> On Friday, October 2, 2015 9:52 PM, Matt Barber <brbrofsvl@gmail.com> wrote:<br> </font> </div>  <br><br> <div class="y_msg_container"><div id="yiv2092961685"><div><div dir="ltr">It'll have more to do with how large the increment is, and what an increment means psychoacoustically. If you ramp over the range of a piano in pitch over a second, incrementing every 64 samples, each increment will be about 12.5ยข, which is likely to be audible. Or if you ramped from 20hz to 20khz in frequency, you'd be adding some 28hz per increment, which is a lot of pitch at the low end.</div>
<div class="yiv2092961685yqt4768555740" id="yiv2092961685yqt36837"><div 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>Doesn't the audibility of zipper noise depend on the duration of the ramp?</div><div><br clear="none"></div><div dir="ltr">I seem to remember some Supercollider tutorials that used Line.kr with</div><div dir="ltr">a duration of a second or so, and I don't remember hearing zipper noise.  (Also</div><div dir="ltr">made a little Pd demo using [bang~] and a counter, but I don't know what I</div><div dir="ltr">did with it.)<br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">-Jonathan<br clear="none"></div><div><span></span></div>  <br clear="none"><div><br clear="none"><br clear="none"></div><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 dir="ltr"> <font face="Arial" size="2"> On Friday, October 2, 2015 7:41 PM, Matt Barber <<a rel="nofollow" shape="rect" ymailto="mailto:brbrofsvl@gmail.com" target="_blank" href="mailto:brbrofsvl@gmail.com">brbrofsvl@gmail.com</a>> wrote:<br clear="none"> </font> </div>  <br clear="none"><br clear="none"> <div><div><div><div dir="ltr">You'll get zipper noise with the samphold per block approach.</div>
<div dir="ltr">Cost to dereference a struct member is probably a little more than just using or getting a value. It's possible it'll be cached, though.</div>
<div>On Oct 2, 2015 5:26 PM, "Jonathan Wilkes via Pd-list" <<a rel="nofollow" shape="rect" ymailto="mailto:pd-list@lists.iem.at" target="_blank" href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>> wrote:<br clear="none"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"><div>There are probably a lot more ways to implement ramps.  For example, you</div><div dir="ltr">could increment only at block boundaries and just repeat that value for the</div><div dir="ltr">rest of the block.  That would looks a lot like Supercollider's "kr" ugens.  (I</div><div dir="ltr">actually thought that's how [line~] worked until I looked at the code.)</div><div dir="ltr"><br clear="none"></div><div dir="ltr">Btw-- does it cost anything significant to dereference x->x_inc inside the</div><div dir="ltr">while loop of line_tilde_perform?  Or is the compiler able to somehow</div><div dir="ltr">optimize that?</div><div dir="ltr"><br clear="none"></div><div dir="ltr">-Jonathan<br clear="none"></div><div><span></span></div>  <br clear="none"><div><br clear="none"><br clear="none"></div><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 dir="ltr"> <font face="Arial" size="2"> On Friday, October 2, 2015 11:36 AM, i go bananas <<a rel="nofollow" shape="rect" ymailto="mailto:hard.off@gmail.com" target="_blank" href="mailto:hard.off@gmail.com">hard.off@gmail.com</a>> wrote:<br clear="none"> </font> </div>  <br clear="none"><br clear="none"> <div><div><div>Hi, me again.  <div><br clear="none"></div><div>Thanks for the discussion.  It has really opened my eyes.  </div><div><br clear="none"></div><div>So, i got my naive c++ implementation of line~ basically working.  </div><div><br clear="none"></div><div>And of course, just running a for loop incrementing by ticks, i run into the exact precision error that this block quantizing seems to avoid.  My line from 0 to 100 over 44100 samples only gets to 99.93   </div><div><br clear="none"></div><div>So, i also need to add something like pd's block quantization to make sure my line goes all the way to the specified value.  </div><div><br clear="none"></div><div>My questions then are 2:  </div><div><br clear="none"></div><div>Is pd's method the way i should do it?  Or is there a better alternative?  </div><div><br clear="none"></div><div>And, if i do it the pd way, how does that work?  Does the increment get updated every block?   Or is it just the last block that is stretched?  </div></div></div><br clear="none"><br clear="none"></div>  </div> </div>  </div></div></div></div><br clear="none">_______________________________________________<br clear="none">
<a rel="nofollow" shape="rect" ymailto="mailto:Pd-list@lists.iem.at" target="_blank" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br clear="none">
UNSUBSCRIBE and account-management -> <a rel="nofollow" shape="rect" target="_blank" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br clear="none">
<br clear="none"></blockquote></div></div></div><br clear="none"><br clear="none"></div>  </div> </div>  </div></div></div></div></div></div></div><br><br></div>  </div> </div>  </div></div></body></html>