No errors when loading sound file or attempting to play it, no sound either.

("nlsfx") + "temp.wav"

How weird I will continue working on it. A temporary WAV file is stored as c:\appdata\nlsfx\temp.wav (appdata is a hidden folder, i think) every time you press the play button (if the sound settings has been changed).

This script makes 44 sound files to use on a keyboard program. Be sure to place in a separate folder before you run it or you will have sound files all over everything. It starts with the key of C4, so it needs to be extended to produce the other 44 keys, to make a full key board. It also needs to be calibrated. Someone with a good ear for tones could do it, or someone with a frequency meter could do it. You would then have to adjust the Sample rate variable to the right number.

Adjust the a4 key to 440 cycles per second, and the whole batch should be on key.