Skip to content

Instantly share code, notes, and snippets.

@ericfont
Created December 11, 2025 22:23
Show Gist options
  • Select an option

  • Save ericfont/c7210f1c93fbdb602eb06e1cca156de2 to your computer and use it in GitHub Desktop.

Select an option

Save ericfont/c7210f1c93fbdb602eb06e1cca156de2 to your computer and use it in GitHub Desktop.
hypothetical no-delay delta-modulation
Display the source blob
Display the rendered blob
Raw
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="748" height="356"><defs><linearGradient id="fNGNOdZCFGyr" x1="0px" x2="32px" y1="0px" y2="0px" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#807f7f"/><stop offset="1" stop-color="#6c936c"/></linearGradient></defs><g><rect fill="#000000" stroke="none" x="0" y="0" width="748" height="356"/><g transform="scale(1,1) translate(86,-30)"><g><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="283" y="106" text-anchor="start" dominant-baseline="central">export</text></g><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 304 144 L 304 120" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 96 112 L 96 97" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="10px" font-style="normal" font-weight="normal" text-decoration="normal" x="83" y="83" text-anchor="start" dominant-baseline="central">+2.5V</text></g><g><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="58" y="176" text-anchor="start" dominant-baseline="central">export</text></g><path fill="none" stroke="#7b847b" paint-order="fill stroke markers" d=" M 128 176 L 104 176" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><path fill="none" stroke="#7b847b" paint-order="fill stroke markers" d=" M 80 144 L 128 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="104" y="138" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#7b847b" paint-order="fill stroke markers" d=" M 80 144 L 80 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#7b847b" paint-order="fill stroke markers" d=" M 64 112 L 64 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 96 112 L 96 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#ffffff" paint-order="fill stroke markers" d=" M 80 144 L 64 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#7b847b" paint-order="fill stroke markers" d=" M 128 144 L 142 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#7b847b" paint-order="fill stroke markers" d=" M 128 176 L 142 176" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#01fd01" paint-order="fill stroke markers" d=" M 194 160 L 208 160" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 142 128 L 142 192 L 194 160 Z" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g><text fill="#c0c0c0" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="152" y="142" text-anchor="middle" dominant-baseline="central">-</text></g><g><text fill="#c0c0c0" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="152" y="176" text-anchor="middle" dominant-baseline="central">+</text></g><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 304 144 L 304 160" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="310" y="158" text-anchor="start" dominant-baseline="alphabetic"></text><g><path fill="none" stroke="#01fd01" paint-order="fill stroke markers" d=" M 208 160 L 224 160" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="normal" font-size="20px" font-style="normal" font-weight="normal" text-decoration="normal" x="229" y="166" text-anchor="start" dominant-baseline="alphabetic">D</text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 304 160 L 288 160" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="normal" font-size="20px" font-style="normal" font-weight="normal" text-decoration="normal" x="269" y="166" text-anchor="start" dominant-baseline="alphabetic">Q</text><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 304 224 L 288 224" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="normal" font-size="20px" font-style="normal" font-weight="normal" text-decoration="normal" x="269" y="230" text-anchor="start" dominant-baseline="alphabetic">Q</text><path fill="none" stroke="#ffffff" paint-order="fill stroke markers" d=" M 269 210 L 283 210" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 208 192 L 224 192" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 224 184 L 240 192 L 224 200 Z" stroke-linecap="round" stroke-miterlimit="10" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="normal" font-size="20px" font-style="normal" font-weight="normal" text-decoration="normal" x="229" y="198" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 224 144 L 288 144 L 288 240 L 224 240 Z" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><path fill="none" stroke="#56a956" paint-order="fill stroke markers" d=" M 208 192 L 208 195" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="198" y="207" text-anchor="start" dominant-baseline="central">CLK</text></g><path fill="none" stroke="#7b847b" paint-order="fill stroke markers" d=" M 592 208 L 592 336" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="598" y="278" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#738c73" paint-order="fill stroke markers" d=" M 16 112 L 1 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#808080" paint-order="fill stroke markers" d=" M 0.6600000000000001 112 A 16.66 16.66 0 1 1 0.6599916700006929 111.98334000277666" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#808080" paint-order="fill stroke markers" d=" M -26 112 L -25 110 L -24 108 L -23 106 L -22 105 L -21 105 L -20 105 L -19 106 L -18 108 L -17 110 L -16 112 L -15 114 L -14 116 L -13 118 L -12 119 L -11 119 L -10 119 L -9 118 L -8 116 L -7 114 L -6 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="-33" y="93" text-anchor="start" dominant-baseline="alphabetic">10kHz</text><path fill="none" stroke="#7b847b" paint-order="fill stroke markers" d=" M 128 336 L 288 336" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="208" y="330" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#7b847b" paint-order="fill stroke markers" d=" M 128 176 L 128 336" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="134" y="262" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#738c73" paint-order="fill stroke markers" d=" M 16 112 L 23 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#7b847b" paint-order="fill stroke markers" d=" M 57 112 L 64 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#808080" paint-order="fill stroke markers" d=" M 56.66 112 A 16.66 16.66 0 1 1 56.65999167000069 111.98334000277666" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#808080" paint-order="fill stroke markers" d=" M 30 112 L 31 110 L 32 108 L 33 106 L 34 105 L 35 105 L 36 105 L 37 106 L 38 108 L 39 110 L 40 112 L 41 114 L 42 116 L 43 118 L 44 119 L 45 119 L 46 119 L 47 118 L 48 116 L 49 114 L 50 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="27" y="93" text-anchor="start" dominant-baseline="alphabetic">1kHz</text><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="58" y="106" text-anchor="start" dominant-baseline="alphabetic">*</text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 512 144 L 526 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 512 176 L 526 176" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#7b847b" paint-order="fill stroke markers" d=" M 578 160 L 592 160" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 526 128 L 526 192 L 578 160 Z" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g><text fill="#c0c0c0" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="536" y="142" text-anchor="middle" dominant-baseline="central">-</text></g><g><text fill="#c0c0c0" stroke="none" font-family="sans-serif" font-size="14px" font-style="normal" font-weight="normal" text-decoration="normal" x="536" y="176" text-anchor="middle" dominant-baseline="central">+</text></g><path fill="none" stroke="#7b847b" paint-order="fill stroke markers" d=" M 592 208 L 592 160" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="598" y="190" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 352 144 L 408 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 440 144 L 496 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g transform="matrix(1,0,0,1,408,144)"><path fill="none" stroke="url(#fNGNOdZCFGyr)" paint-order="fill stroke markers" d=" M 0 0 L 2 6 L 6 -6 L 10 6 L 14 -6 L 18 6 L 22 -6 L 26 6 L 30 -6 L 32 0" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/></g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="414" y="134" text-anchor="start" dominant-baseline="alphabetic">10k</text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 496 144 L 512 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="504" y="138" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#7b847b" paint-order="fill stroke markers" d=" M 592 112 L 556 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#7b847b" paint-order="fill stroke markers" d=" M 556 124 L 556 100" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 512 112 L 548 112" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 548 124 L 548 100" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="542" y="98" text-anchor="start" dominant-baseline="alphabetic">1nF</text><path fill="none" stroke="#7b847b" paint-order="fill stroke markers" d=" M 592 112 L 592 160" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="598" y="142" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 304 144 L 314 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#807f7f" paint-order="fill stroke markers" d=" M 342 144 L 352 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#c0c0c0" paint-order="fill stroke markers" d=" M 314 128 L 314 160 L 342 144 Z" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><path fill="none" stroke="#7b847b" paint-order="fill stroke markers" d=" M 592 336 L 288 336" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="440" y="330" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 512 112 L 512 144" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="518" y="134" text-anchor="start" dominant-baseline="alphabetic"></text><path fill="none" stroke="#6c936c" paint-order="fill stroke markers" d=" M 512 176 L 512 191" stroke-linecap="round" stroke-miterlimit="10" stroke-width="3" stroke-dasharray=""/><g><text fill="#ffffff" stroke="none" font-family="sans-serif" font-size="12px" font-style="normal" font-weight="normal" text-decoration="normal" x="496" y="203" text-anchor="start" dominant-baseline="central">+2.5V</text></g><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 307 144 A 3 3 0 1 1 306.99999999995777 143.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 131 176 A 3 3 0 1 1 130.99999999995774 175.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 307 224 A 3 3 0 1 1 306.99999999995777 223.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 515 144 A 3 3 0 1 1 514.9999999999577 143.99998407846124 Z"/><path fill="#ffffff" stroke="none" paint-order="stroke fill markers" d=" M 595 160 A 3 3 0 1 1 594.9999999999577 159.99998407846124 Z"/></g></g></svg>
@ericfont
Copy link
Author

sim

image image image

@ericfont
Copy link
Author

try RC

unfortunately more interference:

Uploading image.png…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment