plotを使用して音声ファイルの波形を表示した際、音源によって1色のグラフと2色のグラフが描かれるのですが、それぞれ何が違うのか、また1色のグラフに直すにはどうしたらよいのか教えていただきたいです。
古いコメントを表示
[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')
採用された回答
その他の回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Measurements and Spatial Audio についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!