I went off a tangent and cleaned up my sound player/samples generator.
It is fully configurable and allows one to play sound clips from .wav files in an Apple II program.
From a otherwise very small program, it is able to play a 4kHz, ten seconds file from memory.
Maybe it will be of use to other people.
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.