Hello,
I have build a captcha type of widget using SoX to generate a .wav
file. I am looking to make the interface a bit more full proof as
currently it just embeds the wav file as for example:
<embed bgcolor="white" height="16" type="audio/wav" src="tfp45.wav"
autostart="false">
The source file is generated from a python function using the
sub-process module, like:
subprocess.call(['sox'] + sox_filenames + \
['%s/%s' % (sound_output_path, (im_name + '.wav'))])
where the sox_filenames is a python list of .wav files.
Anyhow this is the background, you can see it in action at
http://uk.expert.travel - registration form.
I would like to replace the .wav player with a SWF button, so that if
a user clicks on it it will play the file.
Any advise much appreciated.
Thanks
Norman