我怎样才能MIDI到WAV / MP3之间的转换在C#? [英] How can I convert between midi to wav/mp3 in c#?

查看:159
本文介绍了我怎样才能MIDI到WAV / MP3之间的转换在C#?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始一个小项目,其中包括与MIDI文件的工作。我一直在想,有没有peforms MIDI和WAV文件之间的施放任何C#或VB.Net代码?

I started a small project which includes working with MIDI files. I've been wondering, is there any C# or VB.Net code that peforms that cast between MIDI and WAV files?

推荐答案

您可以尝试以某种方式与接口胆怯,这是开源的:

You could try to somehow interface with Timidity, which is Open Source:

胆怯+ +是一个软件合成。它可以通过将它们转换为PCM波形数据播放MIDI文件;给它一个MIDI数据与数字仪表的数据文件一起,然后他们合成实时,和戏剧。它不仅可以播放声音,而且还可以保存产生的波形到硬盘作为各种音频文件格式。

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 more recently updated Open Source project in a similar vein:

FluidSynth是一个基于SoundFont音色2规格的实时软件合成器。

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

您可以下载一些免费的SoundFonts(中使用这些合成器渲染从此列表。

You can download some free SoundFonts (the actual PCM data used by these synthesizers to "render" the MIDI files) from the sites on this list.

这篇关于我怎样才能MIDI到WAV / MP3之间的转换在C#?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆