pygame-community / pygame-ce

🐍🎮 pygame - Community Edition is a FOSS Python library for multimedia applications (like games). Built on top of the excellent SDL library.
https://pyga.me
822 stars 131 forks source link

Feature Request: Add Pitch Shifting Capability to Pygame #3011

Open OlaKenji opened 1 month ago

OlaKenji commented 1 month ago

I would like to suggest adding a pitch shifting capability to Pygame's audio module. This feature would allow one to dynamically adjust the pitch of sound effects and music.

As far I can see, Pygame does not have a built-in method for changing the pitch of a sound. While it is possible to achieve this using external libraries such as pydub or numpy, having native support in Pygame would greatly simplify the process and make this capability more accessible to developers.

bilhox commented 1 month ago

Hi, I believe it's worth to mention this : https://github.com/pygame-community/pygame-ce/issues/1246#issuecomment-2136012061