Skip to content

Conversation

@samhocevar
Copy link

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.

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.
@MarkKremer
Copy link
Contributor

MarkKremer commented Oct 9, 2023

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:

  • 1 channel: use the channel for both Beep channels
  • 2 channels: keep as-is
  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants