Feature #134
closedRemove the dependency on pygame
100%
Description
CocoMUD relies on Pygame to play sounds in the client, mainly for triggers. This is a bit extreme, as pygame is not light, makes the client heavier and slower to start, although once up it's running smoothly. There are other libraries that could play sounds. The only constraint being on playing both OGG and WAV files, and on playing different sounds at once, doubtless a lighter library can be found for this task.
Updated by Vincent Le Goff about 6 years ago
- Category changed from User interface to Customization
- Status changed from Open to In Progress
- % Done changed from 0 to 30
playsound seems to do the trick nicely. At a bonus, it supports WAV and MP3 file formats. But does it support OGG? The documentation says it "might" support other formats... which is not necessarily reassuring. To be tested on other platforms as well.
Updated by Vincent Le Goff about 6 years ago
pydub seems to be an interesting choice too. However, it has more dependencies (it's able to read more formats, to be sure, and do more things with them). The question is whether it will be possible to package this library... and if it will be a real improvement for CocoMUD.
Updated by Vincent Le Goff almost 6 years ago
- Status changed from In Progress to Closed
- % Done changed from 30 to 100
Pybass has been chosen, see Feature #140: Use another library to play sounds.
Please register to edit this issue
Also available in: Atom PDF Tracking page