stemplayerplayer
stemplayerplayer copied to clipboard
Merge turning 24bit sources into 32 bit file
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
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.
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?
Update 2: ffmpeg handles 24-bit files, but stores them as 32-bit with padding.
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.