plotを使用して音声ファイルの波形を表示した際、音源によって1色のグラフと2色のグラフが描かれるのですが、それぞれ何が違うのか、また1色のグラフに直すにはどうしたらよいのか教えていただきたいです。
Show older comments
[y,Fs] = audioread(['filename'])
info = audioinfo('filename')
t = 0:seconds(1/Fs):seconds(info.Duration)
t = t(1:end-1)
plot(t,y)
xlabel('Time')
ylabel('Audio Signal')
Accepted Answer
More Answers (1)
Categories
Find more on Measurements and Spatial Audio in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!