<div dir="ltr"><div class="gmail_quote"><div>Hej Magnus,</div><div dir="ltr"><br></div><div dir="ltr">On Sat, 23 Jun 2018 at 16:24, Magnus Danielson <<a href="mailto:magnus@rubidium.dyndns.org" target="_blank">magnus@rubidium.dyndns.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>> is there any general consensus or preferred design choices regarding how<br>
> the phase of sawtooth waves and triangle waves should align with each<br>
> other and with oscillator sync?<br>
<br>
Ah, we havve been discussing this before, seems you can't stop thinking<br>
about it every once in a while</blockquote><div><br></div><div>I only design VCOs once in a while, that's probably why the list isn't flooded with these questions all the time. ;-)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> The attack of a tri/sine-based drum sound or synth sound should probably<br>
> start from a zero crossing.<br>
<br>
You should test around to see if you hear any audioble differences from<br>
different phases at the start of attack. This is relevant for brick-wall<br>
attacks, where is smooth attacks can be expected to make it meaningless.<br>
To test it, you can either trigger the actual attack by the through-zero<br>
of the oscillator, and then delay the actual attack differently to see<br>
if it is meaningful. This will however cause up to a cycle of delay of<br>
the sound, which may or may not be acceptable, so a better approach for<br>
a real synth would be to sync the oscillator hard to the attack, and<br>
vary the delay between attack and sync to see how it sounds. Either way,<br>
you should be able to patch things fairly quickly.<br></blockquote><div><br></div><div>No need to try those details - it's been practiced in drummachine design for 35 years. The audible differences from different start phases are huge, and waiting for up to a cycle in a 50 Hz bass drum is way too long for proper timing. What the world needs is a synced triangle oscillator starting at a zero-crossing. </div><div>Or put in other words:</div><div>All free-running and no sync makes the TR-909 a dull drummachine. 8-)</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> This could be reached in a couple of ways:<br>
> <br>
> - Is it really desired (from a usability perspective, not a circuit<br>
> design perspective) to have the synced sawtooth restart from the<br>
> endpoint and not the midpoint or quarter points? Does it matter in terms<br>
> of direct sound or audio-rate modulation?<br>
> An alternative restart point for the sawtooth would facilitate a<br>
> triangle restart from a zero crossing without having to change the<br>
> traditional phase alignment of saw & tri.<br>
<br>
It is only meaningful in a few contexts:<br>
<br>
1) Mixing of waveforms<br>
...<br>2) Waveshaping<br>
...<br></blockquote><div><br></div><div>I'd say it also makes a difference when it comes to linear FM, and even ordinary audio:</div><div><br></div><div>Synced sawtooth starting from its peak maximizes the DC offset in the resulting wave, which is a bad feature if the wave is used as an FM modulator, where it bends the pitch of the carrier. Or even when listening to it, through an amplitude envelope, where it creates a thump.</div><div><br></div><div>Synced sawtooth from the mid-ramp zero crossing creates a DC offset in the other direction.</div><div><br></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Synced sawtooth from<span> the quarter points (half the peak value) kind of minimizes the DC offset for short sounds of unknown exact duration.</span></span><br></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span><br></span></span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span>In general, short waveform snippets created both by sync and by random start/stop times in general tend to have problems with almost uncontrollable DC offset.</span></span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span><br></span></span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span>/mr</span></span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span><br></span></span></div></div></div>