urbiPlayWavLocal

PURPOSE ^

Play a wav file located on the server platform

SYNOPSIS ^

function urbiPlayWavLocal(con, wavFile,deviceName)

DESCRIPTION ^

 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"

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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 '");']);

Generated on Tue 20-Dec-2005 19:05:34 by m2html © 2003