th-ch / youtube-music

YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)
https://th-ch.github.io/youtube-music/
MIT License
7.09k stars 428 forks source link

[Bug]: Plugin Audio Compressor bug #1486

Closed inson1 closed 5 months ago

inson1 commented 7 months ago

Preflight Checklist

YouTube Music (Application) Version

3.0.2

What operating system are you using?

Windows

Operating System Version

Windows 10

What arch are you using?

x64

Last Known Working YouTube Music (Application) version

No response

Reproduction steps

If I have Plugin Audio Compressor on then audio starts sometimes to buzz (hope that its right word for that) and has worse audio

Expected Behavior

.

Actual Behavior

.

Enabled plugins

{
    "window-size": {
        "width": 1228,
        "height": 692
    },
    "window-maximized": true,
    "window-position": {
        "x": -108,
        "y": 224
    },
    "url": "https://music.youtube.com/watch?v=YJd9zc6l-_Y&list=OLAK5uy_k-SUp86xaaeRv4U4CP5tLzcI92tu8NiN0&index=0",
    "options": {
        "tray": true,
        "appVisible": true,
        "autoUpdates": true,
        "alwaysOnTop": false,
        "hideMenu": true,
        "hideMenuWarned": true,
        "startAtLogin": true,
        "disableHardwareAcceleration": false,
        "removeUpgradeButton": false,
        "restartOnConfigChanges": true,
        "trayClickPlayPause": true,
        "autoResetAppCache": false,
        "resumeOnStart": true,
        "likeButtons": "",
        "proxy": "",
        "startingPage": "Default",
        "overrideUserAgent": false,
        "themes": [],
        "language": "cs"
    },
    "plugins": {
        "adblocker": {
            "enabled": true,
            "cache": true,
            "blocker": "In player",
            "additionalBlockLists": [],
            "disableDefaultLists": false
        },
        "album-color-theme": {},
        "ambient-mode": {
            "enabled": false,
            "quality": 50,
            "buffer": 30,
            "interpolationTime": 1500,
            "blur": 100,
            "size": 100,
            "opacity": 1,
            "fullscreen": false
        },
        "audio-compressor": {
            "enabled": true
        },
        "blur-nav-bar": {
            "enabled": false
        },
        "bypass-age-restrictions": {
            "enabled": true
        },
        "captions-selector": {
            "enabled": false,
            "disableCaptions": false,
            "autoload": true,
            "lastCaptionsCode": ""
        },
        "compact-sidebar": {
            "enabled": false
        },
        "crossfade": {
            "enabled": false,
            "fadeInDuration": 1500,
            "fadeOutDuration": 5000,
            "secondsBeforeEnd": 10,
            "fadeScaling": "linear"
        },
        "disable-autoplay": {
            "applyOnce": false
        },
        "discord": {
            "enabled": false,
            "autoReconnect": true,
            "activityTimoutEnabled": true,
            "activityTimoutTime": 600000,
            "playOnYouTubeMusic": true,
            "hideGitHubButton": false,
            "hideDurationLeft": false,
            "listenAlong": true,
            "activityTimeoutEnabled": true,
            "activityTimeoutTime": 600000
        },
        "downloader": {
            "enabled": true,
            "selectedPreset": "mp3 (256kbps)",
            "customPresetSetting": {
                "extension": "mp3",
                "ffmpegArgs": [
                    "-b:a",
                    "256k"
                ]
            },
            "skipExisting": false
        },
        "exponential-volume": {
            "enabled": false
        },
        "in-app-menu": {
            "enabled": true,
            "hideDOMWindowControls": false
        },
        "last-fm": {
            "enabled": false,
            "api_root": "http://ws.audioscrobbler.com/2.0/",
            "api_key": "04d76faaac8726e60988e14c105d421a",
            "secret": "a5d2a36fdf64819290f6982481eaffa2"
        },
        "lumiastream": {},
        "lyrics-genius": {
            "romanizedLyrics": true,
            "enabled": true
        },
        "navigation": {
            "enabled": true
        },
        "no-google-login": {},
        "notifications": {
            "enabled": false,
            "unpauseNotification": false,
            "urgency": "normal",
            "interactive": true,
            "toastStyle": 1,
            "refreshOnPlayPause": false,
            "trayControls": true,
            "hideButtonText": false
        },
        "picture-in-picture": {
            "enabled": false,
            "alwaysOnTop": true,
            "savePosition": true,
            "saveSize": false,
            "hotkey": "P",
            "pip-position": [
                10,
                10
            ],
            "pip-size": [
                450,
                275
            ],
            "isInPiP": false,
            "useNativePiP": false
        },
        "playback-speed": {},
        "precise-volume": {
            "enabled": false,
            "steps": 1,
            "arrowsShortcut": true,
            "globalShortcuts": {
                "volumeUp": "",
                "volumeDown": ""
            }
        },
        "quality-changer": {
            "enabled": true
        },
        "shortcuts": {
            "enabled": true,
            "overrideMediaKeys": false,
            "global": {
                "previous": "",
                "playPause": "Ctrl+NumDec",
                "next": "Ctrl+Enter"
            },
            "local": {
                "previous": "",
                "playPause": "",
                "next": ""
            }
        },
        "skip-silences": {
            "onlySkipBeginning": false,
            "enabled": false
        },
        "sponsorblock": {
            "enabled": true,
            "apiURL": "https://sponsor.ajay.app",
            "categories": [
                "sponsor",
                "intro",
                "outro",
                "interaction",
                "selfpromo",
                "music_offtopic"
            ]
        },
        "taskbar-mediacontrol": {
            "enabled": true
        },
        "touchbar": {},
        "tuna-obs": {},
        "video-toggle": {
            "enabled": true,
            "hideVideo": false,
            "mode": "disabled",
            "forceHide": false,
            "align": "middle"
        },
        "visualizer": {
            "enabled": false,
            "type": "butterchurn",
            "butterchurn": {
                "preset": "martin [shadow harlequins shape code] - fata morgana",
                "renderingFrequencyInMs": 500,
                "blendTimeInSeconds": 2.7
            },
            "vudio": {
                "effect": "lighting",
                "accuracy": 128,
                "lighting": {
                    "maxHeight": 160,
                    "maxSize": 12,
                    "lineWidth": 1,
                    "color": "#49f3f7",
                    "shadowBlur": 2,
                    "shadowColor": "rgba(244,244,244,.5)",
                    "fadeSide": true,
                    "prettify": false,
                    "horizontalAlign": "center",
                    "verticalAlign": "middle",
                    "dottify": true
                }
            },
            "wave": {
                "animations": [
                    {
                        "type": "Cubes",
                        "config": {
                            "bottom": true,
                            "count": 30,
                            "cubeHeight": 5,
                            "fillColor": {
                                "gradient": [
                                    "#FAD961",
                                    "#F76B1C"
                                ]
                            },
                            "lineColor": "rgba(0,0,0,0)",
                            "radius": 20
                        }
                    },
                    {
                        "type": "Cubes",
                        "config": {
                            "top": true,
                            "count": 12,
                            "cubeHeight": 5,
                            "fillColor": {
                                "gradient": [
                                    "#FAD961",
                                    "#F76B1C"
                                ]
                            },
                            "lineColor": "rgba(0,0,0,0)",
                            "radius": 10
                        }
                    },
                    {
                        "type": "Circles",
                        "config": {
                            "lineColor": {
                                "gradient": [
                                    "#FAD961",
                                    "#FAD961",
                                    "#F76B1C"
                                ],
                                "rotate": 90
                            },
                            "lineWidth": 4,
                            "diameter": 20,
                            "count": 10,
                            "frequencyBand": "base"
                        }
                    }
                ]
            }
        }
    },
    "__internal__": {
        "migrations": {
            "version": "3.0.2"
        }
    }
}

Additional Information

No response

JellyBrick commented 5 months ago

The cause of this issue seems to be due to the way audio compressors work (they sometimes amplify noise).