AndyLandy / MakeMP3

A tool for creating an MP3 library from a lossless music collection with cue sheets
GNU General Public License v3.0
2 stars 1 forks source link

Add metadata item to force mono encoding on appropriate encoders #13

Open luxagen opened 6 years ago

luxagen commented 6 years ago

WavPack is incredibly good at spotting mono material and keeping the space overhead negligible, but I doubt the same is true of encoders like LAME, so I propose a new cuesheet metadata item:

CHANNELMODE {STEREO,SWAP,MONO,LEFT,RIGHT}

If the item is not specified, the original channel config should be encoded as usual, but if it is specified the audio data should be converted before encoding: STEREO: force stereo even if it requires expansion SWAP: as STEREO except that stereo sources swap their channels MONO: encode a single channel that's the mean of the two original channels LEFT: encode only the left RIGHT: encode only the right