obs-studio icon indicating copy to clipboard operation
obs-studio copied to clipboard

Expander produce "clicks" after attack event happens, after update from OBS v28 to v29

Open FelikZ opened this issue 2 years ago • 2 comments

Operating System Info

macOS 13.1

Other OS

M1 Pro

OBS Studio Version

Other

OBS Studio Version (Other)

29.0.0

OBS Studio Log URL

https://obsproject.com/logs/Dei5QTHkC3co7Vhi

OBS Studio Crash Log URL

No response

Expected Behavior

Expander does not produce extra "clicks" in sound

Current Behavior

Produces a "click" sound right after "Attack" happens

Steps to Reproduce

  1. Create similar expander config as attached, but configure threshold to "background noise level you have in the room"
  2. Monitor your voice input (in sound settings you can choose device to monitor OBS output)
  3. It should produce clicks

Sample config json and as screenshot:

            {
                "balance": 0.5,
                "deinterlace_field_order": 0,
                "deinterlace_mode": 0,
                "enabled": true,
                "flags": 0,
                "hotkeys": {},
                "id": "expander_filter",
                "mixers": 255,
                "monitoring_type": 0,
                "muted": false,
                "name": "Expander",
                "prev_ver": 469827585,
                "private_settings": {},
                "push-to-mute": false,
                "push-to-mute-delay": 0,
                "push-to-talk": false,
                "push-to-talk-delay": 0,
                "settings": {
                    "attack_time": 1,
                    "output_gain": 0.0,
                    "presets": "expander",
                    "ratio": 8.0,
                    "release_time": 400,
                    "threshold": -60.0
                },
                "sync": 0,
                "versioned_id": "expander_filter",
                "volume": 1.0
            },
image

Anything else we should know?

Used to work normally, until I have upgraded to v29 from v28.

If I disable expander, the issue disappears but I need expander for a reason :)

Also a sample audio file, where you can clearly hear "clicks".

v29 https://user-images.githubusercontent.com/1080269/211359822-479a6ce9-29a9-474a-a0e6-0098c8b5281f.mp4 v28.1.2 https://user-images.githubusercontent.com/1080269/211363567-eb5f860c-47af-4c7f-a730-49c416a713fa.mp4

FelikZ avatar Jan 09 '23 16:01 FelikZ

added v28 audio sample to compare. I have made rollback for now.

FelikZ avatar Jan 09 '23 16:01 FelikZ

Fixed here: https://github.com/obsproject/obs-studio/pull/8031

pkviet avatar Jan 09 '23 17:01 pkviet

@pkviet wow, thanks for such quick response! I will test it as soon as available.

FelikZ avatar Jan 09 '23 18:01 FelikZ

FYI i have a new PR which includes the fix. See #8121 for test builds

pkviet avatar Jan 22 '23 19:01 pkviet