c# - 如何在 C# 中将 midi 转换为 wav/mp3?

标签 c# wav midi

我开始了一个小项目,其中包括处理 MIDI 文件。我一直在想,是否有任何 C# 或 VB.Net 代码可以在 MIDI 和 WAV 文件之间转换?

最佳答案

您可以尝试以某种方式与 Timidity 进行交互,这是开源的:

TiMidity++ is a software synthesizer. It can play MIDI files by converting them into PCM waveform data; give it a MIDI data along with digital instrument data files, then it synthesizes them in real-time, and plays. It can not only play sounds, but also can save the generated waveforms into hard disks as various audio file formats.

FluidSynth是最近更新的类似的开源项目:

FluidSynth is a real-time software synthesizer based on the SoundFont 2 specifications.

您可以从 this list 上的网站下载一些免费的 SoundFonts(这些合成器用来“渲染”MIDI 文件的实际 PCM 数据) .

关于c# - 如何在 C# 中将 midi 转换为 wav/mp3?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1185392/

相关文章:

c# - 单元测试 WCF 契约(Contract)是否匹配同步/异步?

c# - 字符串值到变量

python - 如何使用 wavio 将双 channel wav 文件的每个 channel 分成两个不同的文件?还是另一个图书馆?

java - 从轨道中删除 MidiEvent 失败 - MIDI/Java

javascript - 在 Javascript 中模拟 MIDI 节拍时钟

c# - 类型 Microsoft.OData.Edm.Date 和 System.Nullable System.DateTimeOffset 之间没有定义强制运算符

c# - Visual Studio 2008 Intellisense for Events 自动插入

c++ - 使用 waveInOpen 保存波形文件

vb.net - 创建每个样本值具有任意位的WAV文件?

ios - 为什么我的多 channel 混音器在 iOS 8 中不再播放?