<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>codehop &#187; model15</title>
	<atom:link href="https://codehop.com/tag/model15/feed/" rel="self" type="application/rss+xml" />
	<link>https://codehop.com</link>
	<description>#code #art #music</description>
	<lastBuildDate>Mon, 23 Apr 2012 18:37:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>Oscillator Experiment Update: Piecewise Sine</title>
		<link>https://codehop.com/oscillator-experiment-update-piecewise-sine/</link>
		<comments>https://codehop.com/oscillator-experiment-update-piecewise-sine/#comments</comments>
		<pubDate>Fri, 01 Jun 2007 22:07:48 +0000</pubDate>
		<dc:creator><![CDATA[Jacob Joaquin]]></dc:creator>
				<category><![CDATA[the cosmos]]></category>
		<category><![CDATA[adamsomers]]></category>
		<category><![CDATA[analog]]></category>
		<category><![CDATA[csound]]></category>
		<category><![CDATA[digital]]></category>
		<category><![CDATA[distortion]]></category>
		<category><![CDATA[doktorfuture]]></category>
		<category><![CDATA[harmonicdistortion]]></category>
		<category><![CDATA[matrixsynth]]></category>
		<category><![CDATA[model15]]></category>
		<category><![CDATA[oscillator]]></category>
		<category><![CDATA[petergrenader]]></category>
		<category><![CDATA[piecewise]]></category>
		<category><![CDATA[planb]]></category>
		<category><![CDATA[sine]]></category>
		<category><![CDATA[synthesizer]]></category>
		<category><![CDATA[wavetable]]></category>

		<guid isPermaLink="false">http://www.thumbuki.com/20070601/oscillator-experiment-update-piecewise-sine.html</guid>
		<description><![CDATA[After matrixsynth.com picked up &#8220;My Sine Oscillator Experiment,&#8221; doktor future started a discussion about different ways of emulating analog oscillators in digital. Adam S mentioned that he thought the Plan B sine looked like a piecewise quadratic to him and &#8230; <a href="https://codehop.com/oscillator-experiment-update-piecewise-sine/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>After <a href="http://matrixsynth.blogspot.com/">matrixsynth.com</a> picked up &#8220;<a href="http://www.thumbuki.com/20070528/my-sine-oscillator-experiment.html">My Sine Oscillator Experiment</a>,&#8221; <a href="http://www.blogger.com/profile/03296063693804241211">doktor future</a> started a <a href="https://www.blogger.com/comment.g?blogID=17775202&#038;postID=6607874390477067660">discussion</a> about different ways of emulating analog oscillators in digital.  <a href="http://music.calarts.edu/~asomers/">Adam S</a> mentioned that he thought the Plan B sine looked like a piecewise quadratic to him and provided the following function:<br />
<blockquote>y=<br />
-(4/pi^2)[x &#8211; (pi/2)]^2+1, x from 0 to pi<br />
(4/pi^2)[x-(3pi/2)]^2-1, x from pi to 2pi</p></blockquote>
<p>After having checked it out in <a href="http://en.wikipedia.org/wiki/Grapher">grapher.app</a> myself, and confirmed it did look similar to the Plan B sine, I implemented this as a wave table in Csound.  See <a href="http://www.thumbuki.com/csound/files/outsideblogs/piecewise.csd">piecewise.csd</a>.</p>
<div id="postimage" class="right" style="width: 302px"><img src="http://www.thumbuki.com/images/Sine/SinePiecewisePlusPlanB.gif" width=300 height=200></div>
<p><b>Piecewise + Plan B Model 15</b></p>
<p>In this image, I have superimposed Adam&#8217;s recommended piecewise function over the Plan B&#8217;s <a href="http://www.ear-group.net/model_15.html">Model 15</a> sine wave.  As you can see, their contours are not quite identical, though very, very similar.</p>
<p>After listening to both waves side-by-side, the harmonic distortion in the piecewise sine example is a tad louder, and the frequencies are just slightly off.  At least to my ears.  However, I consider it to be a wonderful approximation of the Model 15.</p>
<div style="clear: both"></div>
<p><b>Oh, the Irony</b></p>
<p><a href="http://www.ear-group.net/who_are_we.html#P">Peter Grenader</a>, the principle designer at Plan B, has this written in his bio:<br />
<blockquote>&#8220;In 2001 , Peter returned to analog after a 22 year hiatus because he tired of trying to force digital instruments to behave in like manner.&#8221;</p></blockquote>
<p>I&#8217;m finding this whole discussion a bit humorous as the three of us are doing exactly this, trying to force digital instruments to sound like analog.  In this case, Mr. Grenader&#8217;s analog oscillator.</p>
]]></content:encoded>
			<wfw:commentRss>https://codehop.com/oscillator-experiment-update-piecewise-sine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
