Play a wav file located on the server platform This function tells the server to play a wav file that is located on the server computer. The default device used is "speaker"
0001 function urbiPlayWavLocal(con, wavFile,deviceName) 0002 % Play a wav file located on the server platform 0003 % This function tells the server to play a wav file that is located on the 0004 % server computer. 0005 % The default device used is "speaker" 0006 0007 if (nargin == 2) 0008 deviceName='speaker'; 0009 end 0010 0011 urbiSend(con, [deviceName '.play("' wavFile '");']);