<< resume | Audio playback | soundsc >> |
sound(y) |
sound(y, Fs) |
sound(y, Fs, nBits) |
sound(y, Fs, nBits) |
column vector or m-by-2 matrix.
sample rate, a positive number, 8192 by default.
bit depth of sample values: 8, 16 (default), 24.
sound plays audio signal y to the speaker at sample rate of Fs hertz and uses nBits bits per sample.
signal = rand(2, 44100) - 0.5;
sound(signal, 44110, 16)
audioplayer, playblocking, soundsc.
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET