Project

Profile

Help

Feature #140

closed

Use another library to play sounds

Added by Vincent Le Goff over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Customization
Sprint/Milestone:
% Done:

100%

Company:
-
Contact person:
-
Additional contact persons:
-

Description

In the past, CocoMUD used Pygame, a reasonable choice to play sound but much too powerful and heavy for this very simple task. The audio support in pygame also turned out to be not very extended. This all encouraged to find an easier and lighter alternative with more power.

For this new library, the basic requirements are as follow :

  • Ability to play at least WAV, MP3 and OGG file formats.
  • Ability to run on several platforms (though for the time being, CocoMUD only works well in Windows and is only partially ported on Linux).
  • Ability to work with Python 3 (new requirement, since we've moved to Python 3.6).
  • Optional ability to play sounds and keep a reference to them, so we can stop them (interrupting before the sound is over).
  • Optional ability to handle the volume on individual sounds (perhaps some other features might be a nice addition to CocoMUD itself).

Please post alternatives as feature comments below. If you feel like doing it, try to work on the library implementation in a separate branch (one branch per library), though discussing the library in advance is probably better.


Files

wx_ctrl_phoenix.py (21.6 KB) wx_ctrl_phoenix.py Vincent Le Goff, 12/01/2018 07:43 PM

Please register to edit this issue

Also available in: Atom PDF Tracking page