<div dir="ltr">We can all create any external we like i guess, but this is a matter of discussing the workings and the update/fix of internal/vanilla objects such as cos~ osc~ and tabosc4~<div><br></div><div>most of us we're surprised with this behaviour and think they should be updated/fixed. I personally strongly don't think it is reasonable to create new alternates in vanilla for this. </div><div><br></div><div>I do emphatically believe they should just be fixed and updated in the vanilla package of objects.<br><br>creating not known externals that are not part of any major package release and no one really knows about may not have significant impact... let us reason, Pd Extended is no more... this means that (more than ever) vanilla issues should be treated as vanilla issues and not as an issue that could have a workaround in an extended package or with an external...</div><div><br></div><div>Unless you're asking why miller isn't thinking about creating new objects. In which case only he could answer, but it is my understanding that vanilla is a very compact set of objects, and newer objects are not to pop up that easily, so don't expect it.</div><div><br></div><div>cheers</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-25 6:06 GMT-02:00 Simon Iten <span dir="ltr"><<a href="mailto:itensimon@gmail.com" target="_blank">itensimon@gmail.com</a>></span>:<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">why not just create a new object with correct symmetry and no dc? call it sin~ or cycle~ or whatever…<div>i don’t think a compromise is a good way.</div><div><br><div><div><div class="h5">On 25 Nov 2015, at 00:01, Robert Esler <<a href="mailto:robert@urbanstew.org" target="_blank">robert@urbanstew.org</a>> wrote:</div></div><div><blockquote type="cite"><br><div><div><div class="h5"><div style="word-wrap:break-word">Okay, here is a compromise.  What may be a fix, or a new feature.  It changes the oscillator to double precision, but costs a few more CPU cycles in the process.  This seems to keep things more accurate. Attached is the source and a compiled version for OS 10.10+ and this is the git repository if anyone is interested. <div>  But I still say let’s keep osc~ as is and just add the double precision as an alternative.  <br><div><br><div>
<div style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><a href="https://bitbucket.org/resler/osc2/overview" target="_blank">https://bitbucket.org/resler/osc2/overview</a></div><div style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><br></div><div style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">Best,</div><div style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">Rob</div><div style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"></div></div></div></div></div></div></div><span><osc2~.zip></span><div><div class="h5"><div style="word-wrap:break-word"><div><div><div><div style="font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"></div>
</div>
<br><div><blockquote type="cite"><div>On Nov 24, 2015, at 10:39 AM, Jonathan Wilkes <<a href="mailto:jancsika@yahoo.com" target="_blank">jancsika@yahoo.com</a>> wrote:</div><br><div><div><div style="background-color:rgb(255,255,255);font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:16px"><div>Does anyone have an example of a working patch that depends on the </div><div>current behavior?</div><div><br></div><div>-Jonathan</div> <br><div><br><br></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 size="2" face="Arial"> On Tuesday, November 24, 2015 9:52 AM, Alexandre Torres Porres <<a href="mailto:porres@gmail.com" target="_blank">porres@gmail.com</a>> wrote:<br></font></div>  <br><br> <div><div><div><div dir="ltr">> I<span style="font-family:verdana,sans-serif;font-size:12.8px">t's not that hard to add microscopic DC</span><div><span style="font-family:verdana,sans-serif;font-size:12.8px">> if that's what you want</span></div><div><span style="font-family:verdana,sans-serif;font-size:12.8px"><br clear="none"></span></div><div><span style="font-family:verdana,sans-serif;font-size:12.8px">I almost raised that up :) and it's easier than trying to fix it every time.</span></div><div><span style="font-family:verdana,sans-serif;font-size:12.8px"><br clear="none"></span></div><div><span style="font-family:verdana,sans-serif;font-size:12.8px">I've lived with osc~ for over a decade, but it's like I finally found its dirty secret bug. Had I not found it I'd still be ok with it, but had I found this it years ago I'd have brought it up and asked for a fix.</span></div><div><span style="font-family:verdana,sans-serif;font-size:12.8px"><br clear="none"></span></div><div><span style="font-family:verdana,sans-serif;font-size:12.8px">I think it's pushing it to compare legacy analog hardware with their signature sounds (which would mostly come down to filters, not sine waves) to an imprecise and easily fix digital code - it's not like it's the secret formula for digitally emulating the moog filter or something - it's just bad.</span></div><div><span style="font-family:verdana,sans-serif;font-size:12.8px"><br clear="none"></span></div><div><span style="font-family:verdana,sans-serif;font-size:12.8px">Don't be afraid of changes and fixes, not sure what children's book teach us that lesson, but there might or ought to be one.</span></div><div><span style="font-family:verdana,sans-serif;font-size:12.8px"><br clear="none"></span></div><div><span style="font-family:verdana,sans-serif;font-size:12.8px">cheers </span></div></div><div><br clear="none"><div>2015-11-24 3:18 GMT-02:00 Matt Barber <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:brbrofsvl@gmail.com" target="_blank">brbrofsvl@gmail.com</a>></span>:<br clear="none"><div><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:verdana,sans-serif">​Right, there are good reasons to want that behavior, but should it be the default in a program that aspires to be "deterministic"? ​It's not that hard to add microscopic DC if that's what you want, or add a tiny, tiny bit of low-pass-filtered noise to you oscillator to make it act more like acoustic gear.</div><div style="font-family:verdana,sans-serif"><br clear="none"></div><div style="font-family:verdana,sans-serif">The other thing is, Pd isn't only an audio application. The quality of an oscillator is context dependent, and "how does it sound" isn't always the most important consideration. "Can I predict how this will behave?" is the more important question much of the time.</div></div><div><div><div><br clear="none"><div>On Mon, Nov 23, 2015 at 11:31 PM, Robert Esler <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:robert@urbanstew.org" target="_blank">robert@urbanstew.org</a>></span> wrote:<br clear="none"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I think you just found one of the nuances I’m referencing.  Think of analog gear, none of the sinusoids are anywhere near perfect, yet we still like how they sound.  <br clear="none"><div>
<div style="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;word-wrap:break-word"><span>We’ve known about these issues of microscopic DC, phasing, etc of unit generators for a long time.   I recall an old pd thread explaining how [osc~] is working: </span><a rel="nofollow" shape="rect" href="http://music.columbia.edu/pipermail/music-dsp/2004-november/061991.html" target="_blank">http://music.columbia.edu/pipermail/music-dsp/2004-november/061991.html</a><div><div>Moreover, we’ve all lived with [osc~] for what, about 15-20 years?  It’s legacy code.    </div><div>     I’m probably being so adamant because I’ve been reading the "Ugly Duckling" to my daughter, but aren’t children’s stories also lessons in computer synthesis too?</div></div></div><div style="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;word-wrap:break-word"><br clear="none"></div>
</div><div><div>
<br clear="none"><div><blockquote type="cite"><div>On Nov 23, 2015, at 9:05 PM, Alexandre Torres Porres <<a rel="nofollow" shape="rect" href="mailto:porres@gmail.com" target="_blank">porres@gmail.com</a>> wrote:</div><br clear="none"><div><div dir="ltr">moreover, I really doubt there's any particular nuance that comes out of this... or that a fix would break it. All I know is that it's preventing FM patches from achieving stable waveforms as they should.</div><div><br clear="none"><div>2015-11-24 0:31 GMT-02:00 Matt Barber <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:brbrofsvl@gmail.com" target="_blank">brbrofsvl@gmail.com</a>></span>:<br clear="none"><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:verdana,sans-serif">I usually agree in cases like these, but a sinusoid oscillator with built-in DC is not the expected behavior in most any synthesis environment. Notice how everyone in this thread was genuinely surprised by this behavior.</div></div><div><br clear="none"><div><div><div>On Mon, Nov 23, 2015 at 9:20 PM, Robert Esler <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:robert@urbanstew.org" target="_blank">robert@urbanstew.org</a>></span> wrote:<br clear="none"></div></div><blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div style="word-wrap:break-word">I would call this more of a feature than a bug that needs fixing.  I would hope that [osc~] and [cos~] don't change, simply because many of us like these little nuances.<div>  If it is really bothersome then perhaps create a new version, but let’s not change a legacy object.  A simple “fix” might break someone else’s patch.</div><div><br clear="none"></div><div>Just my opinion,</div><div>-Rob<span><br clear="none"></span><div><div style="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;word-wrap:break-word"><br clear="none"><blockquote type="cite">Did you make it work in a patch? if so, can you share it? :)<br clear="none"><br clear="none">Maybe someone could work on a "fix" on the source and send it to miller,<br clear="none">perhaps this could be updated for the next version release (0.47).<br clear="none"><br clear="none">cheers<br clear="none"><br clear="none">2015-11-22 19:32 GMT-02:00 Matt Barber <<a rel="nofollow" shape="rect" href="mailto:brbrofsvl@gmail.com" target="_blank">brbrofsvl@gmail.com</a>>:<br clear="none"><br clear="none"><blockquote type="cite">Yeah, so all that really needs to be done is to force symmetry by copying<br clear="none">the 0-pi phase inverted to the pi-2pi phase + guard points for [tabosc4~].<br clear="none">I did that and it's been stable for 3.5 hours. It wouldn't be too hard to<br clear="none">fix this in the Pd source; it would be a marked improvement to [osc~] even<br clear="none">with the 512-pt table and linear interpolation.<br clear="none"></blockquote></blockquote></div>
</div>
<br clear="none"></div></div><br clear="none"></div></div><span>_______________________________________________<br clear="none">
<a rel="nofollow" shape="rect" href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br clear="none">
UNSUBSCRIBE and account-management -> <a rel="nofollow" shape="rect" href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br clear="none">
<br clear="none"></span></blockquote></div><br clear="none"></div>
</blockquote></div><br clear="none"></div>
</div></blockquote></div><br clear="none"></div></div></div></blockquote></div><br clear="none"></div>
</div></div></blockquote></div></div><br clear="none"></div></div></div><br><div>_______________________________________________<br clear="none"><a shape="rect" href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br clear="none">UNSUBSCRIBE and account-management -> <a shape="rect" href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br clear="none"></div><br><br></div>  </div> </div>  </div></div></div></div></blockquote></div><br></div></div></div>_______________________________________________<br><a href="mailto:Pd-list@lists.iem.at" target="_blank">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></div></div></div></blockquote></div><br></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" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>