Owning Class: audio
Requires: MathScript RT Module
sound(a)
sound(a, fs)
sound(a, fs, bits)
Plays the content of vectors.
| Name | Description |
|---|---|
| a | Specifies the content you want to hear. If a is a vector, LabVIEW plays the output on a single channel. If a is a matrix, LabVIEW plays the output on two channels, or in stereo sound. a is a vector or matrix of integers or real numbers. |
| fs | Specifies the sampling frequency. Valid values of fs are 8000, 11025, 22050, and 44100 Hz. fs is a scalar. |
| bits | Specifies the number of valid bits. bits is a positive integer. The default is 16. |