# Oversampling Phase

**URL:** <https://iplug2.discourse.group/t/oversampling-phase/497>\
**Category:** Made with iPlug2\
**Created:** [2 November 2021 17:02 UTC](https://iplug2.discourse.group/t/oversampling-phase/497 "2021-11-02T17:02:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SKyZz](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@SKyZz](https://iplug2.discourse.group/u/SKyZz)\
**Post date:** [2 November 2021 17:02 UTC](https://iplug2.discourse.group/t/oversampling-phase/497/1 "2021-11-02T17:02:51Z")

</div>

```auto
            *in1 = mOverSampler.Process(*in1, [](double input1) {
              return std::tanh(input1);
              });
            *in2 = mOverSampler.Process(*in2, [](double input2) {
              return std::tanh(input2);
              });

```

I can’t understand why when switching X2-4-8-16-31 the phase is distorted… who has any ideas?

---

<div class="post-metadata">

**Author:** ![olilarkin](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/olilarkin/32/2_2.png) [@olilarkin](https://iplug2.discourse.group/u/olilarkin)\
**Post date:** [3 November 2021 09:18 UTC](https://iplug2.discourse.group/t/oversampling-phase/497/2 "2021-11-03T09:18:38Z")

</div>

I replied with the answer to the same thing you posted on KvR.

Please spend a bit more time studying the code, trying to understand, use the debugger etc, before posting on forums for help like this. It seems a bit lazy that you post this to both places, and makes me less inclined to help in the future.

---

<div class="post-metadata">

**Author:** ![olilarkin](https://yyz2.discourse-cdn.com/free1/user_avatar/iplug2.discourse.group/olilarkin/32/2_2.png) [@olilarkin](https://iplug2.discourse.group/u/olilarkin)\
**Post date:** [3 November 2021 09:19 UTC](https://iplug2.discourse.group/t/oversampling-phase/497/3 "2021-11-03T09:19:29Z")

</div>

see also

> [@\[Filters\] HP filter only works when the LP filter is activated](https://iplug2.discourse.group/t/filters-hp-filter-only-works-when-the-lp-filter-is-activated/475/3):
>
> Sorry. I won’t do it anymore…
