Audio output gain problem

So I´m developing my very first vst plugin and so far it sounds good and works good but for some reason in Harrison Mixbus the output gain is uneven. The plugin is a headphone correction plugin and when correction is set to 0% and output is turned up a few db the left channel gets as much as 12db more of gain. If the correction is set to 100% and output gain is at 0db its even. I dont have this problem in Ableton there its even always no matter what. Harrison Mixbus is based on the Arduino daw. Does anyone experienced similar problems that only accours in one of you daw and especially arduino and how do I fix it? Thank you beforhand. best regards.

IIRC Harrison Mixbus has a saturation algorithm turned on by default, which is unusual for a DAW. (This might explain the different behavior with regards to volume levels.)

Yea that helps a bit, do you have a solution on how to make the plugin work in Mixbus, Since I have a ton of other plugins not having this problem and even other headphone calibration plugins not showing this artifact.

Since it’s your first plugin, there’s a big chance it’s a bug in your code that only happens to show up in that specific DAW. I would enable the various sanitizers to see if they catch anything.

So I got it to work properly in both Ableton and Mixbus and this was the problem.

Fixed Plugin Configuration Issues

I found two problems in the .jucer file that could confuse Mixbus:

Problem 1: Old-style pluginChannelConfigs=“{1, 1}, {2, 2}” was conflicting with our modern bus layout code (isBusesLayoutSupported()). This redundancy might have confused Mixbus about how to route channels.

Problem 2: pluginCharacteristicsValue had contradictory settings - it said “we want MIDI input” even though the plugin is configured NOT to accept MIDI. This could cause routing issues.

Fix: Removed the old channel config and set proper stereo characteristics: pluginIsStereo,pluginProducesStereoOut

Thank you for the help guys!

If you haven’t already, I’d highly recommend using the JUCE Audio Plugin Host or Pluginval to test the specific channel configurations. If those show ‘Green,’ then it’s almost certainly how Mixbus is interpreting your plugin’s bus requirements. Sometimes explicitly defining the channel mapping in the Projucer can fix these one-off DAW glitches.