Look up WAVSET and WAVSETA. I don't have much experience using them, so I can't tell you much about them. However, I do know you can use them to define sounds sourced from a string or data array (wave).