OpenSound is an API developed by 4Front Technologies. It is very well documented and used. A good example would be XMMS.