#Playback quality in LMMS bad on nightly branch

1 messages · Page 1 of 1 (latest)

dim zodiac
#

Hi. I tried updating from Alpha to Nightly in November last year, but the sound quality was bad, so I downgraded back to alpha, assuming this nightly was just bugged. Seeing the new features I wanted to give it another shot. But the audio quality is still bad, so now I'm convinced it's some sort of upgrade to the audio playback that has an edge case that nobody else seems to have encountered.
Here are 2 videos. The one that starts with WACUP playback of the track is on the NIGHTLY I downloaded today, while the other one is on ALPHA 1.3

As you can hear, the LMMS playback sounds like it's being compressed for some reason. I tried changing the output library from SDL to any of the others, I tried messing with windows settings, but I haven't had any luck. I also tried basically all permutations of the SDL output settings.

I am using Windows 11 23H2
My headphone is a corsair virtuoso wireless xt (dongle wireless, not bluetooth. it's not a microphone issue, i tried restricting access to my microphone for all apps in windows settings and the quality was just as bad)

Any help is appreciated!

wintry tangle
fluid nebula
dim zodiac
#

Everything is set to 48000 hz stereo in both windows and lmms

#

As for removing microphone, I am not able to unplug all my microphones because one of them is built into my laptop. ( Asus vivobook 15 pro oled)

#

I am mostly perplexed how an issue like this could have started to appear between versions

fluid nebula
#

I want to try something real quick that you might want to test

Will be back soon

#

And also how are you playing the sound from LMMS? A sample clip?

dim zodiac
#

Which sound? sounds in that track are sample clips for beat/bassline, sample tracks for one-time effects, and vsts synth1 64bit and bassmidivsti hooked up to timbres of heaven v4.00 soundfont for instruments

fluid nebula
dim zodiac
#

Thats just an export of the entire project

fluid nebula
#

ohhh right right

dim zodiac
#

i wonder if it's sample specific though, because the bug does seem to be sort of dependent on the instrumentalisaion. there are other tracks where i can't hear a difference. i will send the samples that play during the portion in the videos

fluid nebula
dim zodiac
#

(no fx on any of them)

#

that's all the samples in that section

#

if this alone doesn't help narrow down the issue i can try assembling the project's instrument references after work and send the project file and the dependencies over. it'd just be a bit of a mess because there's like 18 instrument tracks lol

fluid nebula
dim zodiac
#

It'll be another few hours (6+) until I'll be able to test it, but I will try it later today.

dim zodiac
#

unfortunately the issue persists

#

this does only seem to affect in-daw playback at least, as an export sounds just as i would expect

dim zodiac
#

i tried spamming drums on the bassline because i thought there was some overlap between when the glitch happens and when the waveform in the header bar turns red. and, well, it might be?

i tried recording videos of it again, but they don't show it very well, because obs limits the volume of my recording. it's basically like the previous video, where the nightly is quieter and occasionally seems to be ducking in volume.
but what i found is that on the new version, the relevant spot is just quieter, so it kind of feels like there is some project-wide auto compression that's happening....
i tried raising the master volume slider to 200% and while on the alpha it clips and crackles and gets really loud, on the nightly there is no perceivable difference between 80% and 200%

wintry tangle
dim zodiac
#

I didnt even know that field existed

#

Why would it be different on nightly vs alpha when the project is identical?

wintry tangle
dim zodiac
#

no

#

it's not that the individual instrument is louder or quieter, it's something that affects the entire project when it's played in editor.

fluid nebula
#

It’s hard to say if the quality is different

The difference is faint if anything..

#

Have you tried using PortAudio? Since you said it doesn’t happen on export, so it might be the device, and that backend was recently refactored

dim zodiac
#

i tried using portaudio and it sounds very muddy

#

i won't have time to check anything today but i think it's only subtle because of my obs settings. on my end it's more noticable. i can try getting a higher quality video maybe tomorrow

#

when you mention the backend refactor, is that just PortAudio or also SDL or whatnot? if the latter, could you point me at a nightly version before the refactor as well? I'm down to try earlier nightlies around major changes to isolate what changes caused the issue

fluid nebula
#

Its just PortAudio currently

dim zodiac
#

hi, i had some time today

#

i recorded the segment on the alpha with volume set to 200%, then installed the build you sent earlier in this thread, then recorded with volume set to 200% again

#

here are the waveforms

#

(i also added extra snares)

#

here is the audio file (loud)

#

this should give a better impression of the difference than my obs recordings did

#

only beat and bassline is more subtle but there is a difference

#

here is another view of the same waveform where the "dark blue" is parts where the ALPHA has sound and the NIGHTLY does not. the other colors are various kinds of overlap.

#

same deal but for the "full mix" version of the waveform. a lot more blue in this one

#

here's just the drums. it's a lot more subtle of course. first half is alpha, second half is nightly.

#

oh, it's actually only more subtle because i made a mistake: i recorded the "alpha" version of the bassline at 100% master volume, while the "nightly" version was still set to 200% from the previous test. so the drums comparison should look more like this when both recordings are set to 200%

fluid nebula
dim zodiac
#

like, loading the export rather than recording the playback from the DAW into audacity?

#

how do i invert the alpha signal and sum it with the audio file? i'm not particularly fluent in audacity

fluid nebula
dim zodiac
#

ok i'll do that a few times for different configurations

#

i'll also still get recordings of the in daw playback because the bug is only audible to me in the in daw playback on nightly

#

i can mix them in different ways to see if that's correct

fluid nebula
#

Its kind of hard because the recording and export probably go through different signal chains so the sound may not be exactly identical

#

But if theres a huge difference we will know

dim zodiac
#

yeah, it's not, but the difference between DAW-Alpha and DAW-Nightly is what perplexes me

#

i'll get the data soon loading

fluid nebula
#

That would make more sense

dim zodiac
#

i've never had problems with alpha live playback

fluid nebula
#

I guess seeing a difference in quality

#

What I meant to say

dim zodiac
#

i suppose a more technically correct statement would be that the difference between the quality of the alpha live playback and the alpha live export has never been audible to me

#

oh wait i forgot to add the snares on nightly

#

ugh i should do this with just the bassline because the instruments i use have too much entropy

dim zodiac
#

ok

#

the difference between exports is minimal, the difference between lives is wonky, and the live vs export ones are mostly down to volume, although the nightly one is uneven because of the glitch

#

.... after this myriad checks i figure out that "export nightly" was at a different sample rate to all the others...
it's too late for today to do it all over again so i hope this suffices 🙏

fluid nebula
dim zodiac
#

I didnt mess with settings after upgrading/downgrading because the downgrade installation process is annoying since it resets all my folder paths because if i dont delete the settings file lmms refuses to open

#

So it's whatever the default is

#

Sdl

#

At the start of this thread i said though that i notice the issue regardless of my audio device output settings though. I tried every sdl sample rate before joining here, and PortAudio just sounded underwater, and i didnt get any output with other options

fluid nebula
dim zodiac
#

also export settings were like this in case that matters. i didnt touch anything basically

#

these menus are a bit confusing to me because they changed from the alpha. in alpha i always made sure to select "sinc best (slowest)" on export

fluid nebula
#

I was hinting at checking your Windows audio settings basically

#

Just to make sure

dim zodiac
#

oh

fluid nebula
dim zodiac
#

what are you looking for in audio settings?

fluid nebula
#

Just general stuff, volume and stuff are as expected and whatnot

dim zodiac
#

yea

#

i dont have my usual device connected right now as it's in my old apartment, but i remember double checking the settings in relation to this before

#

it's 48000Hz stereo and then the volume is normal. the settings dont change between me upgrading and downgrading

fluid nebula
#

Your LMMS sample rate is at 44100 Hz

#

Maybe match them up and see how it sounds?

dim zodiac
#

it sounds the same

#

it's one of the things i tried before making this thread

#

i can try again when i've got access to my headset again

fluid nebula
#

Hmm... Is there a way you can send the project?

dim zodiac
#

sec

#

this is just the parts that are needed for the comparison shenanigans i did the other day

#

when it comes to exporting the full project, it seems like a nightmare because of all the dependencies that can't be resolved/packaged automatically. but the audio is weird on this so it shoooould be enough?

#

i can hear the difference on my laptop speakers as well so i doubt it's just a thing for the audio output device

#

it's also here on 48000hz. the beat 1 just seems ducked compared to the export

fluid nebula
#

Pretty much sounds the same for me

#

Strange

#

Nothing seems wrong

dim zodiac
#

Huhh

#

Is it my laptop...?

#

But it's different in the audio files from last week right?

fluid nebula
dim zodiac
#

I'll look into things some more next time i have my headset...

dim zodiac
#

i'll have to delay the checks a bit because i've got a busy week without much time to dive into the issue ahead of me. wanted to give a heads up and just thank you for your help and patience so far though 🙏

dim zodiac
#

ok so i figured that it might be os specific so i installed debian on wsl to try and run the linux nightly build to see if it's any different, but after extracting the appimage im unable to run it because of error while loading shared libraries: libgpg-error.so.0: cannot open shared object file: No such file or directory

#

i dont know enough about linux to really go further than this. i tried downloading the file from online but the closest i got said that it's just a symlink to another file, so that's a dead end for me. couldn't find any sudo apt-get instructions for installing the nightly on the download page either, and i tried a couple combinations but it couldn't find a package. shrug

#

my other idea is to ask friends to try the test project to try and figure out some kind of commonality if it is OS/hardware dependent but after this whole adventure i dont have the energy for that today