Solved the problem!
That's if Guffie is still interested as he's not been back since...
Is seems that you have to:
a) Make sure that you have to go to the Windows volume control and select Microphone as the current device.
b) Load the sound immediately after saving it.
The following code works fine now. The sound recording example in the help files does not.
sync on
True=1: False=0
CLS: Text 0,0,"R - Record New Wav P - Play S - Save"
Do
if Inkey$() = "r"
CLS: Text 0,0,"Recording for 5 seconds..."
record sound 1,5
Recording = True
Seconds = 0
T=Timer()
endif
if Inkey$() = "s"
If File Exist("C:\sound.wav") Then Delete File "C:\sound.wav"
save sound "C:\sound.wav",1
CLS: Text 0,0,"Recording Saved To C:\sound.wav Press P To Play"
Load sound "C:\sound.wav",1
endif
if Inkey$() = "p"
CLS: Text 0,0,"Playing Sound"
play sound 1
Repeat
Until Sound Playing(1)=0
CLS: Text 0,0,"R - Record New Wav P - Play Current Wav"
endif
If Recording = True Then Gosub SecTimer
sync
loop
SecTimer:
Elapsed = (Timer()-T)/1000
Text 200,0,"Elapsed (Secs): "+Str$(Elapsed)
If Elapsed = 5
Recording = False
CLS: Text 0,0,"Recording Ended - Press S To Save"
Endif
Return
TDK_Man