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
931 stars 154 forks source link

Feature Request: Add Pitch Shifting Capability to Pygame #3011

Open OlaKenji opened 3 months ago

OlaKenji commented 3 months 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 3 months ago

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