Please note that the recommended version of Scilab is 6.0.0. This page might be outdated.
See the recommended documentation of this function
sound player facility
=playsnd(y) =playsnd(y,rate,bits [,command])
A matrix. Each line describes a channel
real number, sampling frequency (default value is 22050).
real number, number of bits (usually 8 or 16). Unused yet.
Only used on Unix systems it gives the name of the command to use for playing sound (wav) files. The default value is
play. If set
/dev/audiothen a 8 bits mu-law raw sound file is created and send to
Plays a multi channel signal given by a Scilab matrix were sound is sampled at rate given by
// a two channel signal y=loadwave("SCI/modules/sound/demos/chimes.wav"); playsnd(y)