%  Play a sound using the sound recorder
%
%  Version 3, 31/8-2001, by JAJ

function res = play (file_name)

%  Make the command for windows 95

%cmd=['!C:\WINDOWS\sndrec32.exe ',file_name,'.wav &'];

%  Make the command for windows Linux

%cmd=['!xmms ',file_name,'.wav &'];

%  Execute the command

%eval(cmd);
sonogram (file_name)

