Open samhocevar opened 1 year ago
The code no longer assumes Vorbis files are stereo (they may have up to 255 channels), which caused e.g. mono files to play at twice their speed.
The current strategy for files with more than 2 channels is to only play the first and last channels, and drop the rest.
Cool! I would like to include this in the new fork of Beep.
May I suggest to choose the channels in the following way depending on the available number of channels:
3+ channels: use the 1st and the 3rd channel
According to this and this the 1st and 3rd channels are the front left and front right channels.
The code no longer assumes Vorbis files are stereo (they may have up to 255 channels), which caused e.g. mono files to play at twice their speed.
The current strategy for files with more than 2 channels is to only play the first and last channels, and drop the rest.