Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 NAudio 的 WaveViewer UI 控件来显示波形
this.customWaveViewer1.WaveStream = new NAudio.Wave.WaveFileReader(filename);
我想知道如何在它自己的 WaveViewer 中显示每个通道?
WaveViewer 是一个非常简单的如何显示波形的示例。如果你想要立体声,我建议复制它的源代码,并修改 OnPaint 方法以绘制两条线,一条用于左声道,一条用于右声道。