Implements sound palette function

- Implements sound palette function and its two subtypes.