# Logic Pro X AU bypass noise issue

**URL:** <https://forum.juce.com/t/logic-pro-x-au-bypass-noise-issue/29444>\
**Category:** Audio Plugins\
**Created:** [September 15, 2018, 10:10am UTC](https://forum.juce.com/t/logic-pro-x-au-bypass-noise-issue/29444 "2018-09-15T10:10:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pflugshaupt](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/pflugshaupt/32/13206_2.png) [@pflugshaupt](https://forum.juce.com/u/pflugshaupt)\
**Post date:** [September 15, 2018, 10:10am UTC](https://forum.juce.com/t/logic-pro-x-au-bypass-noise-issue/29444/1 "2018-09-15T10:10:12Z")

</div>

My plugins produce unpleasant noises in Logic Pro X when bypass is enabled/disabled. Looking at the waveform it looks like some fading is going on, but it’s not correct and the fadeout gets cropped.

To figure out the issue I built the GainPlugin example, but it shows the same behavior in Logic. To reproduce, just feed a sine through the GainPlugin with gain 1.0 and then enable/disable bypass - nothing should happen, but a mixture of fades and cut off signals happens.

I tried playing with getTailTime(…) and getBypassParameter() but neither of those help.

However there are AUs that bypass in Logic without noise. For example all the built-in Apple AUs like AUFilter and friends.

Has anyone found out how to make JUCE plugins Logic bypass friendly? Is this maybe a “bug” in the Juce AU wrapper?

---

<div class="post-metadata">

**Author:** ![pflugshaupt](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/pflugshaupt/32/13206_2.png) [@pflugshaupt](https://forum.juce.com/u/pflugshaupt)\
**Post date:** [September 15, 2018, 10:48am UTC](https://forum.juce.com/t/logic-pro-x-au-bypass-noise-issue/29444/2 "2018-09-15T10:48:51Z")

</div>

Checking this with Apple AU Sample code I see it doesn’t happen there even when the plugin does absolutely nothing to support bypass. So I think the problem comes from some call during the PrepareToPlay() sequence that causes Logic to reset too much state. I already tried disabling all the PropertyChanged() msgs in the AU wrapper, but no luck so far.

The waveform on bypass enable looks like this:

 ![22](https://us1.discourse-cdn.com/flex026/uploads/juce/original/2X/9/90a52ff22445d0cd9dec984e69adee05e2ccff18.png)
