<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p><span style="font-family: verdana, geneva, sans-serif;">Hi Adam. Yes, to get a variable pulse duty on the audio output signal (without changing the pitch), the MCU sets the integrator charge/discharge ratio accordingly, keeping the period constant. Some readers may be confused because there are two "PWM" contexts here -- First there is the super-audio (16kHz or higher freq) PWM "carrier" signal (output from MCU pin) which sets the charge and discharge rate, hence integrator slope, hence determining the audio output frequency. Secondly, there is the audio pulse output signal (from the RS flip-flop). The duty of this pulse waveform can also be varied to modulate the timbre of the sound. This is the more familiar sense of the term "PWM" associated with synth oscillators.</span></p>
<p><span style="font-family: verdana, geneva, sans-serif;">MJB</span></p>
<div class="v1moz-cite-prefix">On 10/04/2024 12:48 pm, Adam (synthDIY) wrote:</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Michael, how do you implement traditional PWM on that kind of pulse wave? Is it dependent on the charge/discharge ratio?
<div> </div>
<div>A<br />
<div><br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div>On 9 Apr 2024, at 4:52 pm, M J Bauer via Synth-diy <a class="v1moz-txt-link-rfc2396E" href="mailto:synth-diy@synth-diy.org" rel="noreferrer"><synth-diy@synth-diy.org></a> wrote:</div>
<br class="v1Apple-interchange-newline" />
<div>
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<p><span style="font-family: verdana, geneva, sans-serif; font-size: 10pt;">Attn: Synth-DIY community...</span></p>
<p><span class="v1v1x193iq5w v1v1xeuugli v1v1x13faqbe v1v1x1vvkbs v1v1x1xmvt09 v1v1x1lliihq v1v1x1s928wv v1v1xhkezso v1v1x1gmr53x v1v1x1cpjm7i v1v1x1fgarty v1v1x1943h6x v1v1xudqn12 v1v1x3x7a5m v1v1x6prxxf v1v1xvq8zen v1v1xo1l8bm v1v1xzsf02u v1v1x1yc453h"> A while back (2022), I had an idea for an oscillator design which could be used in modular or hybrid synth's, but I have not yet tested the concept. The oscillator may be digitally controlled or voltage controlled, or both at once. I'm not sure if this technique has already been tried and proven. I haven't seen any evidence of it, so I would be grateful if anyone with a greater knowledge of the art can tell me if this is a novel idea, or a concept that has appeared before. (See attached summary.)</span></p>
<p><span class="v1v1x193iq5w v1v1xeuugli v1v1x13faqbe v1v1x1vvkbs v1v1x1xmvt09 v1v1x1lliihq v1v1x1s928wv v1v1xhkezso v1v1x1gmr53x v1v1x1cpjm7i v1v1x1fgarty v1v1x1943h6x v1v1xudqn12 v1v1x3x7a5m v1v1x6prxxf v1v1xvq8zen v1v1xo1l8bm v1v1xzsf02u v1v1x1yc453h">M.J. Bauer</span></p>
<div><span class="v1v1x193iq5w v1v1xeuugli v1v1x13faqbe v1v1x1vvkbs v1v1x1xmvt09 v1v1x1lliihq v1v1x1s928wv v1v1xhkezso v1v1x1gmr53x v1v1x1cpjm7i v1v1x1fgarty v1v1x1943h6x v1v1xudqn12 v1v1x3x7a5m v1v1x6prxxf v1v1xvq8zen v1v1xo1l8bm v1v1xzsf02u v1v1x1yc453h"> </span></div>
</div>
<span id="v1cid:E6C17364-E4B1-4953-AF18-CAF226A33D97"><PWM-controlled Oscillator concept.pdf></span>________________________________________________________<br />This is the Synth-diy mailing list<br />Submit email to: <a class="v1moz-txt-link-abbreviated" href="mailto:Synth-diy@synth-diy.org" rel="noreferrer">Synth-diy@synth-diy.org</a><br />View archive at: <a class="v1moz-txt-link-freetext" href="https://synth-diy.org/pipermail/synth-diy/" target="_blank" rel="noopener noreferrer">https://synth-diy.org/pipermail/synth-diy/</a><br />Check your settings at: <a class="v1moz-txt-link-freetext" href="https://synth-diy.org/mailman/listinfo/synth-diy" target="_blank" rel="noopener noreferrer">https://synth-diy.org/mailman/listinfo/synth-diy</a><br />Selling or trading? Use <a class="v1moz-txt-link-abbreviated" href="mailto:marketplace@synth-diy.org" rel="noreferrer">marketplace@synth-diy.org</a></div>
</blockquote>
</div>
</div>
</blockquote>
</body></html>