Sound files with 4 channels in MATLAB
3 次查看(过去 30 天)
显示 更早的评论
Dear,
When I try to read the handel.wav audio in MATLAB, I found that it is a mono (1 channel) sound (p=1).
Can you suggest please an audio with 4 channels. It means Its not mono or stereo. I have to fing p=4
采纳的回答
Rik
2023-1-31
S = load('handel');
new_y = repmat(S.y,1,4);
size(new_y)
Now you can no longer use the sound function, as that only supports mono and stereo.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!