<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Aliasing and high sampe rates.]]></title><description><![CDATA[<p>Anti aliasing is still a bit of a mystery to me. If my CPU is powerful enough, can I just run my patch at 96000 or even 192000 and put a 22kHz filter at the end? Or do I still need to filter between each audio process that could introduce aliasing?<br />
My patch is a modular synth with modules as follows: oscs, filters, EQ, wavefolding, FM.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13534/aliasing-and-high-sampe-rates</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 04:55:37 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/13534.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Jul 2021 06:38:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Aliasing and high sampe rates. on Wed, 07 Jul 2021 06:38:49 GMT]]></title><description><![CDATA[<p>Anti aliasing is still a bit of a mystery to me. If my CPU is powerful enough, can I just run my patch at 96000 or even 192000 and put a 22kHz filter at the end? Or do I still need to filter between each audio process that could introduce aliasing?<br />
My patch is a modular synth with modules as follows: oscs, filters, EQ, wavefolding, FM.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13534/aliasing-and-high-sampe-rates</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13534/aliasing-and-high-sampe-rates</guid><dc:creator><![CDATA[nuromantix]]></dc:creator><pubDate>Wed, 07 Jul 2021 06:38:49 GMT</pubDate></item><item><title><![CDATA[Reply to Aliasing and high sampe rates. on Thu, 08 Jul 2021 13:10:52 GMT]]></title><description><![CDATA[<p>anti-aliasing methods are required 1. when <strong>downsampling</strong> but 2. also when <strong>generating</strong> content.</p>
<p>you already got how about 1. works; as far as 2. applies, this of course is not always possible, but should be done whereever possible.</p>
<p>frequency filters do not suffer from too much aliasing, so you could leave that out for now.</p>
<p>but the generation of oscillators will often require to <strong>bandlimit</strong> the content.</p>
<p>do you use wavetables/harmonics/tri/saw and squarewaves? if yes, that is where you should begin with. once you only use bandlimited generators, most things work fine in a pure 44 khz circuit.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13534/aliasing-and-high-sampe-rates/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13534/aliasing-and-high-sampe-rates/2</guid><dc:creator><![CDATA[Obineg]]></dc:creator><pubDate>Thu, 08 Jul 2021 13:10:52 GMT</pubDate></item><item><title><![CDATA[Reply to Aliasing and high sampe rates. on Thu, 08 Jul 2021 13:19:05 GMT]]></title><description><![CDATA[<p>another part of the answer would be this:</p>
<p>upsampling does not <strong>avoid</strong> aliasing, it only makes it happen later.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13534/aliasing-and-high-sampe-rates/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13534/aliasing-and-high-sampe-rates/3</guid><dc:creator><![CDATA[Obineg]]></dc:creator><pubDate>Thu, 08 Jul 2021 13:19:05 GMT</pubDate></item><item><title><![CDATA[Reply to Aliasing and high sampe rates. on Thu, 08 Jul 2021 23:05:12 GMT]]></title><description><![CDATA[<p>Am I upsampling or downsampling if I generate the waveforms at 192kHz and stay in 192kHz until the actual physical DAC?</p>
<p>As well as ugly oscillators, I have FM and wavefolding and the resonance on the filters generates some high frequencies at times. So it gets pretty bad if I run the patch at 44.1</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13534/aliasing-and-high-sampe-rates/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13534/aliasing-and-high-sampe-rates/4</guid><dc:creator><![CDATA[nuromantix]]></dc:creator><pubDate>Thu, 08 Jul 2021 23:05:12 GMT</pubDate></item><item><title><![CDATA[Reply to Aliasing and high sampe rates. on Sat, 10 Jul 2021 15:24:57 GMT]]></title><description><![CDATA[<p>i am not a pd user but dont think you can work in 192 khz when the IO hardware does not support that.</p>
<p>you will more likely only have a part of your DSP running at a higher samplerate and not everything.<br />
that is pretty good practice to up- and downsample all the time and that is also what happens when you work in a DAW with a dozen of plug-ins in the same channel.</p>
<p>there are enough situations where you can downsample to save CPU, for example when you modulate 10 LFOs which each other - or when you analyze data for GUI presentation.</p>
<p>from 192 to 48... that would be &quot;down&quot;.</p>
<p>which means that before you &quot;enter&quot; 48 khz you will place a filter there which removes content over 24 Hz of frequency.</p>
<p>FM is a bitch, as soon as you use waveforms other than pure cosines or harmonics, calculating sidebands and spectral content is almost impossible for us normal mortals..</p>
<p>however with 192 khz you´d have more &quot;headroom&quot;; the path until a foldover frequency comes back down to 24 khz is 300% longer. <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
<p>if there are filters which can produce frequencies over nyquist, other than errors? i doubt it, but i dont guaranty this.</p>
<p>if you build your own biquad or ladder filter using + - *, loops and gates, you would typically upsample x2 - or give the user an option to do so -  and be fine.</p>
<p>for FIR it should not be required at all, unless i am mistaken.</p>
<p>and externals might already do it inside (at least comb~ for example), so in this case check that first.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13534/aliasing-and-high-sampe-rates/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13534/aliasing-and-high-sampe-rates/5</guid><dc:creator><![CDATA[Obineg]]></dc:creator><pubDate>Sat, 10 Jul 2021 15:24:57 GMT</pubDate></item><item><title><![CDATA[Reply to Aliasing and high sampe rates. on Sun, 11 Jul 2021 09:13:09 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/obineg">@Obineg</a> Thanks for the info. My hardware does go up to 192kHz. I definitely need to look at bandlimited ways of doing PWM and oscillator sync. But it seems like if I put a few lowpass filters at 22kHz in the signal chain whilst keeping the sample rate high throughout, it might be OK.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13534/aliasing-and-high-sampe-rates/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13534/aliasing-and-high-sampe-rates/6</guid><dc:creator><![CDATA[nuromantix]]></dc:creator><pubDate>Sun, 11 Jul 2021 09:13:09 GMT</pubDate></item></channel></rss>