Sound files with 4 channels in MATLAB
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Rik
am 31 Jan. 2023
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Audio I/O and Waveform Generation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!