I've changed the SWT1-3.zip program to allow frequencies up to 19khz as per my previous post, although my ears can only hear up to 11.5khz and my 19 year old son could hear up to 14.7khz. That was tested on the emulator through studio quality monitors, I don't know what frequencies the hardware/speakers in the devices are capable of outputting.
To have any chance of the output being usable at higher frequencies, you will probably need to use a sample rate of 44100.
I have also added input fields so you can be more accurate with input values, touch the displayed label to get the edit text.