stemplayerplayer icon indicating copy to clipboard operation
stemplayerplayer copied to clipboard

Merge turning 24bit sources into 32 bit file

Open Maxi531 opened this issue 2 years ago • 4 comments

When merging the Stems, it seems that the Logic is turning 4 24bit source files into a 32bit file. I dont see how that would be possible without something weird going on. Furthermore V1.4 worked for me yesterday but today it didn't work anymore, even after reinstalling. V1.3 works for now, but still get the same result - 32bit final file Screenshot Eazy merged 32bit Screenshot Eazy 24bit Stems

Maxi531 avatar Mar 16 '22 16:03 Maxi531

This is the line that does the merging. The library used to accomplish this is PyDub. PyDub (at least according to its documentation) uses ffmpeg underneath to do most of its manipulation.

I tested this using stemplayerplayer version 1.4 (which, I had someone else report wasn't working as well? I just downloaded the most recent version I posted and it's just fine? Might ask you to do some debugging) and ffmpeg version 4.4.1. My results with wav files (which I JUST downloaded) merged 4 16-bit depth files (.wav files for Jail Pt. 2) into one 16-bit depth file. From what I can see, PyDub picks the bit-depth of the first audio file passed, so it may be that one of the stems has a 32-bit depth and they all get merged into just being 32-bit. That would be an error on Kanye's part.

Another alternative could be that ffmpeg could not like 24-bit files, but I doubt that to be the case.

Here's my results. image

nn9dev avatar Mar 17 '22 02:03 nn9dev

Update: i have no idea what is going on but yes i tried to merge 4 24-bit streams into one and it ended up 32-bit. I guess I'll try and do more research on this?

nn9dev avatar Mar 17 '22 02:03 nn9dev

Then would there be a way, to first convert the WAV Stems to 24Bit Flac and then merge them. From what I can read out of the documentation, the problem is WAV and not 24bit itself. Most people won’t want the pure WAV file anyway, so having an option that converts to Flac/Alac would be great.

Maxi531 avatar Mar 17 '22 07:03 Maxi531