Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Painfully loud, sudden, random "audio flashbangs" that happen whenever they feel #7098

Open
SalutanisOrkonus opened this issue Feb 11, 2024 · 8 comments
Labels

Comments

@SalutanisOrkonus
Copy link

Bug Summary

Sometimes out of nowhere, the program will just play this painfully loud and sudden bang sound (with reverb. without reverb it makes a loud click, at least in the export I tried doing just now), seems absolutely completely random. Can happen while making, and during export. this has happened for as long as I remember.

Steps to reproduce

???? I have no clue ill be honest, I'd say CPU or smth but this also has happened on old projects that dont take up much, so something with some effect maybe??? idk. feels like it primarily happens with any reverb, but I seriously have no idea.

Expected behavior

i can make a song without being given a heart attack

Actual behavior

im having my own normandy

Screenshot

not a screenshot but:
examp.zip
it's actually so randomly common on this one project I can't get an export without it

Affected LMMS versions

1.3.0-alpha.1.518+gdd53bec31 and every other version I've ever used, I've just been able to get a capture of it this time

@SalutanisOrkonus
Copy link
Author

obvious from the subject but very big audio warning on the included soundfiles

@sakertooth
Copy link
Contributor

Curious to see if #7100 fixes this? Might be something with the samples. Though, the drums do play throughout and the clicks seem to happen a bit randomly, so I'm not too sure. Mostly guessing here.

@TechnoPorg
Copy link
Contributor

I can't load your project on my end because I'm missing your specific VST plugins and samples. If it's not too much trouble, would you be able to create a minimum reproducible project that's self-contained? That would just help me see if I can replicate it on my end, and then we can narrow down the bug a bit more.

@SalutanisOrkonus
Copy link
Author

Vaporwave City - Copy.zip
happens maaybe less often in this one but definitely still happens
might happen more often when messing with properties? still definitely happens sometimes if you leave it playing though
This is an annoying thing to pinpoint cuz it happens seemingly when it feels usually

@TechnoPorg
Copy link
Contributor

You're right, this is going to be annoying to pinpoint... This is what your project looks like for me (I'm running master @ c205215), and I'm assuming the plugins are all the same now:
image
And yet I've left it playing for 5 minutes, then tried messing with the settings of all the various effects, and I'm still not able to get that bang to happen.

A couple more debugging questions I have:

  • What OS are you on?
  • What audio backend are you using? You can find that under Edit > Settings like so:
    image
  • Are you frequently maxing out your CPU or RAM when working with the file?
    Thanks :)

@SalutanisOrkonus
Copy link
Author

-Windows 10
-SDL (Simple DirectMedia Layer)
-No

@TechnoPorg
Copy link
Contributor

On Windows 11 with SDL, I'm still unable to reproduce this. I unfortunately don't have access to a Windows 10 test machine, and even if I did, I suspect the bug is something highly specific to your audio codec and software setup, which will make it a pain to debug.

@zonkmachine
Copy link
Member

@SalutanisOrkonus I don't know what's causing this but it's obviously something that causes large spikes in the audio. If there is a reverb unit after a spike it will go from a sudden tick to a thunder clap. A workaround is to insert some unit that clips the signal hard in front of the reverb. The lmms Waveshaper Effect has an option to clip the input. It will clip to +/- 1.0 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants