It is easy to convert ASCII to wav, here is a very bodgy way to do it, but there are many pages on the web that describe it properly, do a google search, looking for the structure of wav files. I'll post separately on why I think you are doomed to failure.
Use this rather nasty Basic program to generate custom .wav files, then play them back using the Media Recorder. This generates a double, ramped, 1 or 2 kHz tone (can’t remember), which is lousy for testing, fine for what I want. If you need longer samples (you will) then increase the length of the source .wav in sound recorder, and modify the program. Obviously you need to start with a wav file long enough to contain your data, and to replace the loop that generates the tone with your ascci data.
ding.wav is used to generate a valid header as I couldn’t find the .wav file format.
Frequency accuracy is unknown, but probably ok .Voltage calibration will be unique to your system.
Good Luck
OPEN "ding.wav" FOR INPUT AS #1
OPEN "tone.wav" FOR OUTPUT AS #3
FOR m = 1 TO 128
i$ = INPUT$(1, #1)
PRINT m + k + j * 20 + 800 * i, i$, ASC(i$)
PRINT #3, i$;
NEXT m
FOR i = m TO 11598
f = 1000
c$ = STR$(INT(128 + (SIN(i / (11598 - m) * 2 * 3.142)) * (125 * SIN(i * f / 22050 * 6.28))))
'PRINT i, c$
IF VAL(c$) < 0 THEN c$ = STR$(1)
PRINT #3, CHR$(VAL(c$));
NEXT i
CLOSE
STOP
FOR i = 0 TO 11
FOR j = 0 TO 39
FOR k = 1 TO 20
i$ = INPUT$(1, #1)
PRINT m + k + j * 20 + 800 * i, i$, ASC(i$)
NEXT k
INPUT s$
CLS
NEXT j
NEXT i
CLOSE
STOP
Cheers
Greg Locock