Play a wav file located on the liburbi platform This function tells the server to play a wav file that is located on the platform running the liburbiMatlab. The wav file is therefore sent through the network. The default device used is "speaker"
0001 function urbiPlayWavRemote(con, wavFile, deviceName) 0002 % Play a wav file located on the liburbi platform 0003 % This function tells the server to play a wav file that is located on the 0004 % platform running the liburbiMatlab. The wav file is therefore sent 0005 % through the network. 0006 % The default device used is "speaker" 0007 0008 if (nargin == 2) 0009 deviceName='speaker'; 0010 end 0011 0012 urbiSendWav(con, wavFile, deviceName);