Skip to content

Conversation

@hadi7546
Copy link

@hadi7546 hadi7546 commented Sep 5, 2025

Description

Since using pygame for audio playback significantly increased the program size and made development somewhat annoying, I completely removed this package and switched to GStreamer and GtkMediaFile.

The only current issue is the multiple audio channels being created; they need to be mixed.

Type of Change

  • Refactor
  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

@Revisto
Copy link
Owner

Revisto commented Sep 8, 2025

Thanks for the PR, Hadi. I would love to see PyGame gone as much as you do, but there is an issue. During testing, I found that the drum machine creates new playback streams for each sound instead of reusing one stream. This should be addressed to avoid cluttering the audio interface and potential performance issues.
image

@Revisto Revisto deleted the branch Revisto:dev December 21, 2025 22:15
@Revisto Revisto closed this Dec 21, 2025
@Revisto Revisto reopened this Dec 22, 2025
@Revisto Revisto changed the base branch from master to main December 22, 2025 18:31
@Revisto Revisto changed the base branch from main to dev December 22, 2025 18:35
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